Automatically list numbers in a column

jball

New Member
Joined
Sep 2, 2002
Messages
3
Hi techy peeps

Is there a way where when you add a new row, it will automatically add a new number to a column headed ID No.? If this is possible, and if I subsequently delete a row, can I make it re-number so that there are no gaps?

Thank you very much x :)
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Sir Vili

Board Regular
Joined
Jul 11, 2002
Messages
148
Hi jball.

Try this in A2, if You want only row numers:

=ROWS($A$2:A2)

Then copy down.

BRGDS Sir Vili
 

jball

New Member
Joined
Sep 2, 2002
Messages
3
WOW thank you :) xx

On 2002-09-11 05:24, jball wrote:
Hi techy peeps

Is there a way where when you add a new row, it will automatically add a new number to a column headed ID No.? If this is possible, and if I subsequently delete a row, can I make it re-number so that there are no gaps?

Thank you very much x :)
 

Forum statistics

Threads
1,143,915
Messages
5,721,520
Members
422,369
Latest member
redinator

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
Top