+ Reply to Thread
Results 1 to 5 of 5

formulas change when I add a row...help

  1. #1
    Registered User
    Join Date
    09-02-2014
    Location
    Calgary Alberta
    MS-Off Ver
    microsoft office starter 2010
    Posts
    3

    formulas change when I add a row...help

    I am trying to do something that I think is simple yet I just can't seem to figure this out. I am trying to tally totals of a number of rows and add a new row every day. The top 7 and 30 rows in column b. the basic formula would be in my case B1=sum(b5:b11) and b2=sum(b5:b34) however, when I insert a new row at b5 the formula changes to b1=sum(b6:b12) and b2=sum(b6:b34). I want the original formula to always calculate the top 7 and 30 sums. I hope this is a good explanation and a simple answer that is just eluding me. please help, I would be very grateful.

  2. #2
    Registered User
    Join Date
    09-02-2014
    Location
    Singapore
    MS-Off Ver
    Office 2013
    Posts
    26

    Re: formulas change when I add a row...help

    Please Login or Register  to view this content.
    Put dollar signs in front of your row numbers of your code like above.
    Check out my gig@ http://www.fiverr.com/s/5syr1l

  3. #3
    Registered User
    Join Date
    09-02-2014
    Location
    Calgary Alberta
    MS-Off Ver
    microsoft office starter 2010
    Posts
    3

    Re: formulas change when I add a row...help

    My apologies, I should have mentioned I tried that and yet the formula still changes to b1=sum(b$6:b$11) etc..

  4. #4
    Registered User
    Join Date
    09-02-2014
    Location
    Calgary Alberta
    MS-Off Ver
    microsoft office starter 2010
    Posts
    3

    Re: formulas change when I add a row...help

    I think I have attached my worksheet hopefully this helps. It is basically a running total of the last 7 and 30 days in e-transfers used to ensure we are below our banking limits, or more importantly how close we are to the limits.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-22-2014
    Location
    London
    MS-Off Ver
    2010
    Posts
    30

    Re: formulas change when I add a row...help

    Hi there,

    The below formula should help with this:

    Please Login or Register  to view this content.
    Hope this helps!

    Mike

+ 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] Change formulas in cells with VBA?
    By excellenthelp in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-28-2013, 12:03 PM
  2. [SOLVED] 2 Out of 7 Formulas Change When Sorted
    By PPD in forum Excel General
    Replies: 1
    Last Post: 09-26-2012, 02:37 PM
  3. Change all regular formulas into array formulas
    By sans in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 06-18-2012, 11:28 AM
  4. Macro to change the formulas
    By bellcards in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 07-07-2011, 02:07 PM
  5. VBA to change mass formulas
    By David in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-31-2005, 10:05 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