Formula assistance nested If's/or

Rockerdo

Board Regular
Joined
Aug 15, 2016
Messages
73
I can't seem to get this to work. Should be easy but I'm not getting the result I want

If $B18 is blank OR I enter a value of 0 in $E18 I want $G18 to be "No" otherwise $G18 will be the value that is in entered in $B18


Right now it works without out the layer of $E18. This works: =IF($B18="","No",$B18)

Adding the E18 test is just not working


The 0 seems to be hanging it up. $E18 can be blank or have a 0, or any number in it. I only want the No if B18 is completely blank or E18 has a 0 value. Since E18 can be blank I can't use a <1

Thank you in advance
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Using Functions IF along with OR will give you the desired result. With the OR Function, both items being evaluated are checked.

=IF(OR(ISBLANK(B18),E18=0),"No",B18)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,011
Members
452,374
Latest member
keccles

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