Index match or collect
HI Experts,
I try to set up a formula for below table.
Blue Part is on another sheet, and I would like to show the correct awbif article is the same and "Name" is "Kerstin" in the yellow marked column "awb new sheet".
I tried a few versions with Index and Match or collect, but without success.
Would be great if you could help me here.
Thanks in advance
Best Answers
-
Try something like this...
=INDEX(COLLECT({Source Sheet AWB Column}, {Source Sheet Article Column}, @cell = [Article New Sheet]@row, {Source Sheet Name Column}, @cell = "Kerstin"), 1)
-
We would use an IFERROR for that.
=IFERROR(INDEX(COLLECT({Source Sheet AWB Column}, {Source Sheet Article Column}, @cell = [Article New Sheet]@row, {Source Sheet Name Column}, @cell = "Kerstin"), 1), "")
Answers
-
Try something like this...
=INDEX(COLLECT({Source Sheet AWB Column}, {Source Sheet Article Column}, @cell = [Article New Sheet]@row, {Source Sheet Name Column}, @cell = "Kerstin"), 1)
-
Thanks a lot @Paul Newcome
it works great, one more question if you don't mind.
If no awb available for the search criteria I would like to have the cell empty instead of invalid value.
What do I need to add?
Thanks
-
We would use an IFERROR for that.
=IFERROR(INDEX(COLLECT({Source Sheet AWB Column}, {Source Sheet Article Column}, @cell = [Article New Sheet]@row, {Source Sheet Name Column}, @cell = "Kerstin"), 1), "")
-
Thanks a lot it's working :-)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67K Get Help
- 441 Global Discussions
- 154 Industry Talk
- 501 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 79 Community Job Board
- 512 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!