Index Match with multiple results using Textjoin

bhsoundman

New Member
Joined
Jul 17, 2010
Messages
35
Office Version
  1. 365
Platform
  1. MacOS
Hi Everyone,

Thanks in advance for any help I may get. I have a working index match formula with one drawback. If I get multiple results, currently only the first result takes priority. I'd like to show all returned results in the same cell, and I see many posts about using textjoin to do it. I'm having a difficult time integrating that function into my current working formula. Here's what I have:

{=INDEX($A:$A,MATCH(1,(($F32=$D:$D&$E:$E)*(G$29>=$B:$B)*(G$29<=$C:$C)),0))}

Any ideas?

Thanks so much!!

Index match.jpg
 
Last edited:

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
What version of Excel are you using?
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
What version of Excel are you using?
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
Thanks, I updated my profile. I'm on Office 365 for Mac version 16.57
 
Upvote 0
Thanks for that, how about
Excel Formula:
=TEXTJOIN(",",,FILTER($A$2:$A$100,(($D$2:$D$100=$F32)+($E$2:$E$100=$F32))*($B$2:$B$100<=G$29)*($C$2:$C$100>=G$29),""))
 
Upvote 0
Thanks for that, how about
Excel Formula:
=TEXTJOIN(",",,FILTER($A$2:$A$100,(($D$2:$D$100=$F32)+($E$2:$E$100=$F32))*($B$2:$B$100<=G$29)*($C$2:$C$100>=G$29),""))
This works PERFECTLY!! Thank you so much!!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,045
Messages
6,176,061
Members
452,701
Latest member
rfhandel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top