07.05.2014 Views

The Microsoft Excel File Format - OpenOffice.org

The Microsoft Excel File Format - OpenOffice.org

The Microsoft Excel File Format - OpenOffice.org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.50 FORMULA<br />

• Result of the Formula<br />

Dependent on the type of value the formula returns, the result field has the following format:<br />

Result is a numeric value:<br />

Offset Size Contents<br />

0 8 IEEE 754 floating-point value (64-bit double precision)<br />

Result is a string (the string follows in a STRING record, ➜5.102):<br />

Offset Size Contents<br />

0 1 00 H (identifier for a string value)<br />

1 5 Not used<br />

6 2 FFFF H<br />

Note: In BIFF8 the string must not be empty. For empty cells there is a special identifier defined (see below).<br />

Result is a Boolean value:<br />

Offset Size Contents<br />

0 1 01 H (identifier for a Boolean value)<br />

1 1 Not used<br />

2 1 0 = FALSE, 1 = TRUE<br />

3 3 Not used<br />

6 2 FFFF H<br />

Result is an error value:<br />

Offset Size Contents<br />

0 1 02 H (identifier for an error value)<br />

1 1 Not used<br />

2 1 Error code (➜2.5.6)<br />

3 3 Not used<br />

6 2 FFFF H<br />

Result is an empty cell (BIFF8), for example an empty string:<br />

Offset Size Contents<br />

0 1 03 H (identifier for an empty cell)<br />

1 5 Not used<br />

6 2 FFFF H<br />

177

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!