+ Reply to Thread
Results 1 to 4 of 4

how to do a partial MATCH?

Hybrid View

  1. #1
    Registered User
    Join Date
    07-15-2010
    Location
    Watford, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    how to do a partial MATCH?

    Hi,
    I am trying to find a way of identifying a partial match between two bits of text.

    at present I am using the MATCH function to identify if an email address already exists in another sheet.
    In other words check if there is a match for [email protected] in sheet2

    I am using this formula =IFERROR(MATCH(F2,sheet2!$A$1:$A$4500,0),None)

    Now I want to check for *@fredsshop.com. In other words I want to do a partial match.

    Can anyone advise me how to change this formula to do this?

    Many Thanks,

    Richard

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

    Re: how to do a partial MATCH?

    For the specific example

    =IFERROR(MATCH(REPLACE(F2,1,FIND("@",F2),"*"),sheet2!$A$1:$A$4500,0),"None")

  3. #3
    Registered User
    Join Date
    07-15-2010
    Location
    Watford, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: how to do a partial MATCH?

    Hi Donkeyote,
    thanks for your reply - really appreciated.
    So would this give a positive match to the examples of [email protected] and also [email protected]?

    I'm not sure if I was clear enough but this is what I need to achieve.

    Once again, thanks for your help.

    Richard

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

    Re: how to do a partial MATCH?

    It was unclear as to what the content of F2 was but in essence the formula will conduct a partial match in so far as it will look for anything@fredshop.com in Sheet2!A1:A4500

    (assumes F2 contains an address with the relevant domain - eg [email protected])

    If in doubt test... if you're not getting the desired results best to post a sample file illustrating as such.

+ 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