Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Rick,
The formula works well for most dates except the ones on the second day of the month (i.e., 5/2/07, 6/2/07, 7/02/07) because it gives you back their own value. What do you think? "Rick Rothstein (MVP - VB)" wrote: Employees are eligible for benefits the first day of the month after 60 days of work. Example: An employee starts working today 6/26/07; her benefits are effective September 1st., which is the first day of the month after 60 days of work. What formula I can use to come up with the effective date for benefits? Assuming if 60 days hence ends up on the first of the month, you use that date... =IF(DAY(A1+60)=1,A1,DATE(YEAR(A1+60),1+MONTH(A1+60 ),1)) Change the A1 reference to the cell where your date is. Rick |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Fomula for number of days on each month from a date range | Excel Discussion (Misc queries) | |||
Auto calculate for date + days forward to yield new date | Excel Worksheet Functions | |||
Calculate Days in a Month | Excel Discussion (Misc queries) | |||
formula to calculate future date from date in cell plus days | Excel Worksheet Functions | |||
Calculate running target by days in the month | Excel Worksheet Functions |