ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Need help w/ easy COUNTIF (https://www.excelbanter.com/excel-discussion-misc-queries/37807-need-help-w-easy-countif.html)

CampFriendNeedsHelp

Need help w/ easy COUNTIF
 
Hello,

I have a formula to calculate COUNTIF on a data range.

MY QUESTION: Is it possible to have the cell say:

MALE 5
5


Thank you!!!

CampFriendNeedsHelp

sorry...it cut off my words, can I have it say Male 5 instead of just a
number for labeling purposes? Is there a way to tell the formula a name/term
to use?

Thanks!

"CampFriendNeedsHelp" wrote:

Hello,

I have a formula to calculate COUNTIF on a data range.

MY QUESTION: Is it possible to have the cell say:

MALE 5
5


Thank you!!!


Dave Peterson

="Male " & countif(...)
is one way.

Another way is to Format|Cell|number tab|custom category:
"Male " #,##0

Then the cell looks pretty, but the value inside that cell is still a number.


CampFriendNeedsHelp wrote:

sorry...it cut off my words, can I have it say Male 5 instead of just a
number for labeling purposes? Is there a way to tell the formula a name/term
to use?

Thanks!

"CampFriendNeedsHelp" wrote:

Hello,

I have a formula to calculate COUNTIF on a data range.

MY QUESTION: Is it possible to have the cell say:

MALE 5
5


Thank you!!!


--

Dave Peterson


All times are GMT +1. The time now is 12:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com