Bug 80092 - EDITING: Insert columns remaps SUMIF cell references incorrectly
Summary: EDITING: Insert columns remaps SUMIF cell references incorrectly
Status: RESOLVED DUPLICATE of bug 77647
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.4.2 release
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-16 11:16 UTC by sb.libreoffice@unlinked.co.uk
Modified: 2014-06-16 12:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example spreadsheet, ready to perform the insert operation. (11.40 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-06-16 11:16 UTC, sb.libreoffice@unlinked.co.uk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sb.libreoffice@unlinked.co.uk 2014-06-16 11:16:39 UTC
Created attachment 101164 [details]
Example spreadsheet, ready to perform the insert operation.

Problem description: 

Steps to reproduce:
1. Enter the following elements into a new spreadsheet:

B1 1
C1 x
B2 2
C2 y

A3 =SUMIF(C$1:C$2, "x", B$1:B$2)

A3 calculates 1 (correct).

Select column A by clicking column header. Shift-click column B header to select columns A&B. Right-click and choose "Insert columns left"

Current behavior:

Moved A3 cell (now at C3) incorrectly recalculates the cell references:
=SUMIF(E$1:E$2, "x", B$1:D$2)

Expected behavior:

Moved A3 cell (now at C3) correctly recalculates the cell references:
=SUMIF(E$1:E$2, "x", D$1:D$2)

Note: if you perform two single column inserts on column A rather than one insert on columns A&B, you get the correct result.

Operating System: Windows 8
Version: 4.2.4.2 release
Comment 1 m_a_riosv 2014-06-16 12:11:54 UTC
Hi @sb, thanks for reporting.

I think this is a duplicate of: https://bugs.freedesktop.org/show_bug.cgi?id=77647

Resolved in Version: 4.2.5.2
Build ID: 61cb170a04bb1f12e77c884eab9192be736ec5f5

Available to download in:
http://downloadarchive.documentfoundation.org/libreoffice/old/?C=M;O=D

*** This bug has been marked as a duplicate of bug 77647 ***