Recurring dates, that end at a specified stop date

panesai1

New Member
Joined
Dec 15, 2015
Messages
18
Hi all

I have the following XL sheet.
The formula in Cell C3 is repeated all the way across Row 3, so that it always calculates the date (in Column A) plus the number of months noted in Row 2.
I would like to know how to make the formula generate a blank cell, if there is an end date entered in column B.
The blank cells should only occur after the end date (not before the end date).

In the example shown below, Cells F3, G3, H3..etc should be blank, because they occur after the end date shown in B3.

Any help would be greatly appreciated.

Panesai1


ABCDEF...Z
1MONTHMONTHMONTHMONTH...MONTH
2START DATEEND DATE 1234...24
307-May-201415-Aug-2014=DATE(Year($A3),MONTH($A3)+C$1,DAY($A3))

RESULT: 07-Jun-2014
07-Jul-201408-Aug-201408-Sep-2014...07-May-2016
4

<tbody>
</tbody>
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Try

=IF(AND(ISNUMBER($B$3),EDATE($A3,C2)>$B$3),"",EDATE($A3,C2))
 
Last edited:
Upvote 0
Many thanks @gaz_chops.
Sorted!

I adjusted a couple of the $ signs so that I could pull the formula across and down, but apart from that, the formula works great.
Thanks again,

panesai1
 
Upvote 0

Forum statistics

Threads
1,216,777
Messages
6,132,663
Members
449,745
Latest member
victoriar

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