+ Reply to Thread
Results 1 to 4 of 4

Average every 15 cells

  1. #1
    Registered User
    Join Date
    10-12-2017
    Location
    atlanta, Georgia
    MS-Off Ver
    2016
    Posts
    1

    Question Average every 15 cells

    What I want to do is average every 15 cells. I.e. develop a table which is:

    Cell P16 =AVERAGE(B16:B30)
    Cell P17 =AVERAGE(B31:B45)
    Cell P18 =AVERAGE(B46:B60)
    etc
    etc
    etc

    When I try and drag the formula down - I can't get it to work.

    I need a way of expanding this formula quickly down the spreadsheet!

    Amy help would be appreciated.

    Thanks

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Average every 15 cells

    Here's one option using OFFSET:

    P16 =AVERAGE(OFFSET(B$16:B$30,15*(ROWS(A$1:A1)-1),0))

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Average every 15 cells

    Option 1

    =AVERAGE(OFFSET(B$16:B$30,15*(ROWS(P$16:P16)-1),0))

    ....but because 63falcondude beat me to it.....

    Option 2

    Put this formula in P16 and copy down

    ="=AVERAGE(B"&ROWS(P$16:P16)*15+1&":B"&ROWS(P$16:P16)*15+15&")"

    That gives you the exact formulas you suggested.....but in text format

    Now select the whole range of formulas and do this to convert the "text formulas" to real ones

    CTRL+C to copy then Right-click > Paste Special > Values > OK

    Then do an "Edit/Replace" and replace = with =

    This will give you actual formulas like =AVERAGE(B16:B30) etc.
    Last edited by daddylonglegs; 10-12-2017 at 04:16 PM.
    Audere est facere

  4. #4
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Average every 15 cells

    =sumproduct($b$16:$b$90*(int(row($b$15:$b$89)/15)=rows($a$16:a16)))/15

+ 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: 7
    Last Post: 09-24-2016, 06:48 PM
  2. Replies: 3
    Last Post: 10-31-2013, 04:50 AM
  3. [SOLVED] need formula to average cells but if one cell has N/A then dont average and input N/A
    By CityInspector in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2013, 04:16 PM
  4. Replies: 14
    Last Post: 06-14-2013, 09:00 PM
  5. Replies: 10
    Last Post: 04-25-2013, 06:12 PM
  6. The rank of average ranks excluding empty cells but including their average.
    By Terminal45 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-21-2012, 03:44 AM
  7. [SOLVED] average cells, show 0 if nothing to average
    By Kycajun in forum Excel General
    Replies: 8
    Last Post: 06-21-2006, 02:40 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