+ Reply to Thread
Results 1 to 7 of 7

Re-ordering cells changes the formula

Hybrid View

flimper Re-ordering cells changes the... 12-11-2006, 12:26 PM
Carim Hi, Remove absolute... 12-11-2006, 12:29 PM
flimper Unfortunately it doesn't make... 12-11-2006, 12:33 PM
Carim Can you tell us what you are... 12-11-2006, 12:36 PM
flimper I want the totals of cells... 12-11-2006, 12:43 PM
michaelc Expand sum range 12-11-2006, 12:44 PM
flimper I already have a line of text... 12-11-2006, 12:50 PM
  1. #1
    Registered User
    Join Date
    12-11-2006
    Posts
    4

    Re-ordering cells changes the formula

    Hi,

    I'm new so please bear with me. I have 3 rows of information being totalled up c2:c26, g2:g26 and j2:j26.

    When I move the cells about the formulas which total the cells (=SUM$C$2:$C$26 etc) change.

    For instance if I move C3 above C2 the totals at the bottom change to c3:c26 instead of c2:c26.

    If anybody can understand my ramblings I would much appreciate any help. Thanks.

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    Remove absolute references ...

    =SUM(C2:C26)
    HTH
    Carim

  3. #3
    Registered User
    Join Date
    12-11-2006
    Posts
    4
    Unfortunately it doesn't make any difference.

    I cut cells a3 to d3 and insert above a2 to d2 and it changes the formula from c2:c26 to c3:c26

  4. #4
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Can you tell us what you are after ...
    What is the final result you are looking for ...?

    Carim

  5. #5
    Registered User
    Join Date
    12-11-2006
    Posts
    4
    I want the totals of cells c2:c26 to always be totalled up in cell 27 and not to be affected by me reordering or moving any of the said cells.

  6. #6
    Registered User
    Join Date
    12-11-2006
    Posts
    3

    Expand sum range

    Hi there,

    The best I can suggest is that you add in a blank line above row 2 and below row 26 and then expand your formula to include these. i.e, now you have c2:c26. by adding the two lines, you will have c2:c28 with your first line of data being on row three. This way, you can move all lines up and down without affecting the formula as long as you don't go "outside" the new boundaries. You will be able to move c4 to c3 and the total will remain correct (as long as you place c3 where c4 was of course!). Otherwise, use the row insert function to insert new rows before moving items around.

    Hope that helps.

    MC

  7. #7
    Registered User
    Join Date
    12-11-2006
    Posts
    4
    I already have a line of text in row 1 so I changed the formula from c2:c26 to c1:c26 and it seems to have solved the problem. Many thanks fior the advice

+ 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