Index/Match, Collect, or Vlookup
I am trying to pull dates over from another sheet and matching on a unique value that is present in both sheets. However, the source sheet has the same unique value repeated multiple times and I want to return the date that IS populated.
1) {Schedule - DRL CMP WEQ Range 3} : this is the source range that contains the data I need populated in the target sheet
2) [E_ID]@row: This is what I am matching on in the target sheet (unique identifier highlighted in yellow)
3) {Schedule - DRL CMP WEQ Range 2}: This is the range where the unique identifier is in the source sheet
Index/Match: =INDEX({Schedule - DRL CMP WEQ Range 3}, MATCH([E_ID]@row, {Schedule - DRL CMP WEQ Range 2}, 0)). This formula matches on the first instance of the match and returns the blank cells (orange highlight). I need to return the dates that are the green highlights.
I'm thinking a collect formula might be the answer but I can't seem to get it to work.
Thanks!
Best Answer
-
I would suggest an INDEX/COLLECT.
=INDEX(COLLECT({Schedule - DRL CMP WEQ Range 3}, {Schedule - DRL CMP WEQ Range 3}, @cell <> "", {Schedule - DRL CMP WEQ Range 2}, @cell = [E_ID]@row), 1)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
I would suggest an INDEX/COLLECT.
=INDEX(COLLECT({Schedule - DRL CMP WEQ Range 3}, {Schedule - DRL CMP WEQ Range 3}, @cell <> "", {Schedule - DRL CMP WEQ Range 2}, @cell = [E_ID]@row), 1)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
That worked! Thank you Paul!
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 210 Industry Talk
- 441 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 300 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!