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
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 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!