View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier[_3_] Roger Govier[_3_] is offline
external usenet poster
 
Posts: 2,480
Default Conditional formatting for data in 2 columns

Hi

Use Sumif instead
=SUMIF(Ethnicity_column,Ethnicity,Count_column)

--
Regards
Roger Govier

"ldenning" wrote in message
...
I need a formula that will calculate the number of contacts that I make
within a particular ethinicity. I have two columns, with the household
ethnicity in one column and then the number of contacts in that household
in
the second. What formula can I use count the total number of contacts
within
an ethnicity? I first tried the CountIf function, but realized that I was
only receiving a count of the instances of a particular ethnicity and not
the
actual number of contacts.