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
-
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
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!