Multiple results needed

cherylino

New Member
Joined
May 22, 2018
Messages
2
Probably a daft question, and Im thinking I need index match as vlookup can only look up one result, but I'm hoping somebody can help

I have a list of Job numbers. Sometimes these job numbers are repeated as more than one engineer worked on them, so I wish to look up the job number, and it return me not only the engineer from the first row it appears in, but also the second, third, etc...

Please help!?
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Welcome to the MrExcel board!

Is this something that you can work with?
Formula in E2 is copied down.

Excel Workbook
ABCDE
1Job No.EngineerJobJob 2
2Job 1Eng 1EngEng 2
3Job 2Eng 2Eng 4
4Job 1Eng 3Eng 6
5Job 2Eng 4Eng 7
6Job 3Eng 5Eng 8
7Job 2Eng 6
8Job 2Eng 7
9Job 2Eng 8
10Job 7Eng 9
Multiple Matches
 
Upvote 0
something like this?


Excel 2013/2016
ABCDE
1
2Philip2.59%Philip2.59%
3Philip2.43%Philip2.43%
4Jone5.00%Philip3.00%
5Rose3.25%
6Philip3.00%
2
Cell Formulas
RangeFormula
E2{=INDEX($B$2:$B$6,SMALL(IF($A$2:$A$6=D2,ROW($A$2:$A$6)-(ROW($A$2)-ROW($A$1))),COUNTIF(D$2:D2,D2)))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Thank you both for responding, I need it to look at the number in one sheet, lets say for example, a1, and the number is there - eg, 12345.

In another sheet the numbers reappear, and next to them are the engineers name, so ineed it to look at it that way, does that make sense?

In laymans (or in my case idiot terms) -

I want to say, look at the number in cell a1 in this sheet, now go to the second sheet and find the same number in the column a (it will appear more than once), and give me the engineers in column b...

Possibly that makes sense?

Thank you
 
Upvote 0
Possibly that makes sense?
Yes it does. It looks identical to what I provided above in post #2 other than that I did it in a single sheet instead of two sheets (because you hadn't mentioned multiple sheets ;)). Can you make what I gave you work in a single sheet with your data?
If so, it will be easy to translate to two sheets if you can't do it yourself.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,802
Messages
6,126,986
Members
449,351
Latest member
Sylvine

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