INDEX MATCH #INCORRECT ARGUMENT SET
I'm attempting to pull data from secondary sheets to the primary sheets using this formula:
=INDEX({Supervisor Alert - 1st Response}, MATCH(Name@row, {Supervisor Alert - 1st Name}, Created@row, {Supervisor Alert - 1st Date}, 0))
Formula result should be:
Talked with Op, talking with Maint about proper settings to train/post at line.
What am I missing?
Primary sheet:
Created column is created date
Secondary sheet:
Date column is created date
Best Answer
-
Thank you!
Changed to:
=IFERROR(INDEX(COLLECT({Supervisor Alert - 1st Response}, {Supervisor Alert - 1st Name}, Name@row, {Supervisor Alert - 1st Date}, Created@row), 1), "")
Formula works! 😀
Answers
-
MATCH only allows for a match in a single column. If you need to match across multiple columns (name and date for example), you would use an INDEX/COLLECT.
=INDEX(COLLECT({Range To Pull From}, {1st Criteria Range}, 1st criteria, {2nd Criteria Range}, 2nd criteria), 1)
-
Thank you!
Changed to:
=IFERROR(INDEX(COLLECT({Supervisor Alert - 1st Response}, {Supervisor Alert - 1st Name}, Name@row, {Supervisor Alert - 1st Date}, Created@row), 1), "")
Formula works! 😀
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!