Dates

pheobis

New Member
Joined
Jun 15, 2007
Messages
46
Is there a way i can automatically set cells up so they say dates in a corresponding order..for example

A2 (Aug 1st, 2007) B2 (Aug 2nd, 2007) and so on....
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Can't you just format the cells in question, and then use the fill handle for this?
 
Upvote 0
I think you'll find if you put a date in a cell and the drag across columns the date will increment like that.

Would that do, or is there more to what you want?
 
Upvote 0
If you are looking to set it up so that it automatically fills in for whatever the current month is:

In A2:
=IF(COLUMN(A1)>DAY(DATE(YEAR(TODAY()),MONTH(TODAY())+1,0)),"",(TODAY()-DAY(TODAY()))+COLUMN(A1))

Copy across to AE2

or if you have the Analysis Toolpak installed:
=IF(COLUMN(A1)>DAY(EOMONTH(TODAY(),0)),"",EOMONTH(TODAY(),-1)+COLUMN(A1))
Format as date.
 
Upvote 0

Forum statistics

Threads
1,214,567
Messages
6,120,268
Members
448,953
Latest member
Dutchie_1

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