Question : Create time range and add user hours to that time range

I want to create a specific time range in the attached spreadsheet

12:00AM -04:59AM
5:00AM - 5:59AM
6:00AM - 9:59PM
10:00PM -10:59PM
11:00PM - 11:59PM

The data in this spreadsheet is what we from SQL server export to excel  which is attached.

We want the users HOURS to display in excel in the ABOVE MENTIONED TIME RANGE.

eg if user worked between 12:00am to 6:00am totalling 6 hours

his first first 5 hours should appear in the 12:00am 4:59 am range and
his next 1 hour should appear in 5:00am to 06:00am range.

THE TIMESHEET IS 24 HOURS FORMAT 2, 7 DAYS A WEEK OUR RESOURCE CAN WORK ANY DAY ANY TIME.

This is for our HR . Our data spreadsheet is attached ,  
 
OUR DATA TIMESHEET
 

Answer : Create time range and add user hours to that time range

See if this helps.
It gives you 5 additional columns and how many of the hours are in each of those ranges.
You can now pivot on the entire table.
Random Solutions  
 
programming4us programming4us