if statements

mmode66

New Member
Joined
Aug 14, 2018
Messages
22
The green section of my formula is counting blanks as Tier 4 and some below the mark of Tier 1 are showing Tier 4.
Can anyone see an obvious error i may be missing?

=IF(AND($D5>=$N$6,$E5>=$N$7,$F5>=$N$8,$G8>=$N$9),"Tier 4",IF(AND($D5>=$M$6,$E5>=$M$7,$F5>=$M$8,$G5>=$M$9),"Tier 3",IF(AND($D5>=$L$6,$E5>=$L$7,$F5>=$L$8,$G5>=$L$9),"Tier 2","Tier 1")))
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
The green section of my formula is counting blanks as Tier 4 and some below the mark of Tier 1 are showing Tier 4.
Can anyone see an obvious error i may be missing?

=IF(AND($D5>=$N$6,$E5>=$N$7,$F5>=$N$8,$G8>=$N$9),"Tier 4",IF(AND($D5>=$M$6,$E5>=$M$7,$F5>=$M$8,$G5>=$M$9),"Tier 3",IF(AND($D5>=$L$6,$E5>=$L$7,$F5>=$L$8,$G5>=$L$9),"Tier 2","Tier 1")))

looks like that G8 may be G5
 
Upvote 0
That was it. It's still counting blanks as Tier 4 but that solved the incorrect formula issues for sure. Thank you.
 
Upvote 0
I would think since none are true it would return the "Tier 1" in the end of my formula.
Is there something about the blanks I'm not taking into account?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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