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!

Struggling with YTD formula

Status
Not open for further replies.

pmk16

Programmer
Nov 20, 2002
33
US
I have been trying to achieve the following.

Considering Feb as the beginning of fiscal year,

For i:= 1 to 12 do // i= month 1 - 12
if month=Feb then
%age = Number of employees terminated % Total Headcount of employees for Feb
else
%age = current month %age + previous month %age
 
Which Crystal? What happens to your formula? What are you testing?

I think you need to group by month. Take a look at Crosstabs, they might give you a simple answer. Failing that, group records by month and calculate percentages.



[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top