IF with INDEX / MATCH
Hi. I use INDEX/MATCH regularly, but want to add an "IF" statement and am getting #UNPARSEABLE, and would like your help.
I'd like to pull the "F Name" from Sheet 2 into Sheet 1, when the "Info Level" in Sheet 2 = "Primary".
This formula returns #UNPARSEABLE:
=IF({Sheet 2 Info Level Range} = "Primary"), INDEX({Sheet 2 F Name Range}, MATCH([Customer #]@row, {Sheet 2 Customer # Range}, 0))
Thanks in advance for your help!
Mary
Best Answer
-
It sounds like you need an INDEX/COLLECT.
=INDEX(COLLECT({Name Range}, {Customer Range}, @cell = [Customer #]@row, {Level Range}, @cell = "Primary"), 1)
Answers
-
It sounds like you need an INDEX/COLLECT.
=INDEX(COLLECT({Name Range}, {Customer Range}, @cell = [Customer #]@row, {Level Range}, @cell = "Primary"), 1)
-
Oh my goodness!!! Wonderful! Amazing. Thank you!
-
Happy to help. 👍️
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
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!