davidlachnicht
New Member
- Joined
- May 10, 2004
- Messages
- 26
Accoridng to Microsoft Excel Help, the following formula should work:
=SUM(IF(B5:B25="Northwind",IF(C5:C25="Western",1,0)))
This should report the number of occurances where a row contains Northwind in column B -and- Western in column C.
I tried it exactly - it doesn't work.
Cut and paste from Excel Help:
>> Count the occurrences of multiple conditions
>> In the following formula, whenever Excel finds "Northwind" in the range
>> B5:B25, it then checks for the text "Western" in the same row in
>> column C (the range C5:C25). Excel then calculates the number of
>> rows that contain both.
>>
>> =SUM(IF(B5:B25="Northwind",IF(C5:C25="Western",1,0)))
=SUM(IF(B5:B25="Northwind",IF(C5:C25="Western",1,0)))
This should report the number of occurances where a row contains Northwind in column B -and- Western in column C.
I tried it exactly - it doesn't work.
Cut and paste from Excel Help:
>> Count the occurrences of multiple conditions
>> In the following formula, whenever Excel finds "Northwind" in the range
>> B5:B25, it then checks for the text "Western" in the same row in
>> column C (the range C5:C25). Excel then calculates the number of
>> rows that contain both.
>>
>> =SUM(IF(B5:B25="Northwind",IF(C5:C25="Western",1,0)))