elsenorjose
Technical User
I am using CR XI R2 against a SQL Server 2000 backend. A field in one of the tables in my report is typed NVARCHAR (5) and can have numeric values, text values, or NULL. The column is a scoring column where a user can enter a 1-10 rating, leave blank, or enter some text such as 'NA'. We export this report to Excel for further analysis. The end user has asked if we can format the field to numeric so they don't have to do it in Excel. Is there a way to write a formula that can accomplish this? I've tried "If NumericText ({field}) then ToNumber ({field}) else {field}" but I get an error highlighting the field name after "else" stating "A number is required here". The end result should be that once the data is exported, Excel sees the field as Number and not String.
Thank you.
Thank you.