excel-streaming-reader icon indicating copy to clipboard operation
excel-streaming-reader copied to clipboard

Quoted value of a formula cell

Open antone-sb opened this issue 9 years ago • 1 comments

Hi! I've noticed that for a formula cell the value is returned in quotes. Is this by design? What is the reason for it? In particular, if the value is an empty string, two quote marks are returned. SampleSum.xlsx I get the following values with attached file: -4 "minus" 4 ""

antone-sb avatar Dec 02 '16 11:12 antone-sb

Good catch, I have noticed similar behavior with the numbers, it should be fixed with this pull request https://github.com/monitorjbl/excel-streaming-reader/pull/118

Main file Main.java.txt Input SampleSum2.xlsx

Before #118

-4.0      "minus"        "minus"        minus      
 4.0           ""             ""      "minus"      
-4.0      "minus"      ""minus""      "minus"      

After #118

-4.0      minus        minus        minus      
 4.0                              "minus"      
-4.0      minus      "minus"      "minus"      

Native Apache Poi

-4.0      minus        minus        minus      
 4.0                              "minus"      
-4.0      minus      "minus"      "minus"      

apixandru avatar Oct 27 '17 07:10 apixandru