Formula for returning last date

Chris_010101

Board Regular
Joined
Jul 24, 2017
Messages
188
Office Version
  1. 365
Platform
  1. Windows
Hello

I'll try and keep this simple.

Sheet 1

This is a list of absence. Each separate occasion of absence is recorded against a unique employee ID in Column A and on it's own row.

On each occasion, there is an absence start date and an absence end date.

Example: an employee with 2 separate occasions will have 2 rows each containing the absence start and absence end.

1660312419278.png


Sheet 2

On this sheet, I would like to use a formula in column L to find the last day of absence for each employee from sheet 1

If it helps, employee ID (unique record) is included in column A to reference.

1660312655408.png


So, in column L on the above, it would say 30/03/2022 because that is the latest absence end date.

I hope this makes sense.

Kind Regards
Chris
 

Attachments

  • 1660312590018.png
    1660312590018.png
    10.8 KB · Views: 4

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
How about
Excel Formula:
=MAXIFS(Sheet1!J:J,Sheet1!A:A,A2)
 
Upvote 0
Solution

Forum statistics

Threads
1,215,455
Messages
6,124,935
Members
449,195
Latest member
Stevenciu

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