A
alecgreen
Hi, I am using the following IIF statement to calculate the percentage
difference between a Selling Price and a Order Selling Price, bearing
in mind you cannot deivide by zero!
OrdvsSell: IIf([SellingPrice]=0,"NO
CALC",(([OrderSellingPrice]-[SellingPrice])/[SellingPrice]*100))
However I cannot format the result to say 2 decimal places, instead of
the actual calculated result - Can this be done within the IIF
statement?
Thanks
Alec
difference between a Selling Price and a Order Selling Price, bearing
in mind you cannot deivide by zero!
OrdvsSell: IIf([SellingPrice]=0,"NO
CALC",(([OrderSellingPrice]-[SellingPrice])/[SellingPrice]*100))
However I cannot format the result to say 2 decimal places, instead of
the actual calculated result - Can this be done within the IIF
statement?
Thanks
Alec