VLookup - retrieve number of bracket

sh1ne

New Member
Joined
Jul 3, 2017
Messages
33
Office Version
  1. 2016
Platform
  1. Windows
Hello,

How should I act when I want to retrieve number of bracket where value I'm looking for is?


Let me visualize my problem:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Bracket ID[/TD]
[TD]Value I'm looking for[/TD]
[TD]Bracket Number[/TD]
[TD]Bracket Content[/TD]
[/TR]
[TR]
[TD]<formula>[/TD]
[TD]101[/TD]
[TD]A[/TD]
[TD]99 88 100 98 103[/TD]
[/TR]
[TR]
[TD]<formula>[/TD]
[TD]102[/TD]
[TD]B[/TD]
[TD]87 55 33 58 101[/TD]
[/TR]
[TR]
[TD]<formula>[/TD]
[TD]103[/TD]
[TD]C[/TD]
[TD]102 108 109 112[/TD]
[/TR]
[TR]
[TD]<formula>[/TD]
[TD]104[/TD]
[TD]D[/TD]
[TD]111 104 198 175[/TD]
[/TR]
</tbody>[/TABLE]


So basicaly formula should give me number of bracket where value(which I'm looking for) is. Value from row 2 can be in bracket located in row 20. Let's imagine that count of brackets it's 1/4 of total values. How can I deal with it?
I'm struggling with this probably due to that multiple values are located in one cell and all is splitted by space.

Any tips? Thanks
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
How about


Book1
ABCD
1Bracket IDValue I'm looking forBracket NumberBracket Content
2B101A99 88 100 98 103
3C102B87 55 33 58 101
4A103C102 108 109 112
5D104D111 104 198 175
Log
Cell Formulas
RangeFormula
A2=INDEX($C$2:$C$5,MATCH("*"&B2&"*",$D$2:$D$5,0))
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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