Countifs Question

TMILJVIPM

Board Regular
Joined
Aug 6, 2011
Messages
72
Guys,

I need help with a countifs formula. In column G I need to recognize multiple items and on column J only if they are "onsite"



Here is the formula im using now:
=COUNTIFS('Opp ID - 50200'!$G$4:$G$180,"pipefitter",'Opp ID - 50200'!$J$4:$J$180,"Onsite")

But I need it to rcognize multiple crafts in column G. ex. pipefitter, mechanical A, Mechanical B, Mechanical Lead

I hope I explained this good enough.

Thanks.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Last edited:
Upvote 0
Guys,

I need help with a countifs formula. In column G I need to recognize multiple items and on column J only if they are "onsite"



Here is the formula im using now:
=COUNTIFS('Opp ID - 50200'!$G$4:$G$180,"pipefitter",'Opp ID - 50200'!$J$4:$J$180,"Onsite")

But I need it to rcognize multiple crafts in column G. ex. pipefitter, mechanical A, Mechanical B, Mechanical Lead

I hope I explained this good enough.

Thanks.
Use cells to hold the criteria:

A1 = pipefitter
A2 = mechanical A
A3 = mechanical B
A4 = Mechanical Lead
B1 = Onsite

Then:

=SUMPRODUCT(COUNTIFS('Opp ID - 50200'!$G$4:$G$180,A1:A4,'Opp ID - 50200'!$J$4:$J$180,B1))
 
Upvote 0

Forum statistics

Threads
1,214,590
Messages
6,120,421
Members
448,961
Latest member
nzskater

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