+ Reply to Thread
Results 1 to 4 of 4

Calculate Miles Driven Thus Far to Weekly Tracking Spreadsheet

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 365
    Posts
    164

    Calculate Miles Driven Thus Far to Weekly Tracking Spreadsheet

    Hello, I am trying to create a spreadsheet to track weekly mileage for 22 people who use company vehicles. We are trying to achieve a goal for certain amount of miles driven without any accidents. The problem: I cannot figure out a formula to calculate the miles.

    Not everyone provides mileage for every week because they might be on vacation, so in that case whatever the most recent miles they provide would be used.

    I add a new column for each new week to this spreadsheet to the left of the column titled "Miles Driven Thus Far." I need to calculate the "Miles Driven Thus Far" column. Here is a mock up of the spreadsheet:


    Name Vehicle No Odometer Reading 05/26/2014 Odometer Reading 06/02/2014 Odometer Reading 06/09/2014 Odometer Reading 06/16/2014 Miles Driven Thus Far
    Joe 333 - 163,203 163,862 165,567
    Mary 334 49,222 - 52,053 52,538
    Bill - - 190,618 191,126

    Thanks!

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,785

    Re: Calcaulte Miles Driven Thus Far to Weekly Tracking Spreadsheet

    For row 2, miles driven thus far is

    Formula: copy to clipboard
    =MAX(C2:ZZ2)-MIN(C2:ZZ2)


    This uses ZZ in place of knowing what the final column will be but it will work.

    If there is no odometer reading for a date, do not put zero, leave it blank.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 365
    Posts
    164

    Re: Calcaulte Miles Driven Thus Far to Weekly Tracking Spreadsheet

    This works - thank you so much!

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,785

    Re: Calculate Miles Driven Thus Far to Weekly Tracking Spreadsheet

    You're welcome! If your question has been answered please mark your thread as "Solved" so that members will know by looking at the thread title that your problem is solved. Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "Mark this thread as solved..."

    If a member helped you solve your problem, consider adding to their reputation by clicking on the star icon below their name.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. automatically calculate my WEEKLY and MONTHLY totals on a spreadsheet
    By drobinson782001 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-15-2013, 06:32 PM
  2. Replies: 5
    Last Post: 08-30-2013, 04:32 PM
  3. calculate TOTAL mileage (first 2 miles set rate) all miles thereafter set rate
    By infinite2006 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 08-30-2013, 08:26 AM
  4. VAT weekly tracking from spreadsheet
    By Trugmaker in forum Excel General
    Replies: 0
    Last Post: 05-18-2010, 01:33 PM
  5. Calculate Miles per hour
    By anwittin in forum Excel General
    Replies: 5
    Last Post: 11-03-2006, 05:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1