discountvalue (Numbers, Euro)
and we want to perform a calculation in a new column.
If discount % has been entered, then “sales-(sales*Discount-%)”.
If discountvalue was used, then "sales-discountvalue).
We use these formula
if({discount-%}=‘’,({sales}-{discountvalue}),(sales-({sales}*{discount-%})))
But we always get the error message “Inconsistent data type”.
the problem was the condition inside the if clause. With “{discount-%} = ‘’, …” the errormessage happens.
With the “if({discount-%} > 0, …” it works.
Tnx for your help