Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
f I have one excel spree sheet and I want to add line no on the first
columnA, from 1 to 100, how do I do that? ColumnA ColumnB 1 abc 2 ddd 3 add 4 eee thanks. Lillian |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Two ways to do that
First method Enter 1 in A1 Enter =A1+1 in A2 Copy A2 from A3 to A100 Another method Enter =row() in A1 Copy A1 from A2 to A100 Alok Joshi "Lillian" wrote: f I have one excel spree sheet and I want to add line no on the first columnA, from 1 to 100, how do I do that? ColumnA ColumnB 1 abc 2 ddd 3 add 4 eee thanks. Lillian |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You could also use the "fill handle":
Enter a "1" in cell A1. Move your mouse to the bottom right corner of the cell until it changes to a wide-looking + symbol. Hold down Ctrl and drag your mouse down for 99 more rows. Let go. Numbers fill in column A from 1 to 100. If you don't hold down Ctrl, it copies the identical number 100 times instead. Holding or not holding Ctrl has the opposite fill effect if your column contains dates instead of numbers (i.e. you hold down Ctrl to get the SAME date several times, or don't hold it down to get the natural sequence of dates in the calendar). Pretty neat, isn't it? -- --Draconian "Alok" wrote: Two ways to do that First method Enter 1 in A1 Enter =A1+1 in A2 Copy A2 from A3 to A100 Another method Enter =row() in A1 Copy A1 from A2 to A100 Alok Joshi "Lillian" wrote: f I have one excel spree sheet and I want to add line no on the first columnA, from 1 to 100, how do I do that? ColumnA ColumnB 1 abc 2 ddd 3 add 4 eee thanks. Lillian |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Yes that is another way. Also I did not know about the opposite behavior of
the dates. Thanks. "Draconian" wrote: You could also use the "fill handle": Enter a "1" in cell A1. Move your mouse to the bottom right corner of the cell until it changes to a wide-looking + symbol. Hold down Ctrl and drag your mouse down for 99 more rows. Let go. Numbers fill in column A from 1 to 100. If you don't hold down Ctrl, it copies the identical number 100 times instead. Holding or not holding Ctrl has the opposite fill effect if your column contains dates instead of numbers (i.e. you hold down Ctrl to get the SAME date several times, or don't hold it down to get the natural sequence of dates in the calendar). Pretty neat, isn't it? -- --Draconian "Alok" wrote: Two ways to do that First method Enter 1 in A1 Enter =A1+1 in A2 Copy A2 from A3 to A100 Another method Enter =row() in A1 Copy A1 from A2 to A100 Alok Joshi "Lillian" wrote: f I have one excel spree sheet and I want to add line no on the first columnA, from 1 to 100, how do I do that? ColumnA ColumnB 1 abc 2 ddd 3 add 4 eee thanks. Lillian |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I draw chemical structures in Excel spreed sheet? | Charts and Charting in Excel | |||
save a excel spreed sheet to a word document? | Excel Discussion (Misc queries) | |||
Formating Excel Spreed Sheet | Excel Discussion (Misc queries) | |||
How can I read over than 65,536 rows from excel spreed sheet | Excel Discussion (Misc queries) | |||
delete record using Macro in excel spreed sheet | Excel Programming |