Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to generate dates for a month?


I am trying to use Excel to create a spreadsheet for each day of the
month.
So for the first day, the formula i have in field A1 is:

=DATE(YEAR(NOW()),MONTH(NOW()),DAY(1))

The second day, the formula i have in field A2 is:

=DATE(YEAR(NOW()),MONTH(NOW()),DAY(1)+2)

How do i make it so that it can take the date from the previous and add
1 to it?

At the end i just want a simple formula which will automatically take
the first of every month and add 1 day to it.
So eventually i will have something like this:

01/01/2006
02/01/2006
03/01/2006
....
...
31/01/2006

Many thanks in advance.

James


--
Jim9980
------------------------------------------------------------------------
Jim9980's Profile: http://www.excelforum.com/member.php...o&userid=30583
View this thread: http://www.excelforum.com/showthread...hreadid=502759

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default How to generate dates for a month?

James,
Here's one solution, down the page at #13:
http://www.dicks-blog.com/archives/2...ugly-formulas/

NickHK

"Jim9980" wrote in
message ...

I am trying to use Excel to create a spreadsheet for each day of the
month.
So for the first day, the formula i have in field A1 is:

=DATE(YEAR(NOW()),MONTH(NOW()),DAY(1))

The second day, the formula i have in field A2 is:

=DATE(YEAR(NOW()),MONTH(NOW()),DAY(1)+2)

How do i make it so that it can take the date from the previous and add
1 to it?

At the end i just want a simple formula which will automatically take
the first of every month and add 1 day to it.
So eventually i will have something like this:

01/01/2006
02/01/2006
03/01/2006
...
..
31/01/2006

Many thanks in advance.

James


--
Jim9980
------------------------------------------------------------------------
Jim9980's Profile:

http://www.excelforum.com/member.php...o&userid=30583
View this thread: http://www.excelforum.com/showthread...hreadid=502759



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to generate dates for a month?

in A1

=Today()
in A2
=A1+1
format both cells as Date
select A2 and drag fill down

--
Regards,
Tom Ogilvy

"Jim9980" wrote in
message ...

I am trying to use Excel to create a spreadsheet for each day of the
month.
So for the first day, the formula i have in field A1 is:

=DATE(YEAR(NOW()),MONTH(NOW()),DAY(1))

The second day, the formula i have in field A2 is:

=DATE(YEAR(NOW()),MONTH(NOW()),DAY(1)+2)

How do i make it so that it can take the date from the previous and add
1 to it?

At the end i just want a simple formula which will automatically take
the first of every month and add 1 day to it.
So eventually i will have something like this:

01/01/2006
02/01/2006
03/01/2006
...
..
31/01/2006

Many thanks in advance.

James


--
Jim9980
------------------------------------------------------------------------
Jim9980's Profile:

http://www.excelforum.com/member.php...o&userid=30583
View this thread: http://www.excelforum.com/showthread...hreadid=502759



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to generate dates for a month?


The forumla does not copy.


--
Jim9980
------------------------------------------------------------------------
Jim9980's Profile: http://www.excelforum.com/member.php...o&userid=30583
View this thread: http://www.excelforum.com/showthread...hreadid=502759

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I generate a list of random dates from dates I specify JJ TUMIA Excel Worksheet Functions 2 August 8th 08 12:23 PM
How do I generate a new sheet based on date/week/month? Jay Excel Worksheet Functions 1 January 10th 06 08:50 AM
How do I automatically generate dates? alvoons28 Excel Discussion (Misc queries) 1 June 24th 05 03:27 PM
Fill column with dates of month depending on month in A1 [email protected] Excel Programming 7 March 11th 05 12:41 AM
is there a formula to generate a calendar month date rather than . lmurray Excel Worksheet Functions 1 January 21st 05 03:24 PM


All times are GMT +1. The time now is 12:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"