Drop down list to create a series of dates for a daily checker.

Paramed217

New Member
Joined
May 15, 2022
Messages
7
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. Web
Hello,

Drop down list to create a series of dates for a daily checker. As stated I am trying to create a drop down list in excel in cell A1 that contains a list of the months. Once a month is picked I want to populate the dates for that month across the a range. 1/1/22 - 1/31/22 and on. The dates only need to be in numerical order we don't care day designations ie: Sun, Mon, Tues.... Whats everyone's thoughts or tools that would be able to make this function.

Regards
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Like this?

22 08 27.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAF
1August8/1/228/2/228/3/228/4/228/5/228/6/228/7/228/8/228/9/228/10/228/11/228/12/228/13/228/14/228/15/228/16/228/17/228/18/228/19/228/20/228/21/228/22/228/23/228/24/228/25/228/26/228/27/228/28/228/29/228/30/228/31/22
Dates
Cell Formulas
RangeFormula
B1:AF1B1=SEQUENCE(,DAY(EOMONTH(1&A1,0)),DATEVALUE(1&A1))
Dynamic array formulas.
 
Upvote 0
Like this?

22 08 27.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAF
1August8/1/228/2/228/3/228/4/228/5/228/6/228/7/228/8/228/9/228/10/228/11/228/12/228/13/228/14/228/15/228/16/228/17/228/18/228/19/228/20/228/21/228/22/228/23/228/24/228/25/228/26/228/27/228/28/228/29/228/30/228/31/22
Dates
Cell Formulas
RangeFormula
B1:AF1B1=SEQUENCE(,DAY(EOMONTH(1&A1,0)),DATEVALUE(1&A1))
Dynamic array formulas.
Just like that!
 
Upvote 0
However when I do it all I get is an error code Function SEQUENCE parameter 1 value is 0. It should be greater than or equal to 1. is there something I am missing?
 
Upvote 0
As you can see above it works for me as is. What happens if you use this instead?
Excel Formula:
=SEQUENCE(1,DAY(EOMONTH(1&A1,0)),DATEVALUE(1&A1))

when I do it all
What do you mean by "do it all"?
 
Upvote 0
Solution
As you can see above it works for me as is. What happens if you use this instead?
Excel Formula:
=SEQUENCE(1,DAY(EOMONTH(1&A1,0)),DATEVALUE(1&A1))


What do you mean by "do it all"?
When I add it to my excel sheet it drop an error code in reference to the drop down menu. With the new formula populates it sends an error will overwrite a cell.
 
Upvote 0
Disregard. I was using the formula in all the cells. Appreciate the help!!
 
Upvote 0
Glad you got it sorted. Thanks for letting us know.
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,395
Members
449,081
Latest member
JAMES KECULAH

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