Getting excel to ignore blank cells when using IF AND function

Rachel541

New Member
Joined
Jul 25, 2018
Messages
3
Hi

This is my function, but I need it not to calculate anything when one of the cells is blank (either E11 or G11). How would I do this please?

=IF((AND(E11<=50, G11="Proficient")), "Yes", "No")

Thanks!
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Welcome to the Board!

Try nesting IF statements, i.e.:
Rich (BB code):
=IF(OR(E11="",G11=""),"",IF(AND(E11<=50, G11="Proficient"), "Yes", "No"))
 
Last edited:
Upvote 0
Try this: - it will put a blank if either is blank: =IF(OR(ISBLANK(E11),ISBLANK(G11)),"",IF((AND(E11<=50, G11="Proficient")), "Yes", "No"))
 
Upvote 0
Sorry, could you also help with this one please? Tried adapting the ones you'd posted before and I obviously did something wrong.

=IF((OR(G4="deficient", I4="Yes")), "Yes", "No")
 
Upvote 0
OK This should do it: =IF(OR(ISBLANK(i4),ISBLANK(G4)),"",IF((OR(G4="deficient", I4="Yes")), "Yes", "No"))
 
Last edited:
Upvote 0
Morning,
Please can you assist, i have a formula that cannot get it not to show information in the blank cells.
=IF($E2>$F2;$L2-$G2+5;IF($E2<F2;"Recess Front";"Correct"))
 
Upvote 0
Hi,

As this thread is over 2 & half years old, you should open a new thread/post.
With limited description of your question, I'm guessing maybe this:

=IF(OR($E2="";$F2="");"";$E2>$F2;$L2-$G2+5;IF($E2<F2;"Recess Front";"Correct")))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

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