Index/Collect - OR

KLo_
✭✭
I currently have this formula working to return the Store number that is Type - TRH.
=INDEX(COLLECT({Copy of Construction-Checklist STORE NUMBER}, {Copy of Construction- TYPE 3}, "TRH"), Number@row)
How can I create a formula to return the store number that is EITHER type: "TRH", OR "B33" OR "JAG"?
Best Answer
-
You would use an OR function like so:
=INDEX(COLLECT({Copy of Construction-Checklist STORE NUMBER}, {Copy of Construction- TYPE 3}, OR(@cell = "TRH", @cell = "B33", @cell = "JAG")), Number@row)
Answers
-
You would use an OR function like so:
=INDEX(COLLECT({Copy of Construction-Checklist STORE NUMBER}, {Copy of Construction- TYPE 3}, OR(@cell = "TRH", @cell = "B33", @cell = "JAG")), Number@row)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 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!