Index match with multiple result

JAVEDR

Board Regular
Joined
Sep 17, 2019
Messages
79
Office Version
  1. 2019
Platform
  1. Windows
  2. Mobile
  3. Web
Respected Forum,

I need help for below sample sheet details mention on same.

Thank you for your time and efforts

sample sheet
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Please post your sample to the forum using XL2BB (link in my signature block below) many members of the forum are unable to download attached files for security reasons so your question is likely to go unanswered as it stands.
 
Upvote 0
pt.xlsx
ABC
1123456YELLOW BOX CONTAINS MORE THAN 3 DIGIT NOT LESS THAN THAT
21245,236
32345,156ACROSS EACH TEXT I WANT FORMULA THAT MATCH SHEET 2
43346,256GREEN COLUMN AND RESULT ARE DISPLAYED IN COMMA SEPRATED
54356,135
65456,
76123,
87124,
98134,125
109234,
110145,235
Sheet1


SHEET2

pt.xlsx
AB
11128
21137
31236
41678
51245
61290
71470
81579
91380
101335
111588
121489
131344
141399
151100
161155
171560
181146
191669
201119
211227
221777
236123
246268
256367
266178
276240
286259
296457
306790
316880
326330
336358
346448
356899
366349
376600
386556
396150
406114
416466
426169
436277
446222
452129
462147
472246
482679
492345
502390
512480
522589
532570
542255
552200
562138
572336
582688
592660
602110
612156
622778
632237
642228
652499
662444
677124
687179
697467
707269
717890
727458
737340
747359
757250
767557
777700
787368
797133
807188
817115
827566
837160
847278
857223
867377
877449
887999
893120
903157
913256
923670
933139
943148
953346
963689
973247
983779
993229
1003445
1013599
1023490
1033300
1043580
1053355
1063337
1073238
1083788
1093166
1103111
1118170
1128567
1138125
1148260
1158189
1168468
1178369
1188134
1198477
1208279
1218224
1228459
1238990
1248440
1258800
1268558
1278350
1288378
1298288
1308233
1318116
1328666
1334130
1344158
1354680
1364356
1374239
1384248
1394347
1404789
1414167
1424112
1434266
1444149
1454446
1464699
1474400
1484455
1494590
1504220
1514770
1524257
1534338
1544888
1559180
1569568
1579135
1589360
1599379
1609478
1619289
1629234
1639117
1649126
1659667
1669144
1679199
1689469
1699900
1709559
1719450
1729225
1739577
1749270
1759388
1769333
1775140
1785159
1795456
1805690
1815230
1825258
1835357
1845780
1855249
1865799
1875447
1885348
1895339
1905889
1915168
1925113
1935366
1945122
1955177
1965267
1975500
1985555
1990190
2000569
2010145
2020460
2030280
2040235
2050578
2060370
2070244
2080299
2090479
2100334
2110488
2120389
2130136
2140668
2150118
2160677
2170127
2180226
2190550
2200000
Sheet2
 
Upvote 0
Please post your sample to the forum using XL2BB (link in my signature block below) many members of the forum are unable to download attached files for security reasons so your question is likely to go unanswered as it stands.
Thank you sir followed same.
 
Upvote 0
It is not clear from that exactly what is required, one thing is clear, it is far from any kind of index and match formula. This is my interpretation of the notes in column C with a lot of guesswork to get this far. You will notice that there are many more results here than in your example, if this is not what is needed then you will need to make your explanation much clearer.

Also you have not added your excel version to your forum profile so I've assumed that you have the latest version and based the suggestion below on that. If you are using an older version then please update your profile to show which version that is.
Cell Formulas
RangeFormula
E2:E11E2=TEXTJOIN(",",1,FILTER($B$1:$B$220,($A$1:$A$220=D2)*ISNUMBER(SEARCH(MID($B$1:$B$220,1,1),$E$1))*ISNUMBER(SEARCH(MID($B$1:$B$220,2,1),$E$1))*ISNUMBER(SEARCH(MID($B$1:$B$220,3,1),$E$1)),""))
 
Upvote 0
It is not clear from that exactly what is required, one thing is clear, it is far from any kind of index and match formula. This is my interpretation of the notes in column C with a lot of guesswork to get this far. You will notice that there are many more results here than in your example, if this is not what is needed then you will need to make your explanation much clearer.

