+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Copy/Drag Formula's - Need to Skip Rows

  1. #1
    Registered User
    Join Date
    03-01-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    7

    Copy/Drag Formula's - Need to Skip Rows

    Windows 7
    Excel 2007

    I have to copy formulas down and across an excel worksheet. When I grab the anchor and drag it just copies the next set of rows and, which is wrong. I need it to skip 4 rows each time.

    Example:

    =SUM('Cost Summary Unit 1'!O14:Z14,'Cost Summary Unit 1'!O15:Z15,'Cost Summary Unit 2'!O14:Z14,'Cost Summary Unit 2'!O15:Z15,'Cost Summary Unit 3'!O14:Z14,'Cost Summary Unit 3'!O15:Z15,'Cost Summary Unit 4'!O14:Z14,'Cost Summary Unit 4'!O15:Z15,'Cost Summary Unit 5'!O14:Z14,'Cost Summary Unit 5'!O15:Z15,'Cost Summary Unit 6'!O14:Z14,'Cost Summary Unit 6'!O15:Z15,'Cost Summary Unit 7'!O14:Z14,'Cost Summary Unit 7'!O15:Z15,'Cost Summary Unit 8'!O14:Z14,'Cost Summary Unit 8'!O15:Z15)/1000

    If i click and drag the above down one row I will get:

    =SUM('Cost Summary Unit 1'!O15:Z15,'Cost Summary Unit 1'!O16:Z16,'Cost Summary Unit 2'!O15:Z15,'Cost Summary Unit 2'!O16:Z16,'Cost Summary Unit 3'!O15:Z15,'Cost Summary Unit 3'!O16:Z16,'Cost Summary Unit 4'!O15:Z15,'Cost Summary Unit 4'!O16:Z16,'Cost Summary Unit 5'!O15:Z15,'Cost Summary Unit 5'!O16:Z16,'Cost Summary Unit 6'!O15:Z15,'Cost Summary Unit 6'!O16:Z16,'Cost Summary Unit 7'!O15:Z15,'Cost Summary Unit 7'!O16:Z16,'Cost Summary Unit 8'!O15:Z15,'Cost Summary Unit 8'!O16:Z16)/1000

    What I want is:

    =SUM('Cost Summary Unit 1'!O18:Z18,'Cost Summary Unit 1'!O19:Z19,'Cost Summary Unit 2'!O18:Z18,'Cost Summary Unit 2'!O19:Z19,'Cost Summary Unit 3'!O18:Z18,'Cost Summary Unit 3'!O19:Z19,'Cost Summary Unit 4'!O18:Z18,'Cost Summary Unit 4'!O19:Z19,'Cost Summary Unit 5'!O18:Z18,'Cost Summary Unit 5'!O19:Z19,'Cost Summary Unit 6'!O18:Z18,'Cost Summary Unit 6'!O19:Z19,'Cost Summary Unit 7'!O18:Z18,'Cost Summary Unit 7'!O19:Z19,'Cost Summary Unit 8'!O18:Z18,'Cost Summary Unit 8'!O19:Z19)/1000

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Copy/Drag Formula's - Need to Skip Rows

    Hi Rapacious,

    Welcome to the forum.

    I would suggest you to look into Offset formula and try offsetting (moving) O14 -> to -> O18, post the sample file in case of any issues. Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Copy/Drag Formula's - Need to Skip Rows

    Hi,

    I've just shown the first range, so add the rest of the sheet references in a similar way.
    Note that I've assumed this formula is located on row 10 which is why it shows a -10 in after the ROW() function. Just adjust the 10 as appropriate and change it to the row in which the formula is located.

    =SUM(OFFSET('Cost Summary Unit 1'!$O$14:$Z$14,(ROW()-10)*4,0))
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    03-01-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Copy/Drag Formula's - Need to Skip Rows

    Thanks. Didnt work. When I try to drag/copy the formula to all the rows below, I get the exact same formula each and every time time.

    Here is smaller version of what I posted earlier to show what I did......

    =SUM(OFFSET('Cost Summary Unit 1'!$B$10:$N$10,(ROW()-6)*4,0))

    That line just gets replicated everytime in every row below the top.

+ 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