There are 27 pay periods in 2009 as listed below. This is an example of what I would like to do.
An employee gets hired on 7/27, there are 10 remaining pay periods in the year.
So, using the formula .385x, where x=remaining pay periods, we get .385*10=3.85
The answer should than be rounded up to 4.
There are a total of 3 different formulas, .577x, .385x and .769x. I assume whatever I do for one I can do for all 3. The fields all show up in the form based on the answers in two other fields, ddlPosition and ddlEmployeeType.
I would like for the answer to the formula populate automatically when that field is visible. I do have a date field called HireDate that can be used to help trigger the formula.
|
12/14/2008 – 12/27/2008
|
|
12/28/2008 –
1/10/2009
|
|
1/11/2009 –
1/24/2009
|
|
1/25/2009 –
2/7/2009
|
|
2/8/2009 –
2/21/2009
|
|
2/22/2009 –
3/7/2009
|
|
3/8/2009 –
3/21/2009
|
|
3/22/2009 – 4/4/2009
|
|
4/5/2009 –
4/18/2009
|
|
4/19/2009 – 5/2/2009
|
|
5/3/2009 –
5/16/2009
|
|
5/17/2009 –
5/30/2009
|
|
5/31/2009 –
6/13/2009
|
|
6/14/2009 – 6/27/2009
|
|
6/28/2009 –
7/11/2009
|
|
7/12/2009 –
7/25/2009
|
|
7/26/2009 –
8/8/2009
|
|
8/9/2009 –
8/22/2009
|
|
8/23/2009 –
9/5/2009
|
|
9/6/2009 –
9/19/2009
|
|
9/20/2009 – 10/3/2009
|
|
10/4/2009 –
10/17/2009
|
|
10/18/2009 –
10/31/2009
|
|
11/1/2009 –
11/14/2009
|
|
11/15/2009 –
11/28/2009
|
|
11/29/2009 –
12/12/2009
|