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!

Report Index calculation

Status
Not open for further replies.

cav

MIS
Feb 3, 2000
49
US
The report I'm now working on groups projects; and lists employees who worked on the project, and includes #Ints and #ofHrs among other fields. The project footer calculates the project average as follows: =Sum([#Ints]/Sum[#Hrs]). OK so far, but now I'd like to include an Index for each employee--=100*[#Hrs]/Sum([#Ints]/Sum[#Hrs])--the demoninator is the Project Average spelled out. It doesn't seem to work. Can this index be calculated on the report or do I have to go back and perform a project average update query and the have the report get that info??<br>
As usual &quot;Thanks&quot; for any input.
 
try putting parentheses around the entire denominator<br>
<b><br>
=100*[#Hrs]/(Sum([#Ints]/Sum[#Hrs]))<br>
</b><br>
it's algebra, and sometimes the slight change makes all the difference<br>
<p>Brian Famous<br><a href=mailto:bfamous@ncdoi.net>bfamous@ncdoi.net</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top