+ Reply to Thread
Results 1 to 7 of 7

How to calculate average fleet age? URGENT

  1. #1
    Registered User
    Join Date
    11-25-2018
    Location
    Czechia
    MS-Off Ver
    MS Office 97-2003
    Posts
    2

    Question How to calculate average fleet age? URGENT

    Hi everyone,
    I need help with calculating the average fleet age. I have a number of cars for the years 2007-2016, and they are included in the age groups of cars less than 2 years, 2-5 years, 5-10 years and 10-20 years. I need an average age for every one year. Thank you in advance for your help.

    I attach a data file.
    average age of fleet.xlsx

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: How to calculate average fleet age? URGENT

    What excel version are you using. Your profile says 97-2003, but you attached an .xlsx....

    What EXACTLY are the numbers that we are looking at? Why do the totals not add up??
    Last edited by Glenn Kennedy; 11-25-2018 at 08:32 AM.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    11-25-2018
    Location
    Czechia
    MS-Off Ver
    MS Office 97-2003
    Posts
    2

    Arrow Re: How to calculate average fleet age? URGENT

    Some files in my PC,I have in MS 2010 some in MS 97-2003. Data are taken from EUROSTAT and I havenīt blown them yett...therefore some values are missing and also the total does not fit.
    I guess that for 2013-2016 all the data is available, only the total must be adjusted.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: How to calculate average fleet age? URGENT

    With a helper column (manually calculated), being the number of years in each range (e.g. 0-2 is 2; 2-5 is 3, etc) in L2 to L5.

    With replacement of n/a with 0

    With the assumption (there is no alterantive, I think) that the number of cars in each RANGE is evenly distributed amongst the number of years in that range: e.g. 100 cars in the 0-2 range is equivalent to 50 cars in each year

    Use this array formula, copied across:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I have included a "proof" from row 10 downwards (for my benefit as much as yours!!).


    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...

    You may need ; as the separator instead of ,
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 11-25-2018 at 09:51 AM.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: How to calculate average fleet age? URGENT

    On reflection, since the number of old cars in the early years is not zero, but is unknown... it might be more valid to EXCLUDE them from the analysis altogether and use ONLY those ranges (i.e. up to 10 years) where you have a complete set of data.

    But... you know why you want these numbers... so your own opinion is more important than mine!!

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: How to calculate average fleet age? URGENT

    I've just realised. It doesn't always work. The sample gicves the correct answer only by acident. It's PROBABLY OK for your numbers... but only probably. Back to the drawing board!!

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: How to calculate average fleet age? URGENT

    Purely by luck, the answers were correct, even though the formula was wrong!! It worked fine, providing that the estimated number of cars per year BETWEEN age groups ALWAYS FELL with incereasing age. In this case, it was the case... but it might not always be so. Two helpers, even though only one is used. the other is there to indicate the source of the numbers in the array constant ( the {0,2,5,10} towards the end of the formula) just in case your datasets don't always follow the same pattern.

    The revised formua is longer (there may be a way to shorten it... but my head is now sore!!). It's still an array formula.
    Attached Files Attached Files

+ 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. Replies: 5
    Last Post: 09-11-2018, 10:29 AM
  2. Average Cost/Unit (Please solve my problem with urgent)
    By roykana in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-19-2018, 01:24 AM
  3. [SOLVED] Very Urgent: formular for average pattern
    By my1980 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-14-2015, 07:20 PM
  4. [SOLVED] Use the AVERAGE() function to calculate a sample average
    By alice2011 in forum Excel General
    Replies: 1
    Last Post: 09-24-2014, 08:04 AM
  5. Replies: 2
    Last Post: 09-16-2012, 01:58 PM
  6. Calculate average withouot incorporating sub average
    By ybu1106 in forum Excel General
    Replies: 25
    Last Post: 06-15-2010, 09:47 AM
  7. Calulating Average Fleet Age
    By jcoker in forum Excel General
    Replies: 2
    Last Post: 03-08-2009, 09:29 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