#1   Report Post  
Posted to microsoft.public.excel.misc
sunderland27
 
Posts: n/a
Default date formulas

Orig Hire Date Term Date Rehire Date Difference New
Conv Date
09/15/2005 03/22/2006 04/15/2006 24 04/15/2006

if Difference is less than or equal to 30, then New Covg should be first of
the month following the Rehire Date unless Rehire Date is on the first, in
which case New Covg should be the Rehire Date

does anyone have an idea on how to do this. i have some ideas but wondering
if they will work. thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
Miguel Zapico
 
Posts: n/a
Default date formulas

You can try this one for New (supposing in cell E2)
=IF(D2<=30,IF(DAY(C2)=1,C2,DATE(YEAR(C2),MONTH(C2) +1,1)),"Greater than 30")

"sunderland27" wrote:

Orig Hire Date Term Date Rehire Date Difference New
Conv Date
09/15/2005 03/22/2006 04/15/2006 24 04/15/2006

if Difference is less than or equal to 30, then New Covg should be first of
the month following the Rehire Date unless Rehire Date is on the first, in
which case New Covg should be the Rehire Date

does anyone have an idea on how to do this. i have some ideas but wondering
if they will work. thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
sunderland27
 
Posts: n/a
Default date formulas

That worked great. how would i work this one?

if Difference is greater than 30, then New Covg should be first of the month
following Rehire Date plus 3 months; unless Rehire Date is on the first, in
which case New Covg should be the Rehire Date + 3 months

"Miguel Zapico" wrote:

You can try this one for New (supposing in cell E2)
=IF(D2<=30,IF(DAY(C2)=1,C2,DATE(YEAR(C2),MONTH(C2) +1,1)),"Greater than 30")

"sunderland27" wrote:

Orig Hire Date Term Date Rehire Date Difference New
Conv Date
09/15/2005 03/22/2006 04/15/2006 24 04/15/2006

if Difference is less than or equal to 30, then New Covg should be first of
the month following the Rehire Date unless Rehire Date is on the first, in
which case New Covg should be the Rehire Date

does anyone have an idea on how to do this. i have some ideas but wondering
if they will work. thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert Automatic, Non-Updating Date Stamp Ken Zenachon Excel Discussion (Misc queries) 8 January 18th 06 06:52 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Date formulas needed David Excel Discussion (Misc queries) 9 July 24th 05 02:01 AM
Min/Max formulas using cells with date format WDS2000 Excel Worksheet Functions 1 February 7th 05 06:03 PM
Using formulas to determine date in one cell based on date in anot Gary Excel Worksheet Functions 2 November 22nd 04 08:11 AM


All times are GMT +1. The time now is 06:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"