Excel formula not calculating when using IFERROR and propertyExpression

I'm using jasper reports 4.7, and I'm working on creating an excel report using the IFERROR excel function.  Here is an example of one of the text fields I am using

 

However, when I open this up, Excel has #NAME? in the cell.  If I edit the cell, but don't make any changes to its contents, the formula is calculated correctly.  If I remove the IFERROR function from the above propertyExpression, the division calculates fine in my excel file.  Do I need to do something else to get the IFERROR function to calculate properly?
btenney's picture
Joined: Feb 21 2013 - 10:51am
Last seen: 4 years 4 months ago

1 Answer:

Hi,

The IFERROR() function is not recognized by Excel 2003. In this case it should be replaced by IF(ISERROR(...), ... , ...).

But for Excel 2007 or newer, IFERROR() is the right function, indeed. In this case, please upload a file containing your sample formula.

Regards,

sanda

shertage's picture
18802
Joined: Sep 26 2006 - 8:06pm
Last seen: 9 months 1 week ago
Feedback
randomness