Formulas

K

kerzlov

I get that the following forumla can tell me the position of the first space from the right. Can I make it replace that space with a comma or semicolon or something? I understand this... JUST enough to be dangerous but cant seem to make something that will perform this duty. i would really really appreciate it!

=FIND(CHAR(1),SUBSTITUTE(A1," ",CHAR(1),LEN(A1)-LEN(SUBSTITUTE(A1," ",""))-0))
 
C

Claus Busch

Hi,

Am Mon, 30 Sep 2013 13:11:49 -0700 (PDT) schrieb (e-mail address removed):
I get that the following forumla can tell me the position of the first space from the right. Can I make it replace that space with a comma or semicolon or something? I understand this... JUST enough to be dangerous but cant seem to make something that will perform this duty. i would really really appreciate it!

=FIND(CHAR(1),SUBSTITUTE(A1," ",CHAR(1),LEN(A1)-LEN(SUBSTITUTE(A1," ",""))-0))

replace the first space from left:
=SUBSTITUTE(A1," ",",",1)
replace the first space from right:
=SUBSTITUTE(A1," ",",",LEN(A1)-LEN(SUBSTITUTE(A1," ",)))


Regards
Claus B.
 
D

David Marshak

OH! Man, dang it, i was trying to adjust the original forumla to do it, this is much simpler... I really need to find a book on these forumlas...

Then all i had to do was copy paste that column and delimit it!

THANK YOU!
 

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