Report 2007

B

Bryan

Hi
I have a report and need to do some calculations. For most of it the calcs
are ok, I just need to show for example, if a=20 and b=30 I want the
calculation a-b to be equal to 0 and not -10, and b-a=10. I then need to
multiply another number by the result. I do not want to multiply by a
negative number. (total<0,0,total) does not work.
Thank you
Bryan
 
K

KARL DEWEY

if a=20 and b=30 I want the calculation a-b to be equal to 0
IIF([a]>, 0, [a]-)
IIF(IIF([a]>, 0, [a]-) = 0, [YourNumber], IIF([a]>, 0, [a]-)
* [YourNumber])
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top