Difficult function: help needed.
Beertje,
Try this formula
=(years_with*1)+(MAX(0,age-51)*0.5)+(MAX(age-41,0)*0.5)
--
HTH
Bob Phillips
(remove nothere from email address if mailing direct)
"Beertje" wrote in message
...
Thanks Tomek, but I probably did not explain the problem very well.
Suppose the person is 54 year, and works 20 years at the company.
The factor is then the total of:
20 years times factor 1 plus
13 years time factor 0.5 for years worked older then or equal to 41 plus
3 years time factor 0.5 for years worked while older then or equal to 51.
This results in factor 28
Beertje.
|