Trying to find the max value (last payroll Date) from a list with multiple records for an employee
I'm not sure how to isolate the largest/latest date from a sheet that has multiple records with various pay dates for a single individual. The sheet has about years worth of entries for the company.
For example, Employee #2 has worked 7 different weeks in the current year on multiple projects, and I want to know the most recent (i.e. max) date that they worked and pull this information into another sheet using the Index Match function, but I need a way to have a column in the source sheet that will show that max value (date).
Best Answers
-
Try something like this:
=MAX(COLLECT({Source Sheet Date Column}, {Source Sheet Employee Column}, @cell = "Employee Name"))
-
Wow! Yes, this worked perfectly. Thank you for such a quick response.😀
Answers
-
Try something like this:
=MAX(COLLECT({Source Sheet Date Column}, {Source Sheet Employee Column}, @cell = "Employee Name"))
-
Wow! Yes, this worked perfectly. Thank you for such a quick response.😀
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 468 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!