+ Reply to Thread
Results 1 to 7 of 7

formula to recalculate lap times when actual times vary from goal times

  1. #1
    Registered User
    Join Date
    09-05-2017
    Location
    Australia
    MS-Off Ver
    2007
    Posts
    33

    formula to recalculate lap times when actual times vary from goal times

    Hi All,
    I'm looking for help to formulate new lap goal times when the actual times vary from the planned goal times.
    Column A is actual Lap
    Column B is target lap times to achieve the goal amount of laps (cell B3 is goal laps and C3 is time allowed in minutes. 600 being 10 hrs.)
    Column D is what i want to calculate. Id like it to update based on the actual lap times entered in Column C. EG: 30 laps in 10 hrs currently sets the target laps at 20 minutes each. If lap one was completed in 15 minutes and then id like the remaining laps to be adjusted taking into consideration the 5 minutes and that were saved on lap one. I would also be happy if this could be formulated into column B if possible.
    something else to consider is if I reduce the Goal laps then id like the formula to be aware of this so if in the example above where 5 minutes was saved on lap one, that 5 minutes would be shared between the remaining goal laps and not a set 30 lap goal.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: formula to recalculate lap times when actual times vary from goal times

    So how would you calc this manually?

    Can you add some more samples and show expected outcomes?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    09-05-2017
    Location
    Australia
    MS-Off Ver
    2007
    Posts
    33

    Re: formula to recalculate lap times when actual times vary from goal times

    another example:
    I want to complete 10 laps in 1 hour so this would mean I need to complete each lap in 6 minutes as its 60 minutes divided by 10.
    If I was to complete the first 2 laps in 5 minutes each that would then leave me with 50 minutes to complete the remaining 8 laps as I've banked an extra 2 minutes from completing the first two laps 1 minute faster each. This works out as 6 minutes and 15 seconds per lap. (basically if each lap is faster than what's required then that extra time saved needs to be dispersed evenly over the remaining laps). I'll see if I can add some manual data to the sheet to show better.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,197

    Re: formula to recalculate lap times when actual times vary from goal times

    Administrative Note:

    Members will tailor the solutions they offer to the version (NOT release number) of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,197

    Re: formula to recalculate lap times when actual times vary from goal times

    In B5 copied down:

    =IF(C4="",B4,(($C$2/1440)-SUM(C$4:C4))/($B$3-A5+1))

    Does this do what you want?

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: formula to recalculate lap times when actual times vary from goal times

    Please try in C5 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,673

    Re: formula to recalculate lap times when actual times vary from goal times

    In D5 and copy down

    =(($C$2/1440)-SUM($C$5:C5))/($B$3-$A5)
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. Formula to see if start and end times fits a range of times
    By YMUNSHI in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-26-2019, 06:44 PM
  2. Arrival Times vs Access Times formula
    By bigroo1958 in forum Excel General
    Replies: 5
    Last Post: 09-19-2016, 08:35 AM
  3. [SOLVED] Averaging the earliest start times and latest end times for multiple days
    By kbiro in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-26-2016, 02:15 PM
  4. Replies: 7
    Last Post: 04-09-2014, 09:25 AM
  5. If a search term can be found 1 time, 2 times 3 times 4 times 5 times
    By excelcandy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-10-2013, 09:57 PM
  6. Replies: 0
    Last Post: 11-14-2011, 05:40 PM
  7. Macro Loop – Find Specific Times, Extract Date, Average Values of Times
    By ExcelQuestFL in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-25-2010, 02:50 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