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

Subtotals

Status
Not open for further replies.

LeonelSanchezJr

Programmer
Joined
Jan 26, 2001
Messages
522
Location
US
I have a report which is grouped by COLUMN A and has SUBTOTALS and GRAND TOTALS.

Column D = (COLUMN C / COLUMN B) * 100
So, the SUBTOTAL for COLUMN C should be calculated similarly; not SUMMED.

COLUMN A COLUMN B COLUMN C COLUMN D
ABC 90 25 27.77%
ABC 80 33 41.25%

Subtotal: 170 58 34.12%

The same goes for the GRAND TOTALS.

Thanks,

Leo ;-)
 
Take a look at the RECOMPUTE or SUMMARIZE commands.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top