+ Reply to Thread
Results 1 to 4 of 4

How do you average between specific intervals?

Hybrid View

  1. #1
    Registered User
    Join Date
    05-29-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    2

    How do you average between specific intervals?

    Hi,

    I have a large amount of data that I require averaged between specific intervals, all 1m lengths.

    An example of data is below:

    A B
    1.3 1
    1.5 2
    1.6 2
    2 1
    2.1 2
    2.4 1
    2.8 1
    3.3 2
    3.9 2


    I want to display the results as:

    From To Average
    1 2 1.666666667
    2 3 1.25
    3 4 2

    Any help would be greatly appreciated!

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: How do you average between specific intervals?

    How about

    =AVERAGEIFS($B$2:$B$10,$A$2:$A$10,">="&D1,$A$2:$A$10,"<"&E1)

          D E -----F-----
      1   1 2 1.666666667
      2   2 3    1.25    
      3   3 4      2
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    05-29-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How do you average between specific intervals?

    Perfect! Cheers that's saved a lot of time!

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: How do you average between specific intervals?

    You're welcome. Glad it worked for you and thanks for the feedback

    Please don't forget to mark the thread as solved if the solution(s) provided answers your query.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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