Minus sign in Sum

  • Thread starter Thread starter Wayne
  • Start date Start date
W

Wayne

How do I get rid of the minus sign in my sums on a
report. Would I just put a minus sign in front of the Sum

ie; =-Sum([amount])

This works but seems to be poor coding

Thanks
 
Wayne said:
How do I get rid of the minus sign in my sums on a
report. Would I just put a minus sign in front of the Sum

ie; =-Sum([amount])

This works but seems to be poor coding

It is a little cryptic, but it is fast. Maybe you'd like
=Abs(Sum(amount))
a little more, even it takes serveral more nanoseconds.

Since Sum and negation distribute, you could also use:
=Sum(-amount)

Personally, i think its a don't care, but others have their
own preferences.
 

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

Back
Top