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

Total is not dividing correctly 1

Status
Not open for further replies.

CRilliterate

Technical User
Dec 7, 2005
467
US
I have data that looks like this

QTY AMOUNT AVERAGE
1.00 $2995 $2995
.025 $0 $0

1.25 $2995 $2995

Totaling fields at RFooter are SUM of Totaling fields at Groop Footer.

Like TotalQTY and SUM TotalQTY.

How do I make formula to never mind RFooter (it'll get supressed) but only to work with GFooter and have it
$2995/1.25 result?

Thanks much

________________________________________
I am using Windows XP, Crystal Reports 9.0 with SQL Server
 
sum({table.amt},{table.groupfield})/sum({table.qty},{table.groupfield})

-LB
 
I am sorry I can't seem to figure it out.
What is the groupfield in this formula?
I have only those 3 fields to manipulate
QTY AMOUNT AVERAGE

sum({table.amt},{table.groupfield})/
sum({table.qty},{table.groupfield})

So what is 'table.groupfield' ?

Tahnks

________________________________________
I am using Windows XP, Crystal Reports 9.0 with SQL Server
 
THANKSYOUVERYMUCH, lbass...as always you saved my day and fromula!!! Get a STAR!

________________________________________
I am using Windows XP, Crystal Reports 9.0 with SQL Server
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top