View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ms-Exl-Learner Ms-Exl-Learner is offline
external usenet poster
 
Posts: 506
Default Summing data in columns

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?