+ Reply to Thread
Results 1 to 7 of 7

Moving Sum when inserting rows

  1. #1
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Moving Sum when inserting rows

    Hi,

    I need to do Week to date sum figures and I was just wondering if there is a formula that you can use to move the sum down one line when you have inserted a new row.

    So for example the below figures add up to seven. If I was to insert a row with the 30/09/2013 sum would add up from 30/09/2013 - 24/09/2013 and so on so forth

    I hope I explained this correctly

    Day Spend
    23/09/2013 1
    24/09/2013 1
    25/09/2013 1
    26/09/2013 1
    27/09/2013 1
    28/09/2013 1
    29/09/2013 1
    Total 7

  2. #2
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Moving Sum when inserting rows

    Please try this file.
    Attached Files Attached Files
    Please click 'Add reputation', if my answer helped you.

  3. #3
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Moving Sum when inserting rows

    Hi ramananhrm
    , I was just seeing that instead of having it to the side could we have it underneath and when A line is inseted above it the sum will jump down a line.

    Thansk

  4. #4
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Moving Sum when inserting rows

    I have converted the date & values as table. Just use tab for inserting the date, then the values will calculate automatically.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Moving Sum when inserting rows

    Hi Ramananhrm,

    That works a treat thank you, is there a way also a way instead of adding them, finding the average for them.

    Thansk

  6. #6
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Moving Sum when inserting rows

    Thank you so much for the feedback.

    Please try this file & let me know if it works
    Attached Files Attached Files
    Last edited by ramananhrm; 09-30-2013 at 08:00 AM.

  7. #7
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Moving Sum when inserting rows

    Hi,

    Thanks but what about if its the first part of the month and theres only been 2 days, it should then divide it by two instead of 7

    Thanks

+ 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. [SOLVED] Inserting a cell and moving row right if value is whole
    By Sweepin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-08-2013, 08:40 PM
  2. Moving Cells and Inserting a New Row
    By MSmithson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-04-2010, 05:54 PM
  3. Moving down a chart when inserting rows
    By ctor in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 11-09-2009, 01:27 PM
  4. moving data from one row to another and inserting a header row
    By lembi2001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2009, 06:28 AM
  5. VBA - Inserting, Selecting, Moving Pictures?
    By Luckdow in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-09-2009, 06:30 AM

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