Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Sum problem when insert new row

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Posts
    82
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Please help!
    Suppose in:
    Cell A1 --> 10
    Cell A2 --> 20
    Cell A3 --> 30
    Cell A4 --> =sum(A1:A3)

    If I have edit a new row at row 4 and enter 40 in the new Cell A4,
    Cell A1 --> 10
    Cell A2 --> 20
    Cell A3 --> 30
    Cell A4 --> 40
    Cell A5 --> =sum(A1:A3)

    The problem arise such that the sum formula in cell A5 does not include the value in the new row added. or change to =sum(A1:A4)

    Any Advise??

    Many thanks to those who help



  2. #2
    Rest in Peace
    Join Date
    Feb 2002
    Posts
    1,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Just put your SUM Function is cell A5 instead, this way you will always have a blank row between your data and your formula. Use this row to add more.



    _________________
    Kind Regards
    Dave Hawley
    OzGrid Business Applications
    Microsoft Excel/VBA Training


    [ This Message was edited by: Dave Hawley on 2002-03-26 02:47 ]

  3. #3

    Join Date
    Mar 2002
    Posts
    372
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Or alternatively (no need to maintain a blank row), put in A4 :-

    =SUM(A1:OFFSET(A4,-1,0))

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •