CONCATENATES

G

Guest

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?????????
 
D

Dave Peterson

Maybe you have trailing spaces in your data:

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

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

Gord Dibben

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top