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

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

sykes

Well-known Member
Joined
May 1, 2002
Messages
1,885
Office Version
  1. 365
Platform
  1. Windows
Can't you just format the cells in question, and then use the fill handle for this?
 
Upvote 0

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,358
Office Version
  1. 365
Platform
  1. Windows
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

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,961
Office Version
  1. 365
Platform
  1. Windows
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,190,781
Messages
5,982,870
Members
439,802
Latest member
Teiho

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
Top