How do you use a blank in a formula in Excel - If a1 is blank

O

ottodesque

I have a formula =(IF(U7<100,"Fail","Pass") posted in cell T7 but if U7 is
blank T7 is populated with Pass. If U7 is blank I need T 7 to be blank as
well.
 
E

Eduardo

Hi

=if(U7="","",if(u7<100,"Fail","Pass))

If this was helpful please click yes, thanks
 
E

Elkar

You can do a nested IF function. Like:

=IF(U7="","",IF(U7<100,"Fail","Pass"))

The second IF is "nested" inside the FALSE portion of the first IF.

HTH
Elkar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top