Text into Numeric values?

L

levtweeney

Hi All Bg:)

I have a column that has either "Male" or "Female" text populating the
cells.

Is there a formula that can count all "Male" cells and give me a final
total for males and final total for females?

Please see attached file

Many thanks

Kevin


+-------------------------------------------------------------------+
|Filename: Gender.xls |
|Download: http://www.thecodecage.com/forumz/attachment.php?attachmentid=175|
+-------------------------------------------------------------------+
 
S

Shane Devenshire

Hi,

=COUNTIF(A1:A100,"Female")
=COUNTIF(A1:A100,"Male")

adjust the range to match yours.
 
S

Simon Lloyd

levtweeney;408817 said:
Hi All Bg:)

I have a column that has either "Male" or "Female" text populating the
cells.

Is there a formula that can count all "Male" cells and give me a final
total for males and final total for females?

Please see attached file

Many thanks

KevinIf you want them on the same line:
="Males: " & COUNTIF(A1:A20,"Male") & " Females:" &
COUNTIF(A1:A20,"Female") of course change your range for your actual
range


--
Simon Lloyd

Regards,
Simon Lloyd
'The Code Cage' (http://www.thecodecage.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top