Index formula with an or statement
Hi there -
I am hoping to build a formula that indexes 2 separate sheets (Design and Design 2). I unfortunately do not have a way to create a helper column for these 2 sheets, but i'd like to be able to pull in the store ID # based on the store name.
=INDEX({Design Store ID}, MATCH([Store Name]@row, {Design Store Name}, 0) OR(INDEX({Design 2 Store ID}, MATCH([Store Name]@row, {Design 2 Store ID}, 0))
Best Answer
-
Hi @aecross,
You can use an IFERROR to search Design 2, if the value doesn't appear in Design sheet.
=IFERROR(INDEX({Design Store ID}, MATCH([Store Name]@row, {Design Store Name}, 0)), INDEX({Design 2 Store ID}, MATCH([Store Name]@row, {Design 2 Store ID}, 0)))
Thanks,
Aravind GP| Principal Consultant
Atturra Data & Integration
M: +61493337445
E:Aravind.GP@atturra.com
W: www.atturra.com
Answers
-
Hi @aecross,
You can use an IFERROR to search Design 2, if the value doesn't appear in Design sheet.
=IFERROR(INDEX({Design Store ID}, MATCH([Store Name]@row, {Design Store Name}, 0)), INDEX({Design 2 Store ID}, MATCH([Store Name]@row, {Design 2 Store ID}, 0)))
Thanks,
Aravind GP| Principal Consultant
Atturra Data & Integration
M: +61493337445
E:Aravind.GP@atturra.com
W: www.atturra.com
-
Thank you, @AravindGP! That did the trick!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!