Drivers milage / time sheet

Paul at GTS

Board Regular
Joined
May 17, 2004
Messages
56
Office Version
  1. 365
Platform
  1. Windows
Hi everyone.

Need help please.

We have a spread sheet for monitoring drivers mileage and work times as sample below.

Date Driver Start Work Finish Work Start Milage Finish Milage Time Work Milage Total Time Total Milage
1/9 Ted 06:00 13:00 100 150 7:00 50 7:00 50
1/9 Bill 09:00 10:00 20 30 1:00 10 1:00 10
1/9 Fred 06:00 12:00 500 600 3:00 100 3:00 100
2/9 Bill 06:00 10:00 155 205 4:00 50 5:00 60
2/9 Fred 09:00 13:00 610 670 4:00 60 7:00 160
3/9 Ted 10:00 15:00 165 265 5:00 100 12:00 150
3/9 Bill 06:00 10:00 220 300 4:00 80 9:00 140
3/9 Fred 12:00 18:00 700 800 6:00 100 15:00 160

Columns Date to Finish milage are retrieved from our vehical tracking system and then daily work times and milages are calculated by spread sheet.

The last two colums we have to do manually as we can not get the sheet to find the next occurance of driver and then add the total for the current day on to the months running total.

It needs to be a "Lookup" due to driver not being in every day so a standard formular becomes incorrect when a driver has a day off - see 2/9 Ted had a day off so no records recived from Tracking system.

The difference between the start and finish milages for the drivers is due to private milage which is not recorded by tracking system.

So what we would like is a way of calculating the last two columns.

Thanks
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Re: Help with a drivers milage / time sheet

Why not concate the day and person. Also I would be more comfortable with a driver ID since a company may have multiple people with same name.


Something like:

Code:
=index(rangeofdatafromtrackingsystem, match(date&driverid, rangeofdate&driveridontracksystem,0))

This automates it all.
 
Upvote 0
Re: Help with a drivers milage / time sheet

Roderick_E,

Interesting you use the Index/Match - this is where we were going initially but couldn't makem it work. Point taken about driver IDs.

Thanks for your suggestion.
 
Upvote 0

Forum statistics

Threads
1,215,734
Messages
6,126,542
Members
449,316
Latest member
sravya

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