Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 921
Default adding * to text to column

I have a large column of numbers in the format of 111111-11. All the numbers
are random, but they are always six numbers, dash, then two more numbers.
Occasionally the first number will be the letter 't'. Anyway, I need to add
an * to the beginning and the end to this column. The reason is to convert
these numbers to a bar code with a bar code font, there has to be an * before
and after the text that is being converted to bar code. The idea is simple,
just adding an *, but in practice, I'm having a hard time.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default adding * to text to column

Hi,

What about this with your number in a1

="*"&A1&"*"

Mike

"Jeff" wrote:

I have a large column of numbers in the format of 111111-11. All the numbers
are random, but they are always six numbers, dash, then two more numbers.
Occasionally the first number will be the letter 't'. Anyway, I need to add
an * to the beginning and the end to this column. The reason is to convert
these numbers to a bar code with a bar code font, there has to be an * before
and after the text that is being converted to bar code. The idea is simple,
just adding an *, but in practice, I'm having a hard time.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default adding * to text to column

="*"&A1&"*"

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Jeff" wrote in message
...
I have a large column of numbers in the format of 111111-11. All the
numbers
are random, but they are always six numbers, dash, then two more numbers.
Occasionally the first number will be the letter 't'. Anyway, I need to
add
an * to the beginning and the end to this column. The reason is to
convert
these numbers to a bar code with a bar code font, there has to be an *
before
and after the text that is being converted to bar code. The idea is
simple,
just adding an *, but in practice, I'm having a hard time.

Thanks


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default adding * to text to column

Is the result you are looking for *111111-11* ?

If so, try this in the cell next to your number...

="*"&<<cell of number&"*"

Copy the cell, select a new cell, then paste special, select values to
remove the formula and replace your result.

"Jeff" wrote:

I have a large column of numbers in the format of 111111-11. All the numbers
are random, but they are always six numbers, dash, then two more numbers.
Occasionally the first number will be the letter 't'. Anyway, I need to add
an * to the beginning and the end to this column. The reason is to convert
these numbers to a bar code with a bar code font, there has to be an * before
and after the text that is being converted to bar code. The idea is simple,
just adding an *, but in practice, I'm having a hard time.

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default adding * to text to column

One way:

In an adjacent column (say, "B"), enter

B1: ="*" & A1 & "*"

Copy down.

You can then select column B, copy it, then select column A and choose
Edit/Paste Special/Values.


In article ,
Jeff wrote:

I have a large column of numbers in the format of 111111-11. All the numbers
are random, but they are always six numbers, dash, then two more numbers.
Occasionally the first number will be the letter 't'. Anyway, I need to add
an * to the beginning and the end to this column. The reason is to convert
these numbers to a bar code with a bar code font, there has to be an * before
and after the text that is being converted to bar code. The idea is simple,
just adding an *, but in practice, I'm having a hard time.

Thanks

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
Column Chart - Adding text in the column in Excel 2007 Jennifer Charts and Charting in Excel 2 July 26th 08 02:58 PM
Adding text in a single column jackel[_12_] Excel Worksheet Functions 5 February 23rd 08 02:47 AM
adding text to column cell if there's a value present Tim R Excel Discussion (Misc queries) 5 October 24th 07 09:46 AM
adding extra text into an existing column Zach Excel Worksheet Functions 2 August 11th 05 05:26 PM
adding text to a column of exsisting data Dalerj70 Excel Discussion (Misc queries) 3 May 24th 05 04:58 PM


All times are GMT +1. The time now is 05:11 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"