If functions and count if functions

enoch0909

New Member
Joined
Mar 5, 2019
Messages
3
This is the formula that i have right now. =If(COUNTIF(M2:W2<6),"Rejected","Accepted") I can't seem to get it can anyone help me. What i am looking for is a formula that counts a range of cells that have numbers ranging from 1-10. Is there a way to have if m2:w2 is less than six to say it is rejected and if it is more than or equal to 6 it will accept it.
A1 M2 N2 O2 P2 Q2 R2 S2 T2 U2 V2 W2

Rejected 8 9 10 7 6 9 5 8 8 9 6
Accepted 10 9 10 9 7 9 8 10 9 8 8
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
This is the formula that i have right now. =If(COUNTIF(M2:W2<6),"Rejected","Accepted") I can't seem to get it can anyone help me. What i am looking for is a formula that counts a range of cells that have numbers ranging from 1-10. Is there a way to have if m2:w2 is less than six to say it is rejected and if it is more than or equal to 6 it will accept it.
A1 .............M2.. N2.. O2.. P2.. Q2.. R2.. S2.. T2.. U2.. V2.. W2..

Rejected .....8..... 9 .....10....7.....6.......9.....5.....8.......8......9......6
Accepted 10........9......10....9.....7.......9.....8....10......9......8......8
 
Upvote 0
Try:

=IF(COUNTIF(M2:W2,"<6"),"Rejected","Accepted")

This will show Rejected if there are any values less than 6, otherwise Accepted.
 
Upvote 0
Try:
Code:
[TABLE]
<colgroup><col width="380"></colgroup><tbody>[TR]
   [TD="width: 380"]=IF(COUNTIF(M2:W2,[COLOR=#ff0000]"<6"[/COLOR]),"Reject","Accepted")
[/TD]
 [/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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