ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Changing Data order in Cells (https://www.excelbanter.com/excel-programming/281203-changing-data-order-cells.html)

Adam Morgan

Changing Data order in Cells
 
Can someone please help me create a formula that will do
the following...

change a cell from:

doe,john

to

john,doe

JMay

Changing Data order in Cells
 
Try:
=MID(A1,FIND(",",A1)+1,LEN(A1)-FIND(",",A1)+1)&", "&LEFT(A1,FIND(",",A1)-1)
with a1 = Doe, John
HTH

"Adam Morgan" wrote in message
...
Can someone please help me create a formula that will do
the following...

change a cell from:

doe,john

to

john,doe




shockley

Changing Data order in Cells
 
Or, you might like:

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

(A1 contains john,doe)

HTH, Shockley

"Adam Morgan" wrote in message
...
Can someone please help me create a formula that will do
the following...

change a cell from:

doe,john

to

john,doe





All times are GMT +1. The time now is 05:12 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com