+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Match and Sort two columns with Unique ID

  1. #1
    Registered User
    Join Date
    04-12-2010
    Location
    Surrey
    MS-Off Ver
    Excel 2007
    Posts
    26

    Match and Sort two columns with Unique ID

    Hello Everyone,

    I am having a problem matching and sorting two columns. What I have are two columns with different names but the same unique id on the end of the filename for both columns. The unique ID is similar to (^CFC002153)

    This is what it looks like:

    Column A ------ --------------- ---- Column B
    example file ^CFC002153 ---- helping you ^CFC002423
    this is text ^CFC001547 ----- Excel Help ^CFC021445
    new name ^CFC002423 ------ second ^CFC002153
    text help ^CFC021445 -------- new text ^CFC001547

    What I need is something like this

    Column A -------------------- ---- Column B
    example file ^CFC002153 ----- second ^CFC002153
    this is text ^CFC001547 -- ---- new text ^CFC001547
    new name ^CFC002423 -- ---- helping you ^CFC002423
    text help ^CFC021445 ----- ---- Excel Help ^CFC021445


    Any help please?

    Thank You
    Last edited by gurp99; 04-12-2010 at 05:11 PM.

  2. #2
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Match and Sort two columns with Unique ID

    Hi
    in C1 use this formula
    '=INDEX($B$1:$B$4,MATCH(TRIM(RIGHT(A7,LEN(A7)-SEARCH("^",A7))),TRIM(RIGHT($B$1:$B$4,LEN($B$1:$B$4)-SEARCH("^",$B$1:$B$4))),0))

    confirm w. Ctrl+shift+Enter
    Then copy formula resukts and select column B. Reght click Paste special and choose Values . Pree OK. Thus you'l get rid of formulas ...
    See file
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  3. #3
    Registered User
    Join Date
    04-12-2010
    Location
    Surrey
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Match and Sort two columns with Unique ID

    Thank you very much!


+ 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