automatically fill all dates of currant month

Jagat Pavasia

Active Member
Joined
Mar 9, 2015
Messages
359
Office Version
  1. 2021
Platform
  1. Windows
dear sir,
I have date typed of all dates of currant month.
Screenshot 2023-05-14 114730.png


I want that all date is auto update to currant month.
My A4 to A19 and E4 to E19 have date area which I typed Manually.

currant month is April 2023 (dd/mm/yyyy).

I want that if next month JUNE 2023 will come and automatically date update of currant June Month,
and next July ,August ,September, October etc...

Give me formula or VBA for this..

thank you
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
currant month is April 2023
Not by my calendar or your sample data. ;)

Try these

23 05 14.xlsm
ABCDE
41/05/202317/05/2023
52/05/202318/05/2023
63/05/202319/05/2023
74/05/202320/05/2023
85/05/202321/05/2023
96/05/202322/05/2023
107/05/202323/05/2023
118/05/202324/05/2023
129/05/202325/05/2023
1310/05/202326/05/2023
1411/05/202327/05/2023
1512/05/202328/05/2023
1613/05/202329/05/2023
1714/05/202330/05/2023
1815/05/202331/05/2023
1916/05/2023
Current month
Cell Formulas
RangeFormula
A4:A19A4=SEQUENCE(16,,TODAY()-DAY(TODAY())+1)
E4:E18E4=LET(td,TODAY(),SEQUENCE(DAY(EOMONTH(td,0))-16,,td-DAY(td)+17))
Dynamic array formulas.
 
Upvote 0
Or this:

Cell Formulas
RangeFormula
A4A4=DATE(YEAR(TODAY()),MONTH(TODAY()),1)
A5:A19,E5:E15A5=A4+1
E4E4=A19+1
E16:E19E16=IF(MONTH(MAX($E$4:$E15)+1)=MONTH(TODAY()),$E15+1,"")
 
Upvote 0
I used an overly complex formula for column E above. New suggestion here.

23 05 14.xlsm
ABCDE
41/05/202317/05/2023
52/05/202318/05/2023
63/05/202319/05/2023
74/05/202320/05/2023
85/05/202321/05/2023
96/05/202322/05/2023
107/05/202323/05/2023
118/05/202324/05/2023
129/05/202325/05/2023
1310/05/202326/05/2023
1411/05/202327/05/2023
1512/05/202328/05/2023
1613/05/202329/05/2023
1714/05/202330/05/2023
1815/05/202331/05/2023
1916/05/2023
Current month
Cell Formulas
RangeFormula
A4:A19A4=SEQUENCE(16,,TODAY()-DAY(TODAY())+1)
E4:E18E4=SEQUENCE(DAY(EOMONTH(TODAY(),0))-16,,A19+1)
Dynamic array formulas.
 
Upvote 0
Solution
I used an overly complex formula for column E above. New suggestion here.

23 05 14.xlsm
ABCDE
41/05/202317/05/2023
52/05/202318/05/2023
63/05/202319/05/2023
74/05/202320/05/2023
85/05/202321/05/2023
96/05/202322/05/2023
107/05/202323/05/2023
118/05/202324/05/2023
129/05/202325/05/2023
1310/05/202326/05/2023
1411/05/202327/05/2023
1512/05/202328/05/2023
1613/05/202329/05/2023
1714/05/202330/05/2023
1815/05/202331/05/2023
1916/05/2023
Current month
Cell Formulas
RangeFormula
A4:A19A4=SEQUENCE(16,,TODAY()-DAY(TODAY())+1)
E4:E18E4=SEQUENCE(DAY(EOMONTH(TODAY(),0))-16,,A19+1)
Dynamic array formulas.
THANK YOU SOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO MUCH.....
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,215,477
Messages
6,125,030
Members
449,205
Latest member
Eggy66

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