D
DonV
Hi,
I need to create a formula that will calculate a date 21 business days from a date entered into an adjacent cell.
Example:
In cell A a date would be entered say, 12/12/07,
Cell B would then insert a date that is 21 business days later, but also add 1 day to the nearest Friday. So 21 days after 12/12/07 would be 1/10/08 and the nearest Friday would be 1/11/08. This would make it actually 22 days.
If the date enter is say 12/17/07, 21 days after would be 1/14/08 plus 4 days to the nearest Friday would actually make it 25 days.
I realize this sounds complicated but they need it to do this based on the date entered for calculating paydays for flat rate work.
This may explain what they are trying to do; "Every Friday, 21 days after a service call is closed, we mail a check to the technician."
So, if 21 days after a service call is closed ends on a Monday for example, the formula would need to add 4 more day to the 21 days. Or would it be easier for them to start from the Friday following the close date? So say the close date is 12/12/07, they would enter 12/14/07 (which is the Friday following the close date). The formula would then insert a date 21 days following Friday 12/14/07 which would simplify the formula calculation, I think.
Or would a macro be better suited to handle this type of calculation?
Any examples of a formula or macro would be appreciated. BTW, I agreed to assist but have had little experience with this type of calculation.
DonV-
I need to create a formula that will calculate a date 21 business days from a date entered into an adjacent cell.
Example:
In cell A a date would be entered say, 12/12/07,
Cell B would then insert a date that is 21 business days later, but also add 1 day to the nearest Friday. So 21 days after 12/12/07 would be 1/10/08 and the nearest Friday would be 1/11/08. This would make it actually 22 days.
If the date enter is say 12/17/07, 21 days after would be 1/14/08 plus 4 days to the nearest Friday would actually make it 25 days.
I realize this sounds complicated but they need it to do this based on the date entered for calculating paydays for flat rate work.
This may explain what they are trying to do; "Every Friday, 21 days after a service call is closed, we mail a check to the technician."
So, if 21 days after a service call is closed ends on a Monday for example, the formula would need to add 4 more day to the 21 days. Or would it be easier for them to start from the Friday following the close date? So say the close date is 12/12/07, they would enter 12/14/07 (which is the Friday following the close date). The formula would then insert a date 21 days following Friday 12/14/07 which would simplify the formula calculation, I think.
Or would a macro be better suited to handle this type of calculation?
Any examples of a formula or macro would be appreciated. BTW, I agreed to assist but have had little experience with this type of calculation.
DonV-