COUNTIFS multiple items in the criteria.

fayo2009

New Member
Joined
Apr 10, 2017
Messages
27
Office Version
  1. 365
Platform
  1. Windows
Hello

I need help with my formula. The result is only counting Part type(Electrical)- $B$2 and ignoring the rest of the part type.

Supplier namePart TypePayment statusParts name
RedElectricalpaidASUMPRODUCT(COUNTIFS('Data '!$E:$E,$A$2:$A$3,'Data '!$I:$I,$B$2:$B$4,'Data '!$J:$J,$C$2,'Data '!$N:$N,$D5))
GreenPlumbingA
TilingA
A
A
A
A
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Share an XL2BB mini sheet to understand the scenario. They way you have shared, can't judge the column and rows
 
Upvote 0
How about
Excel Formula:
=SUM(COUNTIFS('Data '!$E:$E,$A$2:$A$3,'Data '!$I:$I,TOROW($B$2:$B$4),'Data '!$J:$J,$C$2,'Data '!$N:$N,$D5))
 
Upvote 1
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,410
Messages
6,124,752
Members
449,186
Latest member
HBryant

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