{"text_format":"3","workbook":"xls","n_sheets":2,"sheets":["Read Me","Ifna"],"not_rendered":{"external_links":1,"defined_names":6},"read":"whole","date_system":"1900","formulas":"cached_only"}

{"sheet":"Read Me","index":0,"n_rows":11,"n_cols":1,"rows_kept":11,"flags":["formulas_cached_only"]}
["This spreadsheet contains various test cases for the IFNA function."]
["Name of the main junit test class which uses this spreadsheet:"]
["org.apache.poi.ss.formula.functions.TestIfnaFromSpreadsheet"]
["(The content of cell 'Read Me'!A3 is confirmed by the test)"]
[]
["Every sheet besides this first one contains formula evaluation test cases in a standardised format."]
["On row 4 of each sheet, in columns B,C,D there are the column headings \"Formula\", \"Expected Result\" and \"Comment\""]
["The test iterates down from row 5 onward  until a the text \"<end>\" is found in column A.   Rows with \"<skip>\" in column A are ignored (useful for currently unsupported behaviour).  Otherwise column A can be used for commenting the group of rows below. "]
["If the evaluated result of column B does not match the expected result in column C, the junit test will report a failure.  Test failures get annotated with the section and row comments, if any."]
["Besides the first 4 columns, row 5 onwards, the junit test does not inspect any other cells in the sheet.  The other cells can be used freely to set up test data."]
["Care should be taken to not only make the values in column C match those in column B, but also to make sure column C contains only simple literal values.  This can be achieved easily by 'pasting special' from column B to C, selecting the 'as values' option."]

{"sheet":"Ifna","index":1,"n_rows":13,"n_cols":6,"rows_kept":13,"flags":["formulas_cached_only"]}
[null,"Sheet Comment:","Tests for IFNA(test-value,default-value)"]
[]
[]
[null,"Formula","Expected Result","Comment","Test data","Default"]
[null,-1,-1,"Testing numeric values",-1,42]
[null,42,42,"Testing an N/A value with a numeric default",{"$error":"#N/A"},42]
[null,{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},"Testing a division-by-zero error",{"$error":"#DIV/0!"},42]
[null,0,0,"Testing a blank value",null,42]
[null,"\"a1\"","\"a1\"","Testing a string value","\"a1\"","\"a2\""]
[null,"\"a2\"","\"a2\"","Testing an N/A value with a string default",{"$error":"#N/A"},"\"a2\""]
[null,42,42,"Testing a numeric value with an error in the default",42,{"$error":"#DIV/0!"}]
[null,{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},"Testing an N/A value with an error in the default",{"$error":"#N/A"},{"$error":"#DIV/0!"}]
["<end>"]