• 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.

IF AND OR Statement

Cammandk

Member
I just can't get this to be excepted. Brain blank

If I19 = "E" and V19 = "U" or "P" then U19 otherwise 0

=IF(AND($I19="E",IF(OR($V19="U",$V19="P"),$U19,0)

Thanks
DK
 
CammandK

You are almost there;

=IF(AND($I19="E",OR($V19={"U","P"})),$U19,0)

or

=IF(AND($I19="E",OR($V19="U",$V19="P")),$U19,0)

Take care

Smallman
 
Back
Top