adding text to function results

15 pts.
Tags:
COUNTA
Microsoft Excel
Spreadsheets
TEXT
I am using a count function to create a total number (COUNTA(A1-A400) I want to add some test to display with the results so it reads 350 units. I have tried to nest the TEXT command but get an error
ASKED: April 2, 2008  3:34 PM
UPDATED: April 2, 2008  5:49 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Try: <b> =CONCATENATE( COUNTA(A1-A400), ” units”)</b>

Depending on what you need this for, you may also want to just keep the cell value as =COUNTA(A1-A400), but then format the cell so that it displays “units” after the number. To do this, right click on the cell, select “Format Cells…” and select a custom category. Enter in: <b>#” units”</b> (with the quotes) and hit OK. That way, the value of the cell will stay just a number — meaning you can easily use it as a value in other functions, for instance — but Excel will display ” units” after the number.

(Also, did you mean A1:A400 instead of A1-A400?)

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following