GNOME Bugzilla – Bug 439347
=sum(xx:yy) broken on delete cell yy
Last modified: 2007-07-25 23:35:00 UTC
If you have data in cells A2..A6 and you have cell A7 "=sum(A2:A6)" and you attempt to delete cell A6, then you have an error because now cell A6 contains "=sum(A2:A6)" The correct data should have been updated to "=sum(A2:A5)" #1)To reproduce the bug, enter data in: A2=1 A3=2 A4=3 A5=4 A6=5 A7=sum(A2:A6) #2)Now delete cell A6 - go to menu-Edit->Delete->Cells #3)The pop-up says up (if not, please select move-up). Click okay to continue #4)Cell A6 gets deleted and cell A7 moves up into cell A6 but does not get modified to "sum=(A2:A5)" Note: The problem also happens if you select a block of cells such as selecting cells A5 and A6 and then going to the menu to menu-Edit->Delete->Cells
Created attachment 88371 [details] spreadsheet with A2...A7 filled in with data and pointing to cell A6 I have included a gnumeric spreadsheet filled with data A2...A7. If you point at A6 and delete the cell (upwards) it should cause the error of not updating =sum(A2:A6) to the new value of =sum(A2:A5)
Working on a patch. The problem was fixed for ins/del cols/rows. However, my heuristics get tossed here because the clearing operation moves the old content in both directions.
Patch is in 1.7.11