Lookup multiple values with multiple criteria, fill horizontally by header category

ophizer

New Member
Joined
Sep 29, 2017
Messages
4
Hello friends, a long time lurker-first time poster. This place has saved my *** on multiple occasions. Unfortunately, I have now spent days looking for a solution without much luck and felt compelled to ask my first question.

The problem at hand is this. I have a list of employees (by ID) and series of events associated with those employees (going horizontally). Some folks have multiple events taking place during different times (hence the duplicate empl IDs). Below I have highlighted the duplicate rows. Employee ID 701, had a manager change (XFRMng) on 7/20/17 and was promoted (PROM) on 8/17/17. Numbers 47 and 46 that you see in the cells are row counts from the dataset (this is a summary pivot). Soooooooo, how do I update a different sheet (to create an employee "history") by matching the Event categories on top, by capturing multiple dates and then returning them in the same row.





Here's an image how it should look




Many thanks in advance.
 
Last edited by a moderator:

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Your first image, is that a Pivot Table?
If so what is the layout of its source data?
 
Upvote 0
It is a crazy HR report without any regard for data integrity or cleanliness. So I am setting up a one to many relationship with reference tables that summarize "event categories" by User ID and Date Modified in a pivot which I then want to use to populate my model. See highlighted in yellow

[h=2]https://1drv.ms/x/s!<wbr>AjWNuqhgu9nvgVHHloPN<wbr>fPwtmqDt[/h]

 
Upvote 0
using the "small" function I managed to identify the row #, but I can't figure out how to specify which column to reference, in order to get the date. Everything that I've read on the subject, only show how to do by using "columns" function but they stop short of showing how to get an exact match.
 
Upvote 0

Forum statistics

Threads
1,214,952
Messages
6,122,457
Members
449,083
Latest member
Ava19

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