COUNTIFS trouble :((

workerbee2022

New Member
Joined
Oct 3, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
excel 2.PNG


I'm looking for a formula that if there is 1 or more "Yes" in coulmns G-J it will only count those once but will also count potential "Yes" in columns F, K, and L and 1 per "yes" for each of those columns. Ex. if column K was also a "Yes" and all other values remained the same, column M should show a value of 2. Thanks for your help!
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
How about
Excel Formula:
=SIGN(COUNTIFS(G7:J7,"Yes"))+SIGN((F7="yes")+COUNTIFS(K7:L7,"Yes"))
 
Upvote 0
How about
Excel Formula:
=SIGN(COUNTIFS(G7:J7,"Yes"))+SIGN((F7="yes")+COUNTIFS(K7:L7,"Yes"))
That worked perfectly! What if I have the same situation but the formula should only count 1 if there are "Yes" in 3 or more of columns G-J? Ex. if column K was "yes" and columns G-H were now "No". The formula should only yield 1. Let me know if this was confusing or I can explain further. Thank you so so much!!
 
Upvote 0
How about
Excel Formula:
=(COUNTIFS(G7:J7,"Yes")>=3)+SIGN((F7="yes")+COUNTIFS(K7:L7,"Yes"))
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,583
Members
449,089
Latest member
Motoracer88

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