Excel list to show changes in working schedule

kaz123

New Member
Joined
Oct 8, 2017
Messages
31
Hello,

I need some help with a query. I have a big employee list (from HR system) showing all the different types changes in the record including changes in weekly working hours, this means some employee could be on the list multiple times (with the same unique employee ID) if they have more than one change. The list has a number of columns including Employee ID, Change effective Start, Change effective End, Hours. - what I am trying to find out is all the employees who changed their hours between the financial year (e.g. 01 April 2019 to 31 March 2020) and to show - for example, if the employee has 10 entries in the list (for all sorts of changes) and one entry for showing changes in their hours on 05/08/2019, then it should show that line and also the line with the previous value.

Hope this makes sense, the list returns over 10k rows and essentially what I am trying to do is return any changes in hours between the date range, and if they haven't changed their hours then return the latest row which will show the current hours.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Hi Kaz,
to find out the number of records per employee, a Pivot Table could be helpful. That would also allow you to filter for all records within your financial year. An alternative is to add 1 or more columns to your data for filtering. E.g. you could make an IF formula for just the date of the record (TRUE if it's in your financial year and FALSE if it's not).
If you have more in-detail questions: please do post a chunk of your (anonimized) data and desired outcome here, preferably using XL2BB (or alternatively a dropbox/googledrive link).
Cheers,
Koen
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

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