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
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!