+ Reply to Thread
Results 1 to 2 of 2

Increase Reference Rows by 7 as I Drag Down

  1. #1
    Registered User
    Join Date
    08-27-2011
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2007
    Posts
    1

    Increase Reference Rows by 7 as I Drag Down

    I am trying to create a rolling 28 days summary of some data. So starting at Week4, I have the following formula:

    Week4 =median('sheet1'!V2:V29)
    Week5 =median('sheet1'!V9:V36)
    Week6 =median('sheet1'!V16:V43)

    As you can see, I want the row references to increase by 7 each time I drag down the formula...how can I do that? Do I need to switch to R1C1 referencing?

    Thanks,

    Adam

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Increase Reference Rows by 7 as I Drag Down

    TRY
    =MEDIAN(INDIRECT("Sheet1!V"&ROW(A1)*7-5&":V"&ROW(A5)*7-6))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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