+ Reply to Thread
Results 1 to 10 of 10

Match Names in Different Formats

  1. #1
    Registered User
    Join Date
    01-18-2007
    Posts
    81

    Match Names in Different Formats

    Hello

    I have a list of names from one system that is in this format i.e. "JONES/JACK". I want a formula to return it as "Jack Jones". Basically I want to return any the name or names after the division symbol first, then have a space, & then return the first name. (JONES/JACK becomes Jack Jones).

    Any help would be much appreciated.

  2. #2
    Registered User
    Join Date
    08-08-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Match Names in Different Formats

    Here you go;

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

    Assumes name is in A1

    Cheers

  3. #3
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Match Names in Different Formats

    slightly shorter :-)...

    =RIGHT(A1,LEN(A1)-FIND("/",A1))&" "&LEFT(A1,FIND("/",A1)-1)
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Match Names in Different Formats

    hi Harlequin, you may try:

    =PROPER(MID(A1,FIND("/",A1)+1,256)&" "&LEFT(A1,FIND("/",A1)-1))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  5. #5
    Registered User
    Join Date
    08-08-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Match Names in Different Formats

    There's always one....

    It's been a long day already!


  6. #6
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Match Names in Different Formats

    @benishiryo, kudos for the sharp eyesight!

  7. #7
    Registered User
    Join Date
    01-18-2007
    Posts
    81

    Re: Match Names in Different Formats

    Thank you all. Much Appreciated.

  8. #8
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Match Names in Different Formats

    @icestationzbra:
    haha. for using PROPER? just happened to see it

  9. #9
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Match Names in Different Formats

    An alternative, including the case change that the others missed

    =PROPER(TRIM(MID(SUBSTITUTE(A1&" "&A1,"/",REPT(" ",100)),100,100)))

  10. #10
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Match Names in Different Formats

    @ Harlequin

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1