If and Statement

sjuhl99

New Member
Joined
Jul 28, 2017
Messages
29
I have 2 columns of Data, G8 and H8. I am trying to say if G8 > 25% than Supply Review or if H8 > 100% than Demand Review, or if G8 is >25% AND H8 >100% then "Demand and Supply Review", Else "No review Needed" and can't seem to capture the whole formula. Please help




=IF(H8>100%,"Demand Review Needed",IF(G8>25%,"Supply Review Needed",IF(AND(G8>=25%,H8>100%),"Demand and Supply Review")))
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Perhaps try a different order, like this

=IF(AND(G8>=25%,H8>100%),"Demand and Supply Review", IF(G8>25%,"Supply Review Needed", IF(H8>100%,"Demand Review Needed","Neither")))
 
Upvote 0
=IF(AND(G8>0.25,H8>1),"Demand and Supply Review",IF(G8>0.25,"Supply Review",IF(H8>1,"Demand Review","No Review Needed")))
 
Upvote 0
Or perhaps a little boolean logic

=CHOOSE(((G8>25%)+((H8>100%)*2))+1, "No Review", "Supply Review", "Demand Review", "Supply and Demand Review")
 
Upvote 0
One more quick question, If I wanted to populate future months with no data, is there an Ifblank addition I need to make so the conditions do not populate?
 
Upvote 0
Hi

Guessing that in the above you'd be thinking if both G8 and H8 were blank then return nothing, copied down to row 9 for the next month and so on...?

=IF(AND(H8="", G8=""), "", your formula)
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

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