Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 93
Default Reorder $String1, $String2 to $String1 $String2?

I've been able to do this for any specific word e.g.

Manager, Department
Manager, Regional

with a basic function but it requires me to re-do for each word.

Is there anyway to set up a function that simply swaps anything before the ,
with anything after (removing the , in the process)?

Thanks in advance for any help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Reorder $String1, $String2 to $String1 $String2?

if your text starts in cell A2, put this in a cell somehwere in that row and
copy down

it will only work on the first set of ", '" that are in each cell

=RIGHT(A2,LEN(A2)-SEARCH(", ",A2,1)-1)&" "&LEFT(A2,SEARCH(", ",A2,1)-1)

"msnyc07" wrote:

I've been able to do this for any specific word e.g.

Manager, Department
Manager, Regional

with a basic function but it requires me to re-do for each word.

Is there anyway to set up a function that simply swaps anything before the ,
with anything after (removing the , in the process)?

Thanks in advance for any help!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reorder String msnyc07 Excel Worksheet Functions 0 February 16th 10 11:49 PM
How do I reorder sheets in excel Dr Alok Modi MD Excel Worksheet Functions 5 May 16th 08 03:21 AM
reorder data ellebelle Excel Worksheet Functions 0 June 19th 07 10:00 AM
Reorder columns? Arinté Excel Discussion (Misc queries) 0 October 24th 06 06:33 PM
reorder function cb chiam Excel Worksheet Functions 0 August 2nd 05 11:28 PM


All times are GMT +1. The time now is 06:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"