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

help with calculation in report 1

Status
Not open for further replies.

Spyridon

Technical User
Jun 27, 2003
45
US
Anyone care to straighten this out?

I have 3 text boxes in a report that are:

"Orders" "Canceled" "Finished" "Percent Finished"
124 26 98 ?????

I'm needing to find the percent of finished orders. The calculation is a mess, but the only problem comes in with the "Percent Finished". What I have in there right now is:

=(Abs(Sum([Status]="Finished"))/Abs(Sum([Status]="Finished"))+Abs(Sum([Status]="Canceled")))

but this gives me a total of %2700... which is obviously not right. It should be around %79.. Anyone care to help???? Please, Please, Please!! :)
 
try this...

In your text box control source enter:

=[Finished]/[Orders]

Next, in the Format property of same text box select Percent.

Run it.

Does this work?

Hope this helps you.

 
oh my goodness... and I thought that I had already tried that and it wouldn't work. Shame on me... And may band of generous leperchauns come your way!

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top