Solved

formula percentage calculation

Posted on 2008-10-10
2,023 Views
Hi
Im trying to figure out a percent utilization of time report which Im about 90% complete on but I cant seem to get the last % calculation  to work properly

Heres the scenario:

I have a formula that calculated the number of workdays in the date range the report brings back.
In each of those days im utilizing 5 min time  slots so I multiply the number of work days formula by 288 in a formula called total slot count.

My next formula is the utilized slot count is just a subtraction of start slot time from stop slot time.

So next I want to calculate a percentage of the total slot count by utilized slot count so I can calculate the percent of time used vs. time slotted .. I cant get this to work in another formula called percent utilization which Ive tried (sum ({@Utilized Slot Count}))/{@Total Slot Count}* 100.

These are currently sitting in a group header for person lastname to get a sum of all days that are returned

Any ideas?
0
Question by:shockacon
• 2

LVL 100

Accepted Solution

mlmcc earned 500 total points
Try it with the group specified

sum ({@Utilized Slot Count},{GroupField}))/{@Total Slot Count}* 100

mlmcc
0

Author Comment

Once again you come thru.. there's a reason your #1 in the category! :) thanks again.
0

LVL 100

Expert Comment

Next time you want to use a summary in groups.

Right click the field
Click INSERT --> SUMMARY
Setup the summary calculation
Choose the location
Group footer

When you want to use it in a calculation it will be in the list of report fields in the formula editor

mlmcc
0

Featured Post

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…