VLOOKUP Predicament

schaferdd

New Member
Joined
Oct 17, 2013
Messages
37
In the main file I have employee ID and other fields in each respective column.
In the secondary file, I have dates for courses taken that I wish to pull across using VLookup, but the multiple entries for the employee names are reflected in separate rows rather than columns.

Example (In Secondary File)
Jane Smith with Date 1 in column 2, row 1
Jane Smith with Date 2 in column 2, row 2
Jane Smith with Date 3 in column 2, row 3

How can I setup the secondary file such that the multiple dates change to column entries to facilitate a Vlookup back to the main file?
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
I realize now that in my initial post I probably did not explain very clearly. Below illustrates what I am attempting to do in order to then perform VLookUp. Any advice would be greatly appreciated.

[TABLE="width: 331"]
<colgroup><col><col span="3"></colgroup><tbody>[TR]
[TD]CURRENT[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Employee ID[/TD]
[TD]Course Date[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]451[/TD]
[TD="align: right"]04/06/11[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]451[/TD]
[TD="align: right"]07/10/13[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]451[/TD]
[TD="align: right"]07/22/17[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DESIRED[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Employee ID[/TD]
[TD]Course Date[/TD]
[TD]Course Date[/TD]
[TD]Course Date[/TD]
[/TR]
[TR]
[TD="align: right"]451[/TD]
[TD="align: right"]04/06/11[/TD]
[TD="align: right"]07/10/13[/TD]
[TD="align: right"]07/22/17[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,959
Messages
6,175,644
Members
452,663
Latest member
MEMEH

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