#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default CONCATENATES

I need to add an asterix before and after my data to convert it to 3of9
barcode font that we can scan. I can get it to go in using a Concatenate but
it leaves a bunch of spaces before it adds the closing asterix?????????
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default CONCATENATES

Maybe you have trailing spaces in your data:

="*"&trim(a1)&"*"

=trim(a1)
will remove leading, trailing and change multiple consecutive spaces to one
(internally).



gfrechette wrote:

I need to add an asterix before and after my data to convert it to 3of9
barcode font that we can scan. I can get it to go in using a Concatenate but
it leaves a bunch of spaces before it adds the closing asterix?????????


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default CONCATENATES

Maybe you have a bunch of spaces after your data?

What do you get if you use a helper column and =LEN(cellref) on the original
data?

TRIM your data to remove the extra spaces if need be.


Gord Dibben MS Excel MVP

On Thu, 5 Jul 2007 15:44:03 -0700, gfrechette
wrote:

I need to add an asterix before and after my data to convert it to 3of9
barcode font that we can scan. I can get it to go in using a Concatenate but
it leaves a bunch of spaces before it adds the closing asterix?????????


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



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