Date Range

Drasston369

New Member
Joined
Oct 7, 2017
Messages
9
Hey Team,

Is it possible to put in the month (say October) and then have it autofill certain boxes with the dates for that month?

I'll attach a work book.
So ideally you'll enter the month in A1 and it will change the boxes marked d/mm/yy with the dates descending.

Thanks
Clyde
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hey Team,

Is it possible to put in the month (say October) and then have it autofill certain boxes with the dates for that month?

I'll attach a work book.
So ideally you'll enter the month in A1 and it will change the boxes marked d/mm/yy with the dates descending.

Thanks
Clyde

Can you provide a sample table of what you want it to look like or provide a description of what information would go into what rows/columns?

That would help in developing formulas.
 
Upvote 0
As far as excel is concerned, October (or any other month name) is just a bunch of random letters, it is not a date. A date is a numerical value representing how many days have elapsed since 1/0/1900, and then shown in a way that we recognize as a date.

Having said all that, yes, it is possible to do what you want using =DATEVALUE()
=1&$A$1&2017
You could then just add 1 to that, for each cell, and include a test to make sure the month did not change - to catch those short months
=if(month(A1)=month(a1+1),A1+1,"")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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