+ Reply to Thread
Results 1 to 8 of 8

forecast a date when average value reaches a known value in excel

  1. #1
    Registered User
    Join Date
    08-31-2022
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    4

    forecast a date when average value reaches a known value in excel

    I am trying to enter a formula that forecasts a date in the cell taking a maximum number of miles using the average number of miles that month

    example - average miles for august is 15000, maximum number of miles allowed is 500,000 - what would the date be?

    The excel sheet has a column with the average number of miles, but not the max number of miles.

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

    Re: forecast a date when average value reaches a known value in excel

    What do you mean "average miles for august"? Is that the average miles per day for the month?

    For your example, what is the starting date? August 1?

    You should have a cell someplace with the maximum number of miles, or your formula will have to hard code the number, never a good idea.

    If 15,000 is an average daily mileage, then here is the calculation for when you will reach 500,000 starting August 1.

    Values as displayed
    A
    B
    C
    D
    E
    F
    1
    Average Miles
    Forecast
    Maximum Miles
    500,000
    2
    August 2022
    15,000
    9/3/2022

    Underlying formulas
    A
    B
    C
    D
    E
    F
    1
    Average Miles
    Forecast
    Maximum Miles
    500000
    2
    44774
    15000
    =$F$1/B2+A2
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    08-31-2022
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    4

    Re: forecast a date when average value reaches a known value in excel

    We are taking our current odometer reading and then calculating an average based on the in service date and todays date.

    I attached a copy of the sheet I am working in. Trying to get a formula to work in cell I4 that has a date for replacement once the equipment reaches 805000 kms

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,856

    Re: forecast a date when average value reaches a known value in excel

    Seems to me like a basic "distance=rate*time" type of problem you (hopefully) spent some time with back in algebra class.

    If the rate is 15000 km per month, and you want to know how many months it takes to get to 0.5E6 km, then solve your d=r*t for t (t=d/r), then substitute

    d=500000, r=15000, t=500000/15000=33.333 months

    When, as in your sample file, you want to know how many months to go from current odometer reading to an odometer reading of 805000 km
    d=805000-currentodometer=I$2-G4, r=currentaverage=H4, t=(805000-currentodometer)/(currentaverage)=(I$2-G4)/H4 [note the mix of relative and absolute references for easy copying].

    Am I understanding correctly?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Registered User
    Join Date
    08-31-2022
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    4

    Re: forecast a date when average value reaches a known value in excel

    I am trying to get the projected date. is there a way to do that so that you get a MM/DD/YY format instead of the number of months?

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,856

    Re: forecast a date when average value reaches a known value in excel

    It should be as simple as adding the number of months to the date in column D. I'm not sure how you intend to handle the fractional months, but something like =DATE(YEAR(D4),MONTH(D4)+months,DAY(D4)) will truncate the number months from the above calculation to an integer, then add that many months to the date in column D.

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

    Re: forecast a date when average value reaches a known value in excel

    Please try this formula and copy down (the result is a date)
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by HansDouwe; 08-31-2022 at 06:16 PM.

  8. #8
    Registered User
    Join Date
    08-31-2022
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    4

    Re: forecast a date when average value reaches a known value in excel

    Thank you for all of your suggestions - between all of them, I was able to get the sheet to work how I wanted

    I want to take the information in the s/s and compile some of the columns into either a table or listing into quarters for the next couple of years. What would you suggest?

    Projected Replacement in:
    Q1 2023 Q2 2023
    Unit# Year Make Unit# Year Make

+ 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. Temperature forecast - smoothening in excel monthly average
    By tos in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-09-2021, 02:42 PM
  2. displaying a date when a row reaches a certain value
    By sfay6304 in forum Excel General
    Replies: 4
    Last Post: 10-20-2014, 06:40 PM
  3. Replies: 6
    Last Post: 11-30-2013, 12:15 AM
  4. Stop Date when Status Reaches Level 9
    By choke in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2012, 01:07 PM
  5. Date Stamp when a cell's function reaches it's max.
    By lcleverton in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-06-2012, 08:19 PM
  6. 2 criteria forecast , average
    By wally in forum Excel General
    Replies: 10
    Last Post: 05-19-2010, 09:12 PM
  7. Forecast? Trend? Average?
    By bertman77 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-21-2008, 02:51 AM

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