Also you have not added your excel version to your forum profile so I've assumed that you have the latest version and based the suggestion below on that. If you are using an older version then please update your profile to show which version that is.
Cell Formulas
RangeFormula
E2:E11E2=TEXTJOIN(",",1,FILTER($B$1:$B$220,($A$1:$A$220=D2)*ISNUMBER(SEARCH(MID($B$1:$B$220,1,1),$E$1))*ISNUMBER(SEARCH(MID($B$1:$B$220,2,1),$E$1))*ISNUMBER(SEARCH(MID($B$1:$B$220,3,1),$E$1)),""))
It is not clear from that exactly what is required, one thing is clear, it is far from any kind of index and match formula. This is my interpretation of the notes in column C with a lot of guesswork to get this far. You will notice that there are many more results here than in your example, if this is not what is needed then you will need to make your explanation much clearer.

Also you have not added your excel version to your forum profile so I've assumed that you have the latest version and based the suggestion below on that. If you are using an older version then please update your profile to show which version that is.
Cell Formulas
RangeFormula
E2:E11E2=TEXTJOIN(",",1,FILTER($B$1:$B$220,($A$1:$A$220=D2)*ISNUMBER(SEARCH(MID($B$1:$B$220,1,1),$E$1))*ISNUMBER(SEARCH(MID($B$1:$B$220,2,1),$E$1))*ISNUMBER(SEARCH(MID($B$1:$B$220,3,1),$E$1)),""))
Sir your are right - You will notice that there are many more results here than in your example.

Also result which delivered by you is perfect.

While pasting formula I'm getting error "The function is not valid" I'm using excel 2019 version
 
Upvote 0
I'm using excel 2019 version
Please update your profile so that we can see this information without having to ask every time you post.

The filter function is not valid in excel 2019, I will have a look at an alternative for you later when I have a little more free time.
 
Upvote 0
Please update your profile so that we can see this information without having to ask every time you post.

The filter function is not valid in excel 2019, I will have a look at an alternative for you later when I have a little more free time.
Thank you sir for your valuable time I have updated my profile as instructed :)
 
Upvote 0
This version of the formula will work with excel 2019, note that the formula must be array confirmed with Ctrl Shift Enter.
Cell Formulas
RangeFormula
E2:E11E2=TEXTJOIN(",",1,IFERROR($B$1:$B$220/($A$1:$A$220=D2)/ISNUMBER(SEARCH(MID($B$1:$B$220,1,1),$E$1))/ISNUMBER(SEARCH(MID($B$1:$B$220,2,1),$E$1))/ISNUMBER(SEARCH(MID($B$1:$B$220,3,1),$E$1)),""))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
This version of the formula will work with excel 2019, note that the formula must be array confirmed with Ctrl Shift Enter.
Cell Formulas
RangeFormula
E2:E11E2=TEXTJOIN(",",1,IFERROR($B$1:$B$220/($A$1:$A$220=D2)/ISNUMBER(SEARCH(MID($B$1:$B$220,1,1),$E$1))/ISNUMBER(SEARCH(MID($B$1:$B$220,2,1),$E$1))/ISNUMBER(SEARCH(MID($B$1:$B$220,3,1),$E$1)),""))
Press CTRL+SHIFT+ENTER to enter array formulas.
I had tried above formula getting below #NAME error don't know where I'm going wrong--

Book1
ABCDE
1123456
211281#NAME?
311372#NAME?
412363#NAME?
516784#NAME?
612455#NAME?
712906#NAME?
814707#NAME?
915798#NAME?
1013809#NAME?
1113350#NAME?
121588
131489
141344
151399
161100
171155
181560
191146
201669
Sheet1
Cell Formulas
RangeFormula
E2:E11E2=TEXTJOIN(",",1,IFERROR($B$1:$B$220/($A$1:$A$220=D2)/ISNUMBER(SEARCH(MID($B$1:$B$220,1,1),$E$1))/ISNUMBER(SEARCH(MID($B$1:$B$220,2,1),$E$1))/ISNUMBER(SEARCH(MID($B$1:$B$220,3,1),$E$1)),""))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,388
Messages
6,124,658
Members
449,177
Latest member
Sousanna Aristiadou

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