Date Range Formlua

Tinamation

New Member
Joined
May 31, 2011
Messages
6
I am making a spreadsheet to track required documents and their due dates. This one document is due on the 25th of each month. I need a formula that says if the document was last completed within the time frame of, say April 25, 2011 to May 24, 2011, the next document will be due on June 25, 2011. However, if it were completed prior to April 25, the next due date would be May 25. The date completed gets entered in column H (not sure if you need to know that...)

Please let me know if you need more information.

Thanks!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Need more information like

Is the document a spreadsheet that controls the creation date of other documents?
Is the document to check when it was last saved and alert if within certain timeframe?
Is the document reliant on user inputting last completed date or does it need to check that itself?

etc, etc...
 
Upvote 0
The document is an actual piece of paper and this spreadsheet I'm making is to track that each staff member completes this document by the 25th of each month. When i get the doc, i enter the completed date in column H and would like the formula in column I to calculate when it is next due (based on the criteria listed above). Does that answer your questions?
 
Upvote 0
This should do the trick..

assuming H3 contains the date the document was completed..
enter this formula in any cell..

Code:
=IF(DAY(H3)<25,MONTH(H3)+1&"/"&"25"&"/"&YEAR(H3),MONTH(H3)+2&"/"&"25"&"/"&YEAR(H3))
:) cheers!

-e.rgabrieldoronila
 
Upvote 0
This should do the trick..

assuming H3 contains the date the document was completed..
enter this formula in any cell..

Code:
=IF(DAY(H3)<25,MONTH(H3)+1&"/"&"25"&"/"&YEAR(H3),MONTH(H3)+2&"/"&"25"&"/"&YEAR(H3))
:) cheers!

-e.rgabrieldoronila

Good formula. I would also add an if statement to avoid Dec/Jan transitions:

Code:
=IF(MONTH(H3)<>12,IF(DAY(H3)<25,MONTH(H3)+1&"/"&"25"&"/"&YEAR(H3),MONTH(H3)+2&"/"&"25"&"/"&YEAR(H3)),IF(DAY(H3)<25,1&"/"&"25"&"/"&YEAR(H3)+1,2&"/"&"25"&"/"&YEAR(H3)+1))
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,834
Members
452,947
Latest member
Gerry_F

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top