Created attachment 34052 [details] dstar_empty_header_fix.patch The D* functions errored out when the database headers contained blank cells. Excel 2013/Win7 doesn't (I didn't try with other Excel versions). This patch fixes that. Test included.
Created attachment 34053 [details] DGet.xls Updated test xls file.
(In reply to Patrick Zimmermann from comment #0) > Test included. Could you re-upload your patch? I did not see a unit test for this.
The respective test is in the DGet.xls file. That file should replace test-data/spreadsheet/DGet.xls
I see the added test in DGet.xls now Row 102: > empty cells > =DGET(G103:I104,"Three",K103:L104) > don't fail with empty cells in DB headers Applied in r1753346. Thanks for the patch! This will be included in POI 3.15 beta3.
(In reply to Patrick Zimmermann from comment #0) > Excel 2013/Win7 doesn't [error out] (I didn't try with other Excel versions). Formula evaluation does not error out in LibreOffice 5.0.3.2, either.