0

NP(Formula,..) shows wrong value when one field value blank

Hello,

I am facing two issues while using the NP("Formula","[@[Order Date]]-[@Document Date]")to calculate the difference between two cells containing date values.

Now, in this scenario when the order date & document have a value, i.e. 01/10/14 & 10/10/14, then system shows it correctly.

In case, the Order date is 01/10/14 & document date is blank, then the diffencence is still shown with some value as -41950 and this value changes as the value changes.
It seems that in case one of the date is blank in the Purchase header, the system picks up some starting date and calculates difference accordingly.

Do I have to set a date in Jet Report/Excel to handle the situation where any of the fields would be blank?

Thanks in advance for your help.

4 comments

Please sign in to leave a comment.