• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Simple IF

Hi
I tired but no luck
An if statement that states:
if A5 = "Yes" then show "Print screen Needed"
if A5 = "No" then show "No Print screen Needed"
if A5 = is bank - then show "Please Select an Option"

thanks
 
Hi ,

Try this :

=IF(A5 = "" , "Please select an option" , IF(A5 = "YES" , "Print screen needed" , IF(A5 = "NO" , "No print screen needed" , "Invalid input , please select from YES , NO")))

Narayan
 
Hi ,

How are you entering data in A5 ? Is it just the two letters N and O or is there any leading or trailing space character ?

If you upload your workbook , it is a matter of a minute or two.

Narayan
 
Try this:

=IF(TRIM(A5) = "" , "Please select an option" , IF(TRIM(A5) = "YES" , "Print screen needed" , IF(TRIM(A5) = "NO" , "No print screen needed" , "Invalid input , please select from YES , NO")))
 
Back
Top