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.

31-Jan-18
28-Feb-18
31-Mar-18
30-Apr-18
31-May-18
30-Jun-18
31-Jul-18
31-Aug-18
30-Sep-18

<colgroup><col></colgroup><tbody>
</tbody>
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
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,216,049
Messages
6,128,496
Members
449,455
Latest member
jesski

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