Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default AutoFill a series to last row in dataset

Is there a way to do the following:

Fill a column with a text "Sales" for all rows until the last row of the
data set without having to drag the first cell all the way down?

Fill a column with a seriers "1, 2, 3" for all rows until the last row of
the data set without having to drag the first cell all the way down?
--
--coastal
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default AutoFill a series to last row in dataset

You can select the range first.

Say you want to fill A1:A10 (making it easy):
Edit|goto and type in A1:A10
and hit enter.
A1:A10 will be selected
type Sales
and hit ctrl-enter to fill all the cells in that selection.

You can select B1:B10 the same way and then
type in:
=row()
and hit ctrl-enter

If your range doesn't start in row 1, you can adjust the formula. Say you want
A4:A999 filled with 1, 2, ..., 996.

Select A4:A999
but fill it with
=row()-3
(and still hit ctrl-enter)

coastal wrote:

Is there a way to do the following:

Fill a column with a text "Sales" for all rows until the last row of the
data set without having to drag the first cell all the way down?

Fill a column with a seriers "1, 2, 3" for all rows until the last row of
the data set without having to drag the first cell all the way down?
--
--coastal


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default AutoFill a series to last row in dataset

One more method.

If you have data in an adjacent column just enter Sales in top cell then
double-click on the fill handle to copy down.

Same for the numbers.

Enter a 1 in top cell, a 2 in cell below.

Select both cells and double-click on the fill handle to copy down.


Gord Dibben MS Excel MVP

On Tue, 26 Jun 2007 13:06:01 -0700, coastal
wrote:

Is there a way to do the following:

Fill a column with a text "Sales" for all rows until the last row of the
data set without having to drag the first cell all the way down?

Fill a column with a seriers "1, 2, 3" for all rows until the last row of
the data set without having to drag the first cell all the way down?


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 series Guido Cole[_2_] Excel Worksheet Functions 6 May 20th 07 09:24 PM
create an autofill series! via135 Excel Worksheet Functions 2 March 16th 06 03:27 AM
Series of web queries: Autofill? Gent Excel Discussion (Misc queries) 1 March 13th 06 09:18 PM
question about tricky autofill for series Daesthai Excel Discussion (Misc queries) 2 February 13th 06 09:49 PM
Autofill a series Walter Mayes Excel Worksheet Functions 2 January 11th 06 10:07 PM


All times are GMT +1. The time now is 07:36 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"