My Excel spreadsheet contains a Date in column A and the following formula in column B.
```
=IF([@IssueDate]<>"",TODAY()-[@IssueDate],"")
```
When the 'Compute' method is called, the result '#VALUE!' is assigned to column B rather than the proper value.
I was able to circumvent the problem by updating the arithmetic operator methods in file "Operator.cs" to support "DataType.Date'. I also updated "ExpressionConverter.cs" to handle "DataType.Date". Finally, I updated "DateExpression.cs". I have no confidence I made these changes correctly; I only mention this in the remote chance it might be helpful.
There is a second issue regarding Date values in arithmetic expressions that prevents the "<>" operator from begin parsed correctly. I submitted that issue in bug report 15073.
I have attached a simple spread sheet that reproduces this problem.
Comments: closed /MA
```
=IF([@IssueDate]<>"",TODAY()-[@IssueDate],"")
```
When the 'Compute' method is called, the result '#VALUE!' is assigned to column B rather than the proper value.
I was able to circumvent the problem by updating the arithmetic operator methods in file "Operator.cs" to support "DataType.Date'. I also updated "ExpressionConverter.cs" to handle "DataType.Date". Finally, I updated "DateExpression.cs". I have no confidence I made these changes correctly; I only mention this in the remote chance it might be helpful.
There is a second issue regarding Date values in arithmetic expressions that prevents the "<>" operator from begin parsed correctly. I submitted that issue in bug report 15073.
I have attached a simple spread sheet that reproduces this problem.
Comments: closed /MA