+ Reply to Thread
Results 1 to 5 of 5

Skip x cells and fill (Fill/create weekly average from 7 days and fill down)

  1. #1
    Registered User
    Join Date
    04-11-2016
    Location
    pennsylvania
    MS-Off Ver
    2010
    Posts
    2

    Skip x cells and fill (Fill/create weekly average from 7 days and fill down)

    I don't know why I can't get this right, I googled and tried a bunch of suggestions that matched my problem but I'm going wrong somewhere.
    Simply put I want to fill down in a seperate column some averages skipping every 7 cells. It has labels of 4/7, 4/14, 4/21, down each row and next to it I would like to fill in weekly averages like =average(A1:A7), =average(A8:A14), =average(A15:A21)
    Naturally fill down will give me =average(A1:A7), =avg(A2:A8), A3:A9, etc which is no good to me.
    I thought OFFSET would do it for me but I must be doing something wrong.


    heres a snippet of my data (ignore the % column)
    HTML Code: 

    I know I have to be missing something real simple here---in fact I think I used to know how to do this but after messing around with pivot tables and failing at offset I figured I better just get help. Thanks to any assistance anyone can offer.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Skip x cells and fill (Fill/create weekly average from 7 days and fill down)

    Try this...

    Entered in C1 and copied down:

    =AVERAGE(OFFSET(A$1,ROWS(C$1:C1)*7-7,,7))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    04-11-2016
    Location
    pennsylvania
    MS-Off Ver
    2010
    Posts
    2

    Re: Skip x cells and fill (Fill/create weekly average from 7 days and fill down)

    Thanks. Thought it didn't work at first because I transposed the ROWS array as C$1:C7 to mine but after I minute I caught it and it worked like a charm. Thanks for ending my frustration with this, have alot of worksheets that will be using this going forward so I really appreciate your reply.


    Thanks again!

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Skip x cells and fill (Fill/create weekly average from 7 days and fill down)

    You're welcome. Thanks for the feedback!

  5. #5
    Registered User
    Join Date
    04-18-2016
    Location
    Malaysia
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Skip x cells and fill (Fill/create weekly average from 7 days and fill down)

    Capture.PNG
    Capture1.PNG

    Can anyone help me? i want the vertical yellow column (quantity) to show the data from balance. The vertical data is obtained using index to show the horizontal balance data. The balance figures are updated row by row. I want the quantity to update automatically as we add new balance figures horizontally.

+ 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: 1
    Last Post: 01-05-2016, 03:03 AM
  2. Fill Down Formula, but skip blank cells
    By jmo1112 in forum Excel General
    Replies: 3
    Last Post: 02-21-2015, 02:22 AM
  3. [SOLVED] How can I fill cell A1 with cell B1 Skip 70 cells and fill A71 with B2 etc....
    By mikey42979 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-26-2013, 11:22 AM
  4. How to color-fill blank cells, then once data is entered cell is no-fill
    By hatemail13 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-28-2013, 07:57 PM
  5. skip NON blank cells and fill only blanks
    By donyc in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-01-2012, 11:33 AM
  6. Replies: 1
    Last Post: 09-07-2011, 05:57 PM
  7. create a fill in template to tab to fill in cells
    By Excel-erator in forum Excel General
    Replies: 2
    Last Post: 07-06-2005, 05:05 PM

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