DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41906>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41906





------- Additional Comments From [EMAIL PROTECTED]  2007-03-20 09:45 -------
Test code:

        HSSFWorkbook book = new HSSFWorkbook();
        HSSFSheet sheet = book.createSheet();

        HSSFRow row0 = sheet.createRow(0);
        row0.createCell((short)0).setCellValue(1);
        row0.createCell((short)1).setCellValue(1);
        row0.createCell((short)2).setCellValue(3);
        row0.createCell((short)3).setCellFormula("SUMIF(A1:A100;B1;C1:C100)");

        HSSFRow row1 = sheet.createRow(1);
        row1.createCell((short)0).setCellValue(1);
        row1.createCell((short)1).setCellValue(1);
        row1.createCell((short)2).setCellValue(3);
        row1.createCell((short)3).setCellFormula("SUMIF(A1:A100;B1+0;C1:C100)");
        
        FileOutputStream fos = new FileOutputStream("book.xls");
        book.write(fos);
        fos.close();

First row in resulting workbook contains formula, that is not calculated by 
Excel.
Second row contains formula, that is calculated properly.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to