month wise increased date format

majidsiddique

Board Regular
Joined
Oct 22, 2018
Messages
164
Hi all,
I need date format as like below. please help me.
Thanks.
i use Edate(A1,1) but desired result not achieved.
[TABLE="width: 71"]
<colgroup><col></colgroup><tbody>[TR]
[TD="align: right"]
31-Jan-18[/TD]
[/TR]
[TR]
[TD="align: right"]28-Feb-18[/TD]
[/TR]
[TR]
[TD="align: right"]31-Mar-18[/TD]
[/TR]
[TR]
[TD="align: right"]30-Apr-18[/TD]
[/TR]
[TR]
[TD="align: right"]31-May-18[/TD]
[/TR]
[TR]
[TD="align: right"]30-Jun-18[/TD]
[/TR]
[TR]
[TD="align: right"]31-Jul-18[/TD]
[/TR]
[TR]
[TD="align: right"]31-Aug-18[/TD]
[/TR]
[TR]
[TD="align: right"]30-Sep-18[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Try this instead:
=EDATE(A1+1,1)-1
 
Upvote 0
You are welcome!

The trick is to add one to the first end date, which brings you to the first day of the next month. Then add one month to that date, and subtract one day from that.
So that accounts for the months all having different end dates.
 
Upvote 0
Use EOMONTH() function:

=EOMONTH(A1,1)
Yes, that is even easier yet.
Cannot believe I forgot about that function!
 
Upvote 0
Another way is to use the EDATE function, but it's a bit long:

=EDATE($A$1,ROWS($A$1:A1))
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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