Formula help for a date function

mjmoon

Board Regular
Joined
Mar 1, 2005
Messages
249
I need a formula that will calculate the next review date based on the original date plus 180 days. The next review date is always going to the first day of a month regardless if the orginal date was on the 12th or 28th as an example. The problem I have is the original date can be from 3 to 6 years ago, each one is different. This spreadsheet is used once a month on the first day.

I have cell C3 set for the user to put in the first day of the particular month they are working on. I beleive this has to be part of the formula some way or form.

Column B contains the original date of the document needing to be reviewed. Column C is where I want it to calucate the next review date based on the above mentioned condition of 180 days from the original date. Here is what I want column C to look like with the new formula.

Original Date = 5-18-09 next review date = 11-1-10
Original Date = 6-29-09 next reveiw date = 12-1-10
Original Date = 5-27-10 next reveiw date = 11-1-10

The next review dates will have to stay the same each month until the date exceeds what is in C3 then it will need to calucate the next 180 reveiw date.

Thank you in advance for your consideration.
 

Some videos you may like

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

mjmoon

Board Regular
Joined
Mar 1, 2005
Messages
249
Thanks for the quick reply. The formula doesn't quit work. With this formula scenario #1 returned 11-1-09 when it should be 11-1-10. Scenario #2 should be 12-1-10. Scenario #3 is correct because the original date is less than 180 days old where #1 is actually 435 days old based on the original date to today's date. Any other suggestions?
 

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,344
You say "the next review date based on the original date plus 180 days"

but 05-18-2009 + 180 days is not 11-01-2010 ?

Would it be right to say the review date is obtained by

1) calculate review date + 180 days
2) Take the result of that date and calculate the first of that month
3) Regardless of the result of that year change the year to 2010

?
 

sumuwin

New Member
Joined
Sep 8, 2009
Messages
38

ADVERTISEMENT

Hi

assuming your date is in cell A1, how about

For 6 months
Code:
=DATE(YEAR(NOW()),MONTH(A1)+6,1)
For 180 days
Code:
=DATE(YEAR(NOW()),MONTH(A1),1)+180

atb
sumuwin
 
Last edited:

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
Let's suppose one of your dates is 13th April 2008, presumably the next review is 1st Oct 2010, when does that change? Assuming that it should change to 1st April 2011 once C3 reaches 1st Oct 2010 try

=EOMONTH(B1,CEILING(DATEDIF(B1-DAY(B1)+1,C3,"m")+1,6)-1)+1
 
Last edited:

mjmoon

Board Regular
Joined
Mar 1, 2005
Messages
249
First of all, I apologize for not wording my question correctly, my fault. Thanks to all for your input. I ended up using Barry's formula and everything worked great! Thank you again. I can't say enough how valuable this resource is and do appreciate everybodys time they put into answering these post.
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,395
Messages
5,511,096
Members
408,825
Latest member
Goncalves74

This Week's Hot Topics

  • Turn fraction around
    Hello I need to turn a fraction around, for example I have 1/3 but I need to present as 3/1
  • TIme Clock record reformatting to ???
    Hello All, I'd like some help formatting this (Tbl-A)(Loaded via Power Query) [ATTACH type="full" width="511px" alt="PQdata.png"]22252[/ATTACH]...
  • TextBox Match
    hi, I am having a few issues with my code below, what I need it to do is when they enter a value in textbox8 (QTY) either 1,2 or 3 the 3 textboxes...
  • Using Large function based on Multiple Criteria
    Hello, I can't seem to get a Large formula to work based on two criteria's. I can easily get a oldest value based one value, but I'm struggling...
  • Can you check my code please
    Hi, Im going round in circles with a Compil Error End With Without With Here is the code [CODE=rich] Private Sub...
  • Combining 2 pivot tables into 1 chart
    Hello everyone, My question sounds simple but I do not know the answer. I have 2 pivot tables and 2 charts that go with this. However I want to...
Top