PC Review


Reply
Thread Tools Rate Thread

Autoincrementing dates

 
 
Andrew Chalk
Guest
Posts: n/a
 
      6th Apr 2008
I have a column formatted as "Date" with format March-01, etc.

If I enter Jan-08 in A1 how do I get Feb=08 to appear in A2, etc ? I tried
A1+1 but the syntax is not understood by Excel 2003.

Many thanks.


 
Reply With Quote
 
 
 
 
muddan madhu
Guest
Posts: n/a
 
      6th Apr 2008
In A1 enter Jan-08 and drag till u want

it will show only Jan-08, at the end of the cursor u will autofill
option click for more option and then choose fill months

u will get the result as u need......




On Apr 6, 10:16*am, "Andrew Chalk" <ach...@magnacartasoftware.com>
wrote:
> I have a column formatted as "Date" with format March-01, etc.
>
> If I enter Jan-08 in A1 how do I get Feb=08 to appear in A2, etc ? I tried
> A1+1 but the syntax is not understood by Excel 2003.
>
> Many thanks.


 
Reply With Quote
 
Stan Brown
Guest
Posts: n/a
 
      6th Apr 2008
Sun, 6 Apr 2008 00:16:31 -0500 from Andrew Chalk
<(E-Mail Removed)>:
> I have a column formatted as "Date" with format March-01, etc.
>
> If I enter Jan-08 in A1 how do I get Feb=08 to appear in A2, etc ? I tried
> A1+1 but the syntax is not understood by Excel 2003.


There are many ways, and this may or may not be the simplest, but I
have just tested it and I know it works:

1. Enter 1-1 in A1. (Excel will convert that to some form of 1
January 2008.)

2. Enter =DATE(YEAR(A1),MONTH(A1)+1,1) in A2.

3. Highlight both cells and custom format as mmm-yy.

4. Hightlight A2 only, and use the fiull handle to drag down the
desired number of months. Both the formula and the format will
propagagte.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
Shikata ga nai...
 
Reply With Quote
 
MartinW
Guest
Posts: n/a
 
      6th Apr 2008
Hi Andrew,

Right Click on the fill handle and drag down as far as
you need when you let go of the right button at the
bottom you will be given a Menu of options.
Left click on the one you want which in this case
will be Fill Months.

HTH
Martin


"Andrew Chalk" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a column formatted as "Date" with format March-01, etc.
>
> If I enter Jan-08 in A1 how do I get Feb=08 to appear in A2, etc ? I tried
> A1+1 but the syntax is not understood by Excel 2003.
>
> Many thanks.
>



 
Reply With Quote
 
Martin Fishlock
Guest
Posts: n/a
 
      6th Apr 2008
Hi,

There are a couple of other ways that are quite good to use as well:

=EDATE(A1,1)
=EOMONTH(A19,0)+1

edate gives you the next month and eodate gives you the last day of the
month (0=current) and then you add one to get the first day of the next month.


--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Stan Brown" wrote:

> Sun, 6 Apr 2008 00:16:31 -0500 from Andrew Chalk
> <(E-Mail Removed)>:
> > I have a column formatted as "Date" with format March-01, etc.
> >
> > If I enter Jan-08 in A1 how do I get Feb=08 to appear in A2, etc ? I tried
> > A1+1 but the syntax is not understood by Excel 2003.

>
> There are many ways, and this may or may not be the simplest, but I
> have just tested it and I know it works:
>
> 1. Enter 1-1 in A1. (Excel will convert that to some form of 1
> January 2008.)
>
> 2. Enter =DATE(YEAR(A1),MONTH(A1)+1,1) in A2.
>
> 3. Highlight both cells and custom format as mmm-yy.
>
> 4. Hightlight A2 only, and use the fiull handle to drag down the
> desired number of months. Both the formula and the format will
> propagagte.
>
> --
> Stan Brown, Oak Road Systems, Tompkins County, New York, USA
> http://OakRoadSystems.com
> Shikata ga nai...
>

 
Reply With Quote
 
Andrew Chalk
Guest
Posts: n/a
 
      6th Apr 2008
Thanks everyone for your help. All of these methods seem to work.

Regards,

Andrew

"Andrew Chalk" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a column formatted as "Date" with format March-01, etc.
>
> If I enter Jan-08 in A1 how do I get Feb=08 to appear in A2, etc ? I tried
> A1+1 but the syntax is not understood by Excel 2003.
>
> Many thanks.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Autoincrementing dates Andrew Chalk Microsoft Excel Discussion 5 6th Apr 2008 05:02 PM
Autoincrementing dates Andrew Chalk Microsoft Excel Worksheet Functions 5 6th Apr 2008 05:02 PM
autoincrementing dde link =?Utf-8?B?RGF2aWQgQmFyYmU=?= Microsoft Excel Misc 6 25th Jun 2007 11:56 PM
Autoincrementing Primary Keys with PostGres =?Utf-8?B?UGV0ZSBGdWxsZXI=?= Microsoft ADO .NET 0 17th Jun 2004 12:54 PM
Autoincrementing cell in Template Andy Rabin Microsoft Excel Discussion 1 17th Apr 2004 04:32 PM


Features
 

Advertising
 

Newsgroups
 


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