+ Reply to Thread
Results 1 to 5 of 5

Average DIFFERENCE between a list of numbers

  1. #1
    Forum Contributor
    Join Date
    04-03-2009
    Location
    Anchorage, Alaska, USA
    MS-Off Ver
    Office 365
    Posts
    113

    Average DIFFERENCE between a list of numbers

    Hello,

    In my case, I want to know the average number of days between dates. Since dates are numbers, such as 44630, 44644, 44658, 44676, 44686, and 44708, what is the average number of days between them?

    Average Difference.gif

    Is there a formula that can extrapolate this? Or am I looking at a macro-only solution?

    Thank you.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Average DIFFERENCE between a list of numbers

    =(B18-B13)/(COUNTA($B$13:$B$18)-1)


    This gives the result 15.6


    Alternative:

    =(MAX($B$13:$B$19)-MIN($B$13:$B$19))/(COUNTA($B$13:$B$18)-1)
    Last edited by oeldere; 06-15-2022 at 01:33 PM. Reason: alternative added
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Average DIFFERENCE between a list of numbers

    Another option which doesn't needs the dates sorted
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    04-03-2009
    Location
    Anchorage, Alaska, USA
    MS-Off Ver
    Office 365
    Posts
    113

    Re: Average DIFFERENCE between a list of numbers

    Thank you both - I gotta learn LET.

    Beautiful solutions, both of you, thank you - I just wasn't seeing it this morning.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Average DIFFERENCE between a list of numbers

    Glad to help & thanks for the feedback

+ 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. [SOLVED] How to average the first 5 non-zero numbers in a list
    By bfgreen4509 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-20-2021, 12:39 AM
  2. Calculating the difference between 2 numbers in a list
    By jimmyw in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-11-2016, 10:25 AM
  3. Replies: 15
    Last Post: 08-07-2014, 12:57 AM
  4. Find max difference in list of declining numbers, then add contingencies
    By excel-help in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-25-2013, 12:07 AM
  5. [SOLVED] average of the first N numbers in a list
    By robert111 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 09-19-2012, 02:36 PM
  6. [SOLVED] How do you compare 2 list of numbers and highlight the difference
    By Jay Jones in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-20-2006, 12:50 PM
  7. RE: How do you compare 2 list of numbers and highlight the difference
    By Tom Ogilvy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-20-2006, 10:55 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