Linking two data sets - assistance requested

PNWilson

New Member
Joined
Jan 21, 2015
Messages
2
Greetings fellow pivot table practitioners,
I'm trying to link two sets of data. Samples are listed below. I'd like to figure out a formula that populates the "Status" and "Day Status Began" in the top table based on the data in the second table.

EX: On 21 Jan 2015, Scott submitted a report. Per the second table, on that date, he was in a "SLEEP" status, and that status had begun on 20 Jan 2015. Likewise, Tammy submitted a report on 26 Jan 2015, and per the second table, she was in a "WORK" status at the time and had been since 19 Jan 2015.

I think I need a Lookup, but I can't figure it out. Any help would be much appreciated.

Scott

NameReport DateStatusDay Status Began
Scott21 Jan 2015
Tammy21 Jan 2015

<tbody>
</tbody>

NameStatusDay Status BeganDay Status Ended
ScottWORK1 Jan 201519 Jan 2015
ScottSLEEP20 Jan 201523 Jan 2015
TammySLEEP3 Jan 201518 Jan 2015
TammyWORK19 Jan 201527 Jan 2015

<tbody>
</tbody>
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Sorry, made a slight mistake in the original post. In the example, the top sample table should read that Tammy submitted a report on 26 Jan 2015 (to match the written portion).
 
Upvote 0

Forum statistics

Threads
1,214,885
Messages
6,122,090
Members
449,065
Latest member
Danger_SF

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