Bug 47588

Summary: Calc stops indexing VLOOKUP in xls format after 65536 rows
Product: LibreOffice Reporter: Cor Nouws <cno>
Component: SpreadsheetAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: cno
Version: 3.3.0 release   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: original ods
resulting .xls with #REF!

Description Cor Nouws 2012-03-20 08:09:57 UTC
Attached an ods spreadsheet with in 
  B3   =VLOOKUP(A4;Sheet2.$A$1:$B$65536;2)
and in 
  B4   =VLOOKUP(A4;Sheet2.$A$1:$B$65537;2)

Steps:
1 - Save document as xls (MS 97/2000/2003)
2 - Close and open document
   > B3 shows correct value and B4 #REF!

The original .ods does not have this problem
Comment 1 Cor Nouws 2012-03-20 08:14:58 UTC
Created attachment 58758 [details]
original ods
Comment 2 Cor Nouws 2012-03-20 08:16:21 UTC
Created attachment 58759 [details]
resulting .xls with #REF!
Comment 3 QA Administrators 2014-10-24 03:18:24 UTC
Please read this message in its entirety before responding.

Your bug was confirmed at least 1 year ago and has not had any activity on it for over a year. Your bug is still set to NEW which means that it is open and confirmed. It would be nice to have the bug confirmed on a newer version than the version reported in the original report to know that the bug is still present -- sometimes a bug is inadvertently fixed over time and just never closed.

If you have time please do the following:
1) Test to see if the bug is still present on a currently supported version of LibreOffice (preferably 4.2 or newer).
2) If it is present please leave a comment telling us what version of LibreOffice and your operating system.
3) If it is NOT present please set the bug to RESOLVED-WORKSFORME and leave a short comment telling us your version and Operating System

Please DO NOT
1) Update the version field
2) Reply via email (please reply directly on the bug tracker)
3) Set the bug to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link:
https://wiki.documentfoundation.org/QA/BugTriage

There are also other ways to get involved including with marketing, UX, documentation, and of course developing -  http://www.libreoffice.org/get-help/mailing-lists/. 

Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material
Comment 4 Cor Nouws 2014-10-24 12:34:34 UTC
The problem is still present in 4.3.3.1, Linux.

Related to, maybe even justified by, the fact that xls originally didn't support nRows > 65536 ?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.