Find Value in a Chart and Return Column Description

dwonsowski

New Member
Joined
Feb 26, 2014
Messages
2
Hi, I can't find what I was looking for and was hoping someone could easily figure this out. I have a 2 worksheets, one has a master list of the part numbers and the other a chart to list the similar parts (All models have similar parts a, b, c & d, but the part numbers are different across all models). On the master parts list, I would like make a formula to read what part number cell is next to it and return the values of the chart. Ideally, it would return a value for part number 09 that states b-Model C and part number 10 is b-Model D. I tried the vlookup and some of the cells started reading from a row above or that it would only look for the part number in the first column. I couldn't get the index/match to work correctly either. Thanks in advance!
Model AModel BModel CModel DModel EModel F
a010203040506
bn/a0809101112
c131415161718
d192021n/a2324

<tbody>
</tbody>
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Assuming that A1:G5 contains the data, and that each part number only occurs once within the data, try the following...

Let I2 contain 09
Let I3 contain 10

J2, confirmed with CONTROL+SHIFT+ENTER, and copy down:

=INDEX($A$2:$A$5,SMALL(IF($B$2:$G$5=I2,ROW($B$2:$G$5)-ROW($B$2)+1),1))&"-"& INDEX($B$1:$G$1,SMALL(IF($B$2:$G$5=I2,COLUMN($B$1:$G$1)-COLUMN($B$1)+1),1))

Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,583
Members
449,089
Latest member
Motoracer88

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