Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have data in letter form: M=male and F= female. I have tried SUMIF but cant
get a total of aal the "M"s or"F"s in a column.What am I doing wrong as the help pages dont ma ke it clear? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
COUNTIF, not SUMIF
From help for SUMIF: "Microsoft Excel provides additional functions that can be used to analyze your data based on a condition. For example, to count the number of occurrences of a string of text or a number within a range of cells, use the COUNTIF function. To have a formula return one of two values based on a condition, such as a sales bonus based on a specified sales amount, use the IF function." -- David Biddulph "ElGordo" wrote in message ... I have data in letter form: M=male and F= female. I have tried SUMIF but cant get a total of aal the "M"s or"F"s in a column.What am I doing wrong as the help pages dont ma ke it clear? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Try this =COUNTIF(A1:A20,"m") =COUNTIF(A1:A20,"f") Mike "ElGordo" wrote: I have data in letter form: M=male and F= female. I have tried SUMIF but cant get a total of aal the "M"s or"F"s in a column.What am I doing wrong as the help pages dont ma ke it clear? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use Countif instead of Sumif.
Hope that this is what you are looking for€¦ Assume that you are having the Gender details in A Column. A COL M F M F M M F M =COUNTIF(A:A,"M") =COUNTIF(A:A,"F") If this post helps, Click Yes! -------------------- (Ms-Exl-Learner) -------------------- "ElGordo" wrote: I have data in letter form: M=male and F= female. I have tried SUMIF but cant get a total of aal the "M"s or"F"s in a column.What am I doing wrong as the help pages dont ma ke it clear? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditionally summing data from two columns depending on their value. | Excel Worksheet Functions | |||
summing columns if there is data | Excel Worksheet Functions | |||
summing data in several columns | Excel Discussion (Misc queries) | |||
summing columns | Excel Worksheet Functions | |||
Summing Columns | Excel Worksheet Functions |