Reputation: 51
Transform from:
+WordA +WordB
Transform To:
WordA+ WordB+
What would be the formula?
Upvotes: 1
Views: 66
Reputation: 35970
A bit shorter
=SUBSTITUTE(MID(A2,2,999)," +","+ ")&"+"
If the cell is expected to have more than 999 characters, up that number.
Upvotes: 2
Reputation: 5195
Assuming that "+WordA +WordB" is in cell A1
, this formula will work:
= SUBSTITUTE(RIGHT(A1,LEN(A1)-1)," +","+ ")&"+"
Upvotes: 1