Returning the last worked date

Remsnow

New Member
Joined
Aug 19, 2015
Messages
46
Office Version
  1. 365
I am trying to ascertain the last date that a worker provided their services for us. I have created some unique lookup values which include the worker's name, the department they worked in and if the job was 'filled'. The data I have has every single shift that the worker has ever completed for us and the date they worked in date format dd/mm/yyyy.

On a separate page I have the unique lookup values (duplicates removed) in the following format 'JohnSmithDepartment1Filled'. I would like the formula to go into the other sheet, find the value and from the adjacent cell find return the date the worker provided their services.


To summarise in the shift report we have all the worker's details and dates provided. In another sheet you will have the worker's unique lookup, and a blank cell next to it with a title above 'Last date worked'. I want to look at the worker's unique identifier and go onto the other sheet and find the last date that worker provided their services.
Any questions please just ask. Any help is really appreciated.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
consider one of the 2 alternatives shown below


Excel 2010
ABCD
1Proj #DateLatest Date
2A4-Jan-176-Mar-176-Mar-17
3B5-Jan-177-Mar-177-Mar-17
4C6-Jan-178-Mar-178-Mar-17
5A5-Feb-176-Mar-176-Mar-17
6B6-Feb-177-Mar-177-Mar-17
7C7-Feb-178-Mar-178-Mar-17
8A6-Mar-176-Mar-176-Mar-17
9B7-Mar-177-Mar-177-Mar-17
10C8-Mar-178-Mar-178-Mar-17
11
3c
Cell Formulas
RangeFormula
C2=AGGREGATE(14,6,B$2:B$10/(A$2:A$10=A2),1)
D2{=MAX(IF(A2:A10=A2,B2:B10,0))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Hi there. I find myself using this formula all of the time and I came back to thank you again for your help, but it appears I didn't thank you in the first place! I am really sorry about that, but thank you so much for the help with this!

Thks
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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