USE OF INDEX MATCH FOR A SPECIFIC VALUE FROM A SINGLE CELL

azad092

Board Regular
Joined
Dec 31, 2019
Messages
198
Office Version
  1. 2007
Platform
  1. Windows
DEAR MEMBERS
GOOD MORNING
I want to use the index match formula i.e =INDEX(MINORV,MATCH(B2,MINOR,0))
In above formula MINORV is a range name and MINOR is an other range name like as column A and B
the formula is working perfect but I want to use this formula with little different , means that the Cell B2 is not contain on a single value, it may be consists on different values with comma ..... the issue is that how to use above formula for this purpose
for example if Cell B2 = MR1 then it works perfect but if Cell B2 = MR1,OT1 then #N/A error occurs
guide if this formula can be modified or an other formula can be use for this purpose
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Try =INDEX(MINORV,MATCH("*"&B2&"*",MINOR,0))
 
Upvote 0
Perhaps Try =INDEX(MINORV,MATCH("*"&"MR1"&"*",MINOR,0))
 
Upvote 0
in
Perhaps Try =INDEX(MINORV,MATCH("*"&"MR1"&"*",MINOR,0))
this way every time I have to change the formula..........means that this part "MR1"
I explain further what I want....
MINOR is name range which is consist on 100 codes i.e MR1 to MR100
and MINORV is a name of range of numbers from 1 to 100
MR1 refer to 1 and so on MR100 refer to 100
Cell B2 maybe consist on different codes i.e MR1,OT2 or MR50, OT4 or something else, the formula will only read to concerned code
if there is an other method vba or some coding please guide me
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

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