Thread: Count question
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
galimi galimi is offline
external usenet poster
 
Posts: 210
Default Count question

=SUM(IF(A1:A5="Los Angeles",1,0))+SUM(IF(A1:A5="New York",1,0))

Press control-shift-enter to enter it as a formulaic array
--
http://HelpExcel.com




"Sung" wrote:

What is the formula to count from a column based on multiple criteria.

For example,

City

Los Angeles
Phoenix
Los Angeles
New York
Chicago
New York

so i would like a formula to return the total count of new york and los
angeles. In this example it would be 4.

Thanks