How do I add sequential numbers to existing data in excel?

  • Thread starter Thread starter slinky
  • Start date Start date
S

slinky

I need to sequentially number existing data.
For example, the existing data is:

(A1) 2x4-c_
(A2) 2x4-b_
(A3) 3x5-c_
(A4) 3x5-b_

The desired end result is:

(A1) 2x4-c_00001
(A2) 2x4-b_00002
(A3) 3x5-c_00003
(A4) 3x5-b_00004

I need a formula/macro to append the sequential numbers to lists of data
that are 200-1000 rows long. Any ideas?
 
I need to sequentially number existing data.
For example, the existing data is:

(A1) 2x4-c_
(A2) 2x4-b_
(A3) 3x5-c_
(A4) 3x5-b_

The desired end result is:

(A1) 2x4-c_00001
(A2) 2x4-b_00002
(A3) 3x5-c_00003
(A4) 3x5-b_00004

I need a formula/macro to append the sequential numbers to lists of data
that are 200-1000 rows long. Any ideas?

I'm assuming that (A1) is a cell reference. If not, you can alter my
recommendation accordingly.


B1: =A1&TEXT(ROWS($1:1),"00000")

Fill down 200-1000 rows as appropriate.

Then
Select B1:Bn
Edit/Copy
Edit/Paste Special/Values

You can now delete column A.
--ron
 
Back
Top