Future Date calc

konew1

Well-known Member
Joined
Oct 17, 2007
Messages
2,288
Hi. In column A I have a date. In column B I have an integer, I need a formula in C to calculate the date after A that is the number of months stated in B
example
A B C
26-Jun-09 2 26-Aug-09
26-Oct-10 9 26-Jul-11
06-Nov-09 3 06-Feb-10
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Good question Rick. I want end of month when there are less days in the end month
31-Dec-10 2 28-Feb -2011
31-Aug-10 3 30-Nov-2010
 
Upvote 0
There is probably a shorter formula than this, but this works...
Code:
=MIN(DATE(YEAR(A1),MONTH(A1)+B1,DAY(A1)),DATE(YEAR(A1),MONTH(A1)+B1+1,0))
 
Upvote 0
Of course there is a shorter formula. This formula (from the ToolPak Add-In if you are using a version of Excel prior to XL2007)...
Code:
=EDATE(A1,B1)
 
Upvote 0

Forum statistics

Threads
1,224,526
Messages
6,179,322
Members
452,906
Latest member
Belthazar

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