Multiple Criteria

Steve 1962

Active Member
Joined
Jan 3, 2006
Messages
379
Office Version
  1. 365
Platform
  1. Windows
Hi

I am attempting to arrive at the answers in cells H4:J6 by using a formula (I think SUMPRODUCT is the answer but I'm having trouble). The raw data is located in three columns that are non-contiguous. I need the count of the items (from each of the two columns) which are allocated to the respective person.

Thanks

SH
Excel Workbook
ABCDEFGHIJ
1GeorgeDogDog
2GeorgeCatBird
3TomBirdBirdDogCatBird
4GeorgeDogDogGeorge612
5FrankCatCatTom217
6TomDogCatFrank140
7TomDogBird
8GeorgeBirdDog
9TomBirdBird
10TomBirdRat
11TomBirdRat
12FrankDogMice
13FrankCatRat
14GeorgeRatDog
15FrankMiceCat
16FrankRatMice
Sheet1
Excel 2007
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
In H4 and copy left and down:

Code:
=SUMPRODUCT(--($A$1:$A$16=$G4),--($C$1:$C$16=H$3)+($E$1:$E$16=H$3))
 
Upvote 0
Brilliant Kidwispa !!!!

Thanks very much for your quick and helpful reply. All good now.

Have a good weekend.

Steve
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,730
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top