How to make date auto forward

Valorie - Dec 13, 2009 at 02:13 AM
 rothi - Jun 30, 2010 at 05:00 AM

I'm trying to figure out how - after entering a date in a cell- to get the following dates to automatically fill in.

For example: when creating a log that requires daily entries once I type 12/01/09 into the first cell, (say, "A 1") how can I hit "Enter" and have 12/02/09 automatically fill in "A2" cell, then hit "Enter" again and have 12/03/09 automatically fill in "A3" cell without having to type each date on each line?

Thanks for any info you can share to enlighten me on this issue!


2 responses

sharpman Posts 1021 Registration date Saturday May 23, 2009 Status Contributor Last seen October 20, 2010 183
Dec 13, 2009 at 07:29 PM
Try this. assuming you have excel 2007.

assuming A2 is the start of your Log.

Put this formula in A3

Then copy the formula that is in A3 to all the subsequent A's following A3. (or as far as you need to go.

This will in effect fill in the dates in all the following 'A' Cells as soon as you hit enter after putting a date in A2.

Hope this helps
plz give me code to auto generate date and id using C#.