IF(OR(Find Statement
Options
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
-
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" ) )
Answers
-
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" ) )
-
Thank you! @Sameer Karkhanis
Help Article Resources
Categories
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!