Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How do I add sequential numbers to existing data in excel?

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?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default How do I add sequential numbers to existing data in excel?

On Fri, 6 Mar 2009 11:44:01 -0800, slinky
wrote:

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
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How do I add sequential numbers to existing data in excel?

Perfect. That's exactly what I was looking for - thank you!

"Ron Rosenfeld" wrote:

On Fri, 6 Mar 2009 11:44:01 -0800, slinky
wrote:

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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default How do I add sequential numbers to existing data in excel?

On Fri, 6 Mar 2009 12:56:01 -0800, slinky
wrote:

Perfect. That's exactly what I was looking for - thank you!


Glad to help. Thanks for the feedback.
--ron
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
creating formulas for sequential numbers in excel tacks Excel Worksheet Functions 4 June 12th 08 05:08 AM
How do I create a list of sequential numbers in Excel 2003? kateinmo Excel Discussion (Misc queries) 4 April 21st 07 06:48 AM
How do I create a list of sequential numbers using Excel or Acces. Clueless Excel Discussion (Misc queries) 1 April 5th 05 03:08 PM
How do I assign sequential numbers in an Excel 2003 PO template? skiusa Excel Worksheet Functions 1 March 28th 05 10:57 PM
format existing numbers in excel? Robin Excel Discussion (Misc queries) 6 March 3rd 05 11:11 PM


All times are GMT +1. The time now is 02:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"