Cell needs to be blank if False

Odlaw72

New Member
Joined
Mar 12, 2019
Messages
3
Hi I have a nested formula but I am not able to get a blank cell if none of the parameters are met?

I have attached a picture and the formula is below.

=IF(AND(C2<=4,D2<=4),"NUISANCE",IF(AND(C2>=5,D2<=4),"EXPLOITABLE",IF(AND(C2<=4,D2>=5),"DEVELOPMENT",IF(AND(C2>=5,D2>=5),"CORE",""))))


Thank you in advance.
 

Some videos you may like

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

mrshl9898

Well-known Member
Joined
Feb 6, 2012
Messages
1,639
=if(and(c2="",d2=""),"",if(and(c2<=4,d2<=4),"nuisance",if(and(c2>=5,d2<=4),"exploitable",if(and(c2<=4,d2>=5),"development",if(and(c2>=5,d2>=5),"core","")))))
 

Michael M

Well-known Member
Joined
Oct 27, 2005
Messages
19,763
Office Version
  1. 2016
  2. 2013
  3. 2007
Platform
  1. Windows
AN Or statement at the beginning will fix that AND you don't nned the last IF statement

Code:
=IF(OR(C2="",D2=""),"",IF(AND(C2<=4,D2<=4),"NUISANCE",IF(AND(C2>=5,D2<=4),"EXPLOITABLE",IF(AND(C2<=4,D2>=5),"DEVELOPMENT","CORE"))))
 

Watch MrExcel Video

Forum statistics

Threads
1,123,088
Messages
5,599,664
Members
414,325
Latest member
kfg1287

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
Top