#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 577
Default autofill

is there a function or macro that can be used to have Excel only copy or fill
a certain number of cells? For example, I want to insert dates into column A
from 1/1/1996 thru 6/30/2008. Instead of dragging the fill box, can i put a
formula into excel that will tell excel to copy down the coumn until a cell
value equals 6/30/2008?

this formula would be useful for other applications and not just for dates,
such as 1-1000, a-z, etc.

thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default autofill

Try this:

Enter 1/1/1996 in A1. With A1 as the active cell, select Edit Fill
Series. Choose Series in = Columns, Step value = 1, and Stop value =
6/30/2008, then click OK.

Hope this helps,

Hutch

"scott" wrote:

is there a function or macro that can be used to have Excel only copy or fill
a certain number of cells? For example, I want to insert dates into column A
from 1/1/1996 thru 6/30/2008. Instead of dragging the fill box, can i put a
formula into excel that will tell excel to copy down the coumn until a cell
value equals 6/30/2008?

this formula would be useful for other applications and not just for dates,
such as 1-1000, a-z, etc.

thanks!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default autofill

Alternatively, you can use a formula saying:

if(previous date+1<6/30/2008,previous date+1,"")

--
Regards,

Ashsih Mathur
Microsoft Excel MVP
www.ashishmathur.com

"scott" wrote in message
...
is there a function or macro that can be used to have Excel only copy or
fill
a certain number of cells? For example, I want to insert dates into
column A
from 1/1/1996 thru 6/30/2008. Instead of dragging the fill box, can i put
a
formula into excel that will tell excel to copy down the coumn until a
cell
value equals 6/30/2008?

this formula would be useful for other applications and not just for
dates,
such as 1-1000, a-z, etc.

thanks!


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
AutoFill carl Excel Worksheet Functions 3 May 22nd 07 07:06 PM
autofill grambo Excel Discussion (Misc queries) 1 October 9th 06 02:55 AM
AutoFill Student Excel Discussion (Misc queries) 2 May 30th 06 01:29 PM
AutoFill Sherbear New Users to Excel 2 January 28th 06 02:53 AM
Autofill: Need to autofill one week block, (5) weekday only into cells. dstock Excel Discussion (Misc queries) 1 June 17th 05 08:21 PM


All times are GMT +1. The time now is 08:46 PM.

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

About Us

"It's about Microsoft Excel"