vlookup - get value from filtered list

jagadesh77

New Member
Joined
Nov 20, 2017
Messages
1
Hi
I have data in a table like below:
Pkg TypePkg NameDEV01DEV02
CPcp120-11-2017 00:0021-11-2017 07:00
DPdp119-11-2017 00:0020-11-2017 00:00
CPcp221-11-2017 00:0021-11-2017 05:00
DPdp119-11-2017 09:0020-11-2017 10:00
DBdp119-11-2017 00:0020-11-2017 00:00
DBdp119-11-2017 05:0020-11-2017 06:00

<colgroup><col span="2"><col span="2"></colgroup><tbody>
</tbody>


I am expecting values like below, is it possible to get like this? If am fine with re-arranging data to get required output.
CPDPDB
DEV01Latest pkg of Type 'CP' on DEV01Latest pkg of Type 'DP' on DEV01Latest pkg of Type 'DB' on DEV01
DEV02Latest pkg of Type 'CP' on DEV02Latest pkg of Type 'DP' on DEV02Latest pkg of Type 'DB' on DEV02

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
Thanks
Jag
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Welcome to the board.

Try this:

ABCDEFGHIJK
1Pkg TypePkg NameDEV01DEV02CPDPDB
2CPcp111/20/2017 0:0011/21/2017 7:00DEV01cp2dp1db2
3DPdp111/19/2017 0:0011/20/2017 0:00DEV02cp1dp1db2
4CPcp211/21/2017 0:0011/21/2017 5:00
5DPdp111/19/2017 9:0011/20/2017 10:00
6DBdb111/19/2017 0:0011/20/2017 0:00
7DBdb211/19/2017 5:0011/20/2017 6:00
8
9
10

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet2

Array Formulas
CellFormula
I2{=IFERROR(INDEX($B$2:$B$10,MATCH(I$1&"|"&LARGE(IF($A$2:$A$10=I$1,INDEX($C$2:$D$10,0,MATCH($H2,$C$1:$D$1,0))),1),$A$2:$A$10&"|"&INDEX($C$2:$D$10,0,MATCH($H2,$C$1:$D$1,0)),0)),"")}

<thead>
</thead><tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,580
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