![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 1
|
I have a spreadsheet that tracks test data I am using the countif fuction but I now need to figure how many males passed and how many females passed and this information is in two different columns.When I write countif()+Countif() it adds the two and I want the number of males that passedno both combined.
|
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
|
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Calgary, Alberta Canada
Posts: 2,065
|
consider =SUMPRODUCT((C49:C52="Male")*(E49:E52="Passed")) -revise the 2 ranges to reflect your data - assumes word "Male" is in Column C - assumes word "Passed" is in ColumnE |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|