Issue 102416 - after sorting cells, lookup function points to wrong cell
Summary: after sorting cells, lookup function points to wrong cell
Status: CLOSED DUPLICATE of issue 101690
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: OOO310m11
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: spreadsheet
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-01 14:23 UTC by robertvandersanden
Modified: 2009-06-02 00:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
sample: lookup points to wrong cell after sorting (9.07 KB, application/vnd.oasis.opendocument.spreadsheet)
2009-06-01 14:25 UTC, robertvandersanden
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description robertvandersanden 2009-06-01 14:23:47 UTC
the situation:

column A with id's, followed by column B with a lookup function, to find a
value, belonging to the id from a list in another worksheet, but in the same file.

id's are unsorted in the first place

example: in cell A1 is an id, in cell B1 is a lookup function, the lookup
searches in a list in another sheet for the value from cell A1.
the same for cell A2: the lookup function in B2 searches for the value of A2 in
that list
etc.

the problem:

When both columns are selected and sorted by the first column (holding the id),
the search function should follow the new location of the cells in the first
column, but it doesn't.

example: if row 1 moves to row 7 after the sort, the lookup in cell B7 should
look for the value in A7, because the content of cell A1 has moved to A7, but
the function still points to cell A1.

It used to work fine in 3.0.1, in 3.1.0 it's broken.

I prepared a very simple file demonstrating what goes wrong. I hope I find a way
to attach it...
Comment 1 robertvandersanden 2009-06-01 14:25:40 UTC
Created attachment 62684 [details]
sample: lookup points to wrong cell after sorting
Comment 2 Regina Henschel 2009-06-02 00:59:33 UTC
Known problem.

*** This issue has been marked as a duplicate of 101690 ***
Comment 3 Regina Henschel 2009-06-02 00:59:57 UTC
closing duplicate