+ Reply to Thread
Results 1 to 3 of 3

Taking an Index Match Function one step further!

  1. #1
    Registered User
    Join Date
    10-02-2008
    Location
    UK
    Posts
    31

    Taking an Index Match Function one step further!

    Hi all,

    I'm matching ISO country codes to country names.

    This works great as long as the 'lookup_value' portion of the match fuction matches the 3 digit code on Sheet3.

    Is it possible to return my desired result without this matching perfectly.

    So a value in 'Sheet1 Column A' that begins A344xxxxxxx will return the same result in 'Sheet1 Column F' as if 'Column A' just had a 3 digit number.

    Pls see the example file for clarification.

    Maybe this will required VBA?

    If so, sorry for posting in the wrong forum.


    Cheers


    Ben
    Attached Files Attached Files
    Last edited by Ben Morton; 04-08-2009 at 07:18 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Taking an Index Match Function one step further!

    Perhaps you want to utilise MID, eg:

    F3: =INDEX(Sheet3!A:A,MATCH(0+MID(Sheet1!A3,2,3),Sheet3!B:B,0))

  3. #3
    Registered User
    Join Date
    10-02-2008
    Location
    UK
    Posts
    31

    Re: Taking an Index Match Function one step further!

    Thankyou vmuch,

    I'd never heard of th 'Mid' fucntion.

    Many 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