Index Match Question
I am trying to auto populate training status from an active Training Tracking sheet and a Completed Training Tracking sheet into a 3rd sheet (Field Activity Tracker) using Index Match.
Individually, my formulas work great unless the {Location ID}@row column I am Indexing is blank (Still works, just matching a blank column on other side):
=INDEX({Training Requests / Tracking Range 3}, MATCH([Location ID]@row, {Training Requests / Tracking Range 1}, 0))
=INDEX({Completed Training Requests / Tracking Range 3}, MATCH([Location ID]@row, {Completed Training Requests / Tracking Range 2}, 0))
I need a way to combine the formulas to pull back a match from either sheet, deal with errors, and return blanks if the Location ID is blank.
I tried multiple variations of the following with no luck:
=IF(ISBLANK(IFERROR(INDEX({Training Requests / Tracking Range 3}, MATCH([Location ID]@row, {Training Requests / Tracking Range 1}, 0)), 0)), INDEX({Training Requests / Tracking Range 3}, MATCH([Location ID]@row, {Training Requests / Tracking Range 1}, 0)), INDEX({Completed Training Requests / Tracking Range 3}, MATCH([Location ID]@row, {Completed Training Requests / Tracking Range 2}, 0)))
TY!
Best Answer
-
Hey @CFT
Try this
IF([Location ID]@row<>"", IFERROR(INDEX({Training Requests / Tracking Range 3}, MATCH([Location ID]@row, {Training Requests / Tracking Range 1}, 0)), INDEX({Completed Training Requests / Tracking Range 3}, MATCH([Location ID]@row, {Completed Training Requests / Tracking Range 2}, 0))))
Does this do work for you?
Kelly
Answers
-
Hey @CFT
Try this
IF([Location ID]@row<>"", IFERROR(INDEX({Training Requests / Tracking Range 3}, MATCH([Location ID]@row, {Training Requests / Tracking Range 1}, 0)), INDEX({Completed Training Requests / Tracking Range 3}, MATCH([Location ID]@row, {Completed Training Requests / Tracking Range 2}, 0))))
Does this do work for you?
Kelly
-
Thank you! Works great.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!