Counting specific criteria within a Spreadsheet

Ben_Holmes

Board Regular
Joined
Mar 30, 2004
Messages
147
I have created a large spreadsheet.

And want to count the number of times where specific entries are put in 3 different columns.

I.e. I want the number of times within the spreadsheet where the entry in column A = 1 the entry in column B = "Sheffield" and the entry in column J ="issued" .

For this to be counted all 3 inputs must be present in the same row of the spreadsheet. I have tried to use Sum Product and Count If functions but can not do it.

Does anybody have any idea how I can do this?

Kind Regards

Ben
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Von Pookie

MrExcel MVP
Joined
Feb 17, 2002
Messages
13,686
This seems to work for me:
Book1
ABCDEFGHIJKL
11SheffieldissuedTotal:3
22Sheffieldother
31otherissued
41Sheffieldissued
51Sheffieldissued
Sheet1


Formula used:
=SUMPRODUCT(--($A$1:$A$5=1),--($B$1:$B$5="Sheffield"),--($J$1:$J$5="issued"))
 

Ben_Holmes

Board Regular
Joined
Mar 30, 2004
Messages
147
Thanks for the help this works fine - I dont know what I was doing wrong with the sum product function as I thought I had tried this - Thanks for showing me the light.

(y)
 

Forum statistics

Threads
1,148,397
Messages
5,746,460
Members
424,020
Latest member
LongDoo

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
Top