IF(OR(Find Statement


I am trying to build a formula that searches in a column for a certain word using FIND( and I would like to add OR to that. I am using this formula and it is working fine:

=LEFT([Address]@row, FIND("TZ", [Address]@row) - 1)

I would like to add FIND("GZ" so that it returns either after finding "TZ" or "GZ"

Thank you!

Best Answer

  • Sameer Karkhanis
    Sameer Karkhanis ✭✭✭✭✭✭
    edited 08/24/22 Answer ✓

    May not be the best approach but can serve the purpose,

    =IF(FIND("TZ", [Address]@row) > 0, LEFT([Address]@row, FIND("TZ", [Address]@row) - 1) ,
        IF(FIND("GZ", [Address]@row) > 0, LEFT([Address]@row, FIND("GZ", [Address]@row) - 1), "No Match"


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!