COUNTIF Formulas with 48 different variations - simplify needed!

CD2017

New Member
Joined
Feb 21, 2017
Messages
33
Hello, I need to pull together a table of statistics in excel. I've used 48 COUNTIFS to count the entries I need but I was hoping somebody might be able to advise me how to do this with a more simplified formula.

The formula is: =COUNTIFS(Report!D:D,C5,Report!B:B,$D$4,Report!N:N,Trans_Description!$B$3)+COUNTIFS(Report!D:D,C5,Report!B:B,$D$4,Report!N:N,Trans_Description!$B$3)+COUNTIFS(Report!D:D,C5,Report!B:B,$D$4,Report!N:N,Trans_Description!$B$4)+.....COUNTIFS(Report!D:D,C5,Report!B:B,$D$4,Report!N:N,Trans_Description!$B$49)

The third criteria will be within this range: Trans_Description!$B$3:Trans_Description!$B$49

Is there a way I can specify a range of values as one of the criteria?

Any help would be appreciated!
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Excellent - thank you!

Hello again, is there a similar way to do this with SUMIFS formula?

The formula I have is:

=SUMIFS('mySS report_A'!G:G,'mySS report_A'!B:B,D29,'mySS report_A'!D:D,C30,'mySS report_A'!S:S,"USD",'mySS report_A'!N:N,Trans_Description_A!B3:B49)

Thanks!
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,975
Members
449,095
Latest member
Mr Hughes

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