+ Reply to Thread
Results 1 to 4 of 4

Estimated Travel Time

  1. #1
    Registered User
    Join Date
    09-06-2013
    Location
    CT
    MS-Off Ver
    Excel 2010
    Posts
    2

    Unhappy Estimated Travel Time

    I've been trying to figure out a formula that will tell me how long a road trip will take at a specific mileage at a specific speed including rest stops. For example:

    90 miles [variable]
    60 MPH [variable]
    = 1.5 hours of non stop travel
    15 min of rest every 1.5 hours [variable]
    = 0:1:45 (days: hours: minutes) based on a 24 hour day
    based on only 8 hours [variable] travel hours per day this equals 0.22 travel days or 1.5 hours

    Problem is when I change the mileage to say 180 it calculates 3:15 not 3:30 hours, etc
    and I'd like the final (days: hours: minutes) to be based on an 8 [variable] hour travel clock not 24.

    I've attached the file for a better review.
    What am I doing wrong? Estimated Trip Time and Costs.xlsx

    Error in time calc. Should be:
    90 miles = 1.5 hours or 1:45 with stops
    180 miles = 3.0 hours or 3:30 with stops
    270 miles = 4.5 hours or 5:15 with stops
    360 miles = 6.0 hours or 7:0 with stops

    Thanks for any assistance.

  2. #2
    Forum Contributor
    Join Date
    03-17-2005
    Location
    Canterbury, Kent
    MS-Off Ver
    2003, 2010
    Posts
    285

    Re: Estimated Travel Time

    See attached which calculates your examples correctly.

    Have used a vlookup for the breaks.

    Windy
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-06-2013
    Location
    CT
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Estimated Travel Time

    Thank you thank you! This works great. One other question can I change the Day Hour Minute formula to reflect an x hour day vs just 24 hour day?

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Estimated Travel Time

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Calculating travel time for set destinations
    By ashcrroft752 in forum Excel General
    Replies: 4
    Last Post: 06-14-2012, 08:06 PM
  2. Function to get travel time from mapquest
    By sunnyk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-23-2010, 10:05 PM
  3. Time Travel & Upon Opening WB Macros
    By gandolff in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-31-2009, 11:47 AM
  4. time formula with fixed travel time
    By loudguy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-02-2009, 06:33 AM
  5. travel time distance formula
    By kapanenship in forum Excel General
    Replies: 2
    Last Post: 05-20-2008, 12:35 PM

Tags for this Thread

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