Count Multiple criteria in a column across multiple worksheets

Clarka75

New Member
Joined
Apr 3, 2011
Messages
4
How to count multiple criteria in a column across multiple worksheets.

I have sheet1 that I want to rollup criteria from sheet2:sheet4. For instance in column D I want to count each "LI", "LS", "PS" and "AW" in the column across sheet2:sheet4 and put that total on sheet1 in a particular cell. Can this be done?

Thanks in advance for any assistance.
 

Some videos you may like

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
How to count multiple criteria in a column across multiple worksheets.

I have sheet1 that I want to rollup criteria from sheet2:sheet4. For instance in column D I want to count each "LI", "LS", "PS" and "AW" in the column across sheet2:sheet4 and put that total on sheet1 in a particular cell. Can this be done?

Thanks in advance for any assistance.

Enter the sheet names in A2:A4 on Sheet1 and name this range SheetList by means of the Name Box on the Formula Bar.

Let A6 house LI, A7 LS, A8 PS, and A9 AW.

In B6 enter and copy down:

=SUMPRODUCT(COUNTIF(INDIRECT("'"&SheetList&"'!D2:D400"),A6))
 

Clarka75

New Member
Joined
Apr 3, 2011
Messages
4
Thank you very much for the assistance! This will work for what I need to do.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,493
Messages
5,601,998
Members
414,490
Latest member
Rip181

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