Consulting

Results 1 to 3 of 3

Thread: AND and OR formula into an IF

  1. #1

    AND and OR formula into an IF

    Hello everybody,

    Is it possible to integrate AND and OR formula into an IF formula? If, yes, can you please give me an example.

    Thank you by advance

  2. #2
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location
    Here: =IF(OR(AND(A1>10,B1="Yes"),AND(A1<10,C1="Monday")),"Hooray!","Booo!")
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

  3. #3
    Ok, thank you very much, I'll be able to simplify my workbook a lot then ;-)

    Thread solved

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •