+ Reply to Thread
Results 1 to 6 of 6

Copying and Pasting a Forumula with a Different Auto Increment Value

  1. #1
    Registered User
    Join Date
    08-20-2011
    Location
    The Interwebz
    MS-Off Ver
    Excel 2003
    Posts
    3

    Question Copying and Pasting a Forumula with a Different Auto Increment Value

    I've been searching Google high and low, and I'm guessing I'm using the wrong keywords, so I need assistance please.

    I have a spreadsheet with dates and times running down two columns. I want to add the total hours in a week so I do something like =SUM(F5:F11).

    Then I need the hours for the next week. If I copy and paste I get =SUM(F6:F12), but really I want =SUM(F12:F18).

    Is there a way to accomplish this without manually setting the two values each week.

    Thank you in advance. I have a feeling this is either very simple, or very hard...
    Last edited by althius1; 08-21-2011 at 12:10 PM.

  2. #2
    Registered User
    Join Date
    08-10-2011
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Copying and Pasting a Forumula with a Different Auto Increment Value

    It would be easier to give you suggestions if you uploaded a mockup with the formula's in the exact spots as your workbook.

    At the moment It sounds like you are copying this data one cell below where the other formula is, the problem with this is that it will only increment the formula once per every row you move it down.
    When helped,use the icon right of the post #.

  3. #3
    Registered User
    Join Date
    08-20-2011
    Location
    The Interwebz
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Copying and Pasting a Forumula with a Different Auto Increment Value

    Yes, that is exactly what is happening, you understand the situation perfectly. How do I get it to 'auto-increment' by 7s rather than 1s.

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

    Re: Copying and Pasting a Forumula with a Different Auto Increment Value

    =SUM(OFFSET($F$5,(ROWS($A$1:$A1)*7-7),0,7)) will sum the first 7
    copy/paste below it will sum the next 7 and so on
    or you could just drag it down
    "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

  5. #5
    Registered User
    Join Date
    08-20-2011
    Location
    The Interwebz
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Copying and Pasting a Forumula with a Different Auto Increment Value

    Brilliant. Thanks so much.

  6. #6
    Registered User
    Join Date
    08-10-2011
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Copying and Pasting a Forumula with a Different Auto Increment Value

    If you were satisfied with the answer provided please mark your thread solved, directions below:

    To mark your thread solved do the following:
    - Go to the first post
    - Click edit
    - Click Advance
    - Just below the word "Title:" you will see a dropdown with the word No prefix.
    - Change to Solve
    - Click Save

+ 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