IF OR statements Assistance


Hi, I have two sheets that I am working from; the source and destination. On one sheet I have 2 different emails to work from and the source sheet only has 1 email to compare it to. Obviously, only 1 email from the source sheet has to match the only 1 email from the destination sheet. I.E. I am trying to create a formula where the 1 email from the source sheet is compared to either 1 of the 2 emails on the destination sheet but so far nothing is working.

This is the current formula I have: =IF(OR(VLOOKUP([Email 1]@row, {Source Sheet Email}, 1, false) <> "", VLOOKUP([Email 2]@row, {Source Sheet Email}, 1, false) <> ""), "Email Used", "No Email Used")

Except it seems when I use this formula it only checks for the first if statement and if it is false it just returns no match and doesn't execute the 2nd nested if statement.

Let me know if that makes sense.


  • markkrebs
    markkrebs ✭✭✭✭✭✭

    Hi Eden - Use index(match) formulas instead of Vlookup. Problem w Vlookup is when a column is moved the results gets jacked up.

    this will give you a start:

    =IFERROR(INDEX({New Sheet Range 1}, MATCH([Column11]@row, {New Sheet Range 1}, 0)), IFERROR(INDEX({New Sheet Range 2}, MATCH([Column11]@row, {New Sheet Range 2}, 0)), "bad email"))

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!