autonumbers

meadhbh2005

New Member
Joined
Dec 13, 2005
Messages
2
Hi does anyone know if there is a way of inserting numbers into excel so they automatically increment. eg i want to number my rows but do not want to do it manually...?

Thanks
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi, and welcome to Mr Excel

If you use the formula:

=ROW()

It will make the value of the cell the same as the row number.
You can then use the fill handle to fill down.

If, however, you wanted a different series, just reference a cell with the start number you wish for, so if you want to begin numbering with a 1 in A6, you could use in A6:

=ROW(A1)

Then fill down.

Did I understand your question correctly?
 
Upvote 0
Welcome to the board !

could you precise a little bit more your needs ?

Do you want to feed manually ?
In this case, you enter the 2 first figures, select the two cells and drag them down. Excel will increment automatically.
Do you want a formula ?
Do you want to feed form a macro ?
Then it will be a loop such as :
activesheet.cells(1,1)=1
For i=1 to xxx 'if you begin at row 1
activesheet.cells(i,1)=activesheet.cells(i-1,1)+1 'if you work on column 1
Next

Bur a more precise macro can be designed only with more precise info.
 
Upvote 0
............ there again, if you just want a plain series of numbers, put your start number in your start cell, and use the fill handle to fill down..........
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,935
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top