Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
520
Error exporting formula "IF" to Excel (2003)
posted

The formula I use in my Ultragrid column is the following:

   if( [Column1]='0001' , 'Gernot' , 'Michael' )

The Excel formula created during the export is:

   =IF((B6 = "0001"), "Gernot", "Michael")

An Error occurs in Excel and the FormulaxportErrorEvent is fired

The error text is:

   A function in the formula has no closing parenthesis. Portion with error: IF((B6 = "0001")

Thank you for any help!

Michael

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi Michael,

    I tried this out and I am getting errors when I try to open the Excel file but I don't get the FormulaExportError firing.

    My formula looks just like yours, though, and I don't see anything wrong with it, nor any reason why it should not work in Excel, so it looks like there's a bug here.

    I'm going to forward this thread over to Infragistics developer support so they can check it out, but they will probably need more information from you, like what version you are using.

Children