Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding sums together

Status
Not open for further replies.

auburnfan

Technical User
Jan 4, 2006
22
0
0
US
Hello all,
Is there a way to add two sums together? I have been trying to figure this out without much luck.
thanks
 
Do you mean two sums in the same group section or are you talking about totaling sums across different group instances?

-LB
 
Here is a breakdown of what I have.
{sumoftable.totalpages} this is say 100
{sumoftable.totaldeleted} this is say 50
I need it to tell me what the 100 - 50 would be.
They are in the same group not sure if that is what you mean though...
 
If these are in fact sums at the group level, then the formula would be:

sum({table.totalpages},{table.groupfield})-
sum({table.totaldeleted},{table.groupfield})

Place this in the group header or group footer.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top