Help Me Please -

Y

Yossy

Please I need help with this. I have series of values like this -- Animals,
Domestic. How do I change them all to be like this Domestic Animals. Thus, I
want to remove all commas and swap the first word to the last.

The above is an example. I have multiples of various information like this.

All help totally appreciated.

Thanks
 
M

Mike H

Hi,

With your string in A1

First part
=LEFT(A1,FIND(",",A1)-1)

Second part
=LEFT(A1,FIND(",",A1)-1)

Mike
 
J

John C

Assuming column A has your data, and assuming ALL data is in the format of
"word, word" (comma and space separator, and only 1 comma in each data item).

=RIGHT(A1,LEN(A1)-FIND(",",A1)-1)&" "&LEFT(A1,FIND(",",A1)-1)
 
P

Peo Sjoblom

As long as there are 2 words separated by a comma you can use

=TRIM(MID(A1,FIND(",",A1)+1,255))&" "&TRIM(LEFT(A1,FIND(",",A1)-1))


Adjust to fit your cell ranges and copy down, then copy and paste special as
values either over the old values or better in place and make sure
everything went OK


--


Regards,


Peo Sjoblom
 
Y

Yossy

Thanks a big bunch, it works

John C said:
Assuming column A has your data, and assuming ALL data is in the format of
"word, word" (comma and space separator, and only 1 comma in each data item).

=RIGHT(A1,LEN(A1)-FIND(",",A1)-1)&" "&LEFT(A1,FIND(",",A1)-1)
 
R

Rick Rothstein \(MVP - VB\)

Give this a try...

=MID(A1&" "&A1,FIND(" ",A1)+1,LEN(A1)-1)

Rick
 

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