L
LBristow
Does anyone know of a way to insert a space in 1 excel cell i.e. FrankJones -
insert space - Frank Jones
Thanks
insert space - Frank Jones
Thanks
Does anyone know of a way to insert a space in 1 excel cell i.e. FrankJones -
insert space - Frank Jones
Thanks
Does anyone know of a way to insert a space in 1 excel cell i.e. FrankJones -
insert space - Frank Jones
Thanks
And another method using Regular Expressions:
Download and install Longre's free morefunc.xll add-in from
http://xcell05.free.fr/
Then use this formula to insert a space prior to the last capital letter in the
sequence.
=REGEX.SUBSTITUTE(A1,"([A-Z])([a-z]+$)"," [1][2]")
--ron
Bob Phillips said:Put this array formula in B1
=MIN(IF(EXACT(MID(A1,ROW(INDIRECT("2:"&LEN(A1))),1),UPPER(MID(A1,ROW(INDIRECT("2:"&LEN(A1))),1))),ROW(INDIRECT("A2:A"&LEN(A1)))))
as an array formula, it has to be entered with Ctrl-Shift-Enter, not just
Enter, and in C1
=LEFT(A1,B1-1)&" "&RIGHT(A1,LEN(A1)-B1+1)
--
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)