#1   Report Post  
Posted to microsoft.public.excel.misc
CJ
 
Posts: n/a
Default Inserting Data

I have a column with license numbers in them. I have about 2000 rows in this
column. I need to insert a ; (semicolon) at the end of each license number.
Is there a way I can do this without having to go through all 2000 rows?
Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ardus Petus
 
Posts: n/a
Default Inserting Data

In a staging column, enter formula
=A1&";"
and copy it down 2000 rows

Select the staging row
Copy
Select A1
Paste Special Values

HTH
--
AP

"CJ" a écrit dans le message de
...
I have a column with license numbers in them. I have about 2000 rows in

this
column. I need to insert a ; (semicolon) at the end of each license

number.
Is there a way I can do this without having to go through all 2000 rows?
Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.misc
bpeltzer
 
Posts: n/a
Default Inserting Data

If the license numbers are in column A, select column B and Insert Column.
Then, in B1 enter the formula =A1 & ";". Autofill that formula through all
rows of column B. Then select column B and Edit Copy, then Edit Paste
Special, select the Values radio button and click OK. If everything looks
okay, you can delete column A and you'll have effectively appeneded a
semicolon to each of the license numbers in column A. (If you may ever need
the old version w/o the ; you should probably skip the delete step and keep
both columns).

"CJ" wrote:

I have a column with license numbers in them. I have about 2000 rows in this
column. I need to insert a ; (semicolon) at the end of each license number.
Is there a way I can do this without having to go through all 2000 rows?
Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett
 
Posts: n/a
Default Inserting Data

try
Sub addsemicolontoend()
For Each c In Selection
c.NumberFormat = "@"
If Len(c) 1 And IsNumeric(c) Then c.Value = c & ":"
Next
End Sub

--
Don Guillett
SalesAid Software

"CJ" wrote in message
...
I have a column with license numbers in them. I have about 2000 rows in
this
column. I need to insert a ; (semicolon) at the end of each license
number.
Is there a way I can do this without having to go through all 2000 rows?
Thanks.



  #5   Report Post  
Posted to microsoft.public.excel.misc
elephant
 
Posts: n/a
Default Inserting Data

I would also go to menu format cells custom type 0";" then use
format painter to copy the same thru the 2000 rows



  #6   Report Post  
Posted to microsoft.public.excel.misc
CJ
 
Posts: n/a
Default Inserting Data



"elephant" wrote:

I would also go to menu format cells custom type 0";" then use
format painter to copy the same thru the 2000 rows



Thanks for this. The others above helped me out with the general changes but
then I couldn't figure out how to do dates because it would change it to a
general format and the date would change to a 5 digit number but this fixed
that. Thanks again.
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
Import data and keep duplicate rows of data mrdata Excel Discussion (Misc queries) 0 March 23rd 06 12:24 AM
Pull data from another sheet based on certain criteria steve_sr2 Excel Discussion (Misc queries) 1 February 23rd 06 10:08 AM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
Line Graph Data Recognition Nat Charts and Charting in Excel 2 April 30th 05 02:07 PM
inserting rows through external data source [email protected] Excel Discussion (Misc queries) 0 April 5th 05 03:16 AM


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

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

About Us

"It's about Microsoft Excel"