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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding two different columns????

Status
Not open for further replies.

bgreen

Programmer
Feb 20, 2003
185
CA
I have two columns I must add and I am unsure how to do it. As of right now I have two summary columns, which hold two different values. I need to total these up. How?
 
Hi,
If I understand your requirement correctly :
a) f1 and f2 are 2 fields then :
You need sum of f1 and f2 If this is the requirement.
write a formula column that returns sUM(f1,f2). But this shall be running total i.e if f1 and f2 change value then formula column value also should change. Hene all the 3 i.e f1,f2 and CF_sum should be present in the same group. (else you may get in Layout Referring to below 'Frequency)

b) Add the totals of f1 and f2:
As you already have summary columns on f1 and f2 . Write a formula column CF_1 to return (SUM (S1,S2)) where S1= Sum(f1) and S2=SUM(f2).
This can be at report level also.

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top