Formula Needed

drettmannc

New Member
Joined
Mar 15, 2017
Messages
10
Hi I need assistance with an if statement formula that looks at a row and if 4 or more of the cells in that row range that spans across multiple columns are equal to a value then the statement is true.

Attached is a screenshot of the data. Need the formula to go into N4 - if the value of 4 or more cells in the range F4-L4 is equal to "High" then the statement is true if not false.

Excel.png
 
Last edited:

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Try this:
Code:
=COUNTIF(F4:L4,"High")>=4
 
Upvote 0
How about
=COUNTIF(F4:L4,"High")>3

beaten2it again :(
 
Last edited:
Upvote 0
Thank you but I dont need to count I wanted to make the it so if the statement is true I wanted N4 to state "Yes" if false "No"
 
Upvote 0
Thank you but I dont need to count I wanted to make the it so if the statement is true I wanted N4 to state "Yes" if false "No"
I am guessing from your response that you didn't actually try the formula.
Try it out, and see what it returns (hint: it doesn't return the count!).
 
Upvote 0
Ahh I see now! Sorry about that used what you provided me, tweaked it, and got exactly what I needed. =IF((COUNTIF(F4:L4,"High")>=4),"Yes","No")
 
Upvote 0
Yes, you original request said "True/False", so that is how I wroite the original formula.
Basically, we just created a boolean expression that returns true (if the count is greater than or equal to 4) or false (if it does not).

Also, you want to be sure to try the formula first before saying it doesn't work.;)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,623
Latest member
Techenthusiast

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