Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Query - Count based on 2 columns 1

Status
Not open for further replies.

Jock1970

Technical User
Jun 3, 2003
43
GB
Hi Guys,
I'm sure this must have been asked on here before but my search didn't reveal any similar questions.

I need to count how many records have certain criteria in 2 columns e.g. how many records have the word "Church" in Column A AND the number "1" in Column E. I can't see how to double up the 'Countif' function to achieve this

I can get round the problem by creating an extra column which joins the data from Column A and Column E and then a single 'Countif' works but there must be another way.

Regards,

Jock

 
Thanks Kenwright,

that's exactly what I wanted !

Cheers,

Jock
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top