Insert characters in spaces within cell ???

  • Thread starter Thread starter travelmadness
  • Start date Start date
T

travelmadness

I have a long list of words that are appended to the end of a url,
something like this: (one url per cell)

http://www.website.com/default&word word word
http://www.website.com/default&word word
http://www.website.com/default&word word word
http://www.website.com/default&word word word word

I need to put "+" symbols in all spaces between the words, so it will
look like this:

http://www.website.com/default&word+word+word
http://www.website.com/default&word+word
http://www.website.com/default&word+word+word
http://www.website.com/default&word+word+word+word

I'm not sure how to do this, since all the words are different
lengths... is there a formula or something to fill spaces with
characters, or somehting like that???
 
Hi
try
=SUBSTITUTE(A1," ","+")
in a helper column. Or to create a hyperlink you may use
=HYPERLINK(SUBSTITUTE(A1," ","+") )
 
If these are constants. Couldn't you just use
Ctrl+H
replace: (single space)
by: +

and be done with it.
 

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

Back
Top