+ Reply to Thread
Results 1 to 12 of 12

IF(ISERROR(MATCH) problem

  1. #1
    Registered User
    Join Date
    10-07-2014
    Location
    Denver
    MS-Off Ver
    XP
    Posts
    7

    IF(ISERROR(MATCH) problem

    This is driving me nuts. I'm sure its pretty easy but have not been able to find the solution.

    I have two columns of text data ( song titles) I want to see which title from column A also appears in column B.
    What is challenging is that the titles are not exact matches, although the first 5-6 characters are the same. I have been using the following but it only works for exact matches.

    can someone please help.




    =IF(ISERROR(MATCH(C3,$H$1:$H$339,0)),"",C3)

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: IF(ISERROR(MATCH) problem

    See if this will work

    Instead of C3 use this:

    LEFT(C3,5)&"*"

    or see if this formula will work for you

    =INDEX(C:C,MATCH(LEFT(C3,5)&"*",$H$1:$H$339,0))

    C
    D
    E
    F
    G
    H
    3
    POP Music POP Music POP Music new
    Last edited by AlKey; 10-07-2014 at 03:52 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: IF(ISERROR(MATCH) problem

    Can you post some sample data?

    Also, you can use IFERROR instead of an IF(ISERROR()) combo

    =IFERROR(YourFormulaHere,"")
    That will leave a blank if the formula produces an error.
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  4. #4
    Registered User
    Join Date
    10-07-2014
    Location
    Denver
    MS-Off Ver
    XP
    Posts
    7

    Re: IF(ISERROR(MATCH) problem

    Hey alkey, that didn't work.

  5. #5
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: IF(ISERROR(MATCH) problem

    Quote Originally Posted by Speshul View Post
    Also, you can use IFERROR instead of an IF(ISERROR()) combo
    OP has listed MS version as "XP", which implies Windows 2003 (or maybe even earlier); IFERROR was introduced with 2007.




    Quote Originally Posted by sin303 View Post
    Hey alkey, that didn't work.
    Did you adjust the example formula to match your specific range references?
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  6. #6
    Registered User
    Join Date
    10-07-2014
    Location
    Denver
    MS-Off Ver
    XP
    Posts
    7

    Re: IF(ISERROR(MATCH) problem

    I do have windows 2007, let me give it another try

  7. #7
    Registered User
    Join Date
    10-07-2014
    Location
    Denver
    MS-Off Ver
    XP
    Posts
    7

    Re: IF(ISERROR(MATCH) problem

    here is an example of what i'm doing.

    what i used first =IF(ISERROR(MATCH(C3,$H$1:$H$339,0)),"no match",C3)
    Alkey's suggestion was pretty close but not quite.


    as you can see the titles are not exactly the same although the first few characters are.


    B C G H
    Artist Title Artist Title
    10cc Dreadlock Holiday (1978) 10cc Dreadlock Holiday
    10cc I'm Not In Love (1975) 10cc The Things We Do For Love
    10cc People In Love (1977) A Taste Of Honey Boogie Oogie Oogie
    10cc I'm Mandy Fly Me (1976) Abba Eagle
    10cc Good Morning Judge (1977) Abba The Name Of The Game
    10cc Donna (1973) Abba Ring Ring
    10cc Art For Art's Sake (1975) Abba Chiquitita
    10cc Dreadlock Holiday (1978) Abba Dancing Queen
    5000 Volts I'm On Fire (1978) Abba Knowing Me Knowing You
    Abba Dancing Queen (Extend Rmx)1976 Abba Does Your Mother Know
    Abba Mamma mia (1976) Abba Fernando
    Abba Knowing me knowing you (1977) Abba Waterloo
    Abba Chiquitita (1979) Abba Take A Chance On Me
    Abba Waterloo (1974) Abba Mamma Mia

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: IF(ISERROR(MATCH) problem

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  9. #9
    Registered User
    Join Date
    10-07-2014
    Location
    Denver
    MS-Off Ver
    XP
    Posts
    7

    Re: IF(ISERROR(MATCH) problem

    ok I've attached a file with a small portion of the database. I want to see the duplicates of same cells from C column & H column, even though the cell info is not exactly the same. they do start the same, so I was trying to use LEFT(C4,5) but could not get it to work.


    thanks
    Attached Files Attached Files

  10. #10
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: IF(ISERROR(MATCH) problem

    With your formula

    =IF(ISERROR(MATCH(LEFT(C3,5)&"*",$H$1:$H$339,0)),"no match",C3)

    L
    M
    2
    Your Results New Results
    3
    Dreadlock Holiday (1978) Dreadlock Holiday (1978)
    4
    no match no match
    5
    no match no match
    6
    no match no match
    7
    no match no match
    8
    no match no match
    9
    no match no match
    10
    Dreadlock Holiday (1978) Dreadlock Holiday (1978)
    11
    no match no match
    12
    no match Dancing Queen (Extend Rmx) (Andy7) 1976
    13
    no match Mamma mia (1976)
    14
    no match Knowing me knowing you (1977)
    15
    Chiquitita (1979) Chiquitita (1979)
    16
    no match Waterloo (1974)
    17
    no match no match
    18
    no match The name of the game (1977)

  11. #11
    Registered User
    Join Date
    10-07-2014
    Location
    Denver
    MS-Off Ver
    XP
    Posts
    7

    Re: IF(ISERROR(MATCH) problem

    thats exactly it, thank you very,very much. I wish I could give you tons of reputation points. you're the man!

  12. #12
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: IF(ISERROR(MATCH) problem

    You're welcome
    You should've taken my advice given in my first post to use LEFT(C3,5)&"*" instead of just C3

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] match function, iserror
    By Decar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-02-2013, 06:21 PM
  2. Iserror/Index/Match in VBA
    By benno87 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-01-2009, 09:03 PM
  3. =IF(ISERROR(MATCH formula
    By ilco2 in forum Excel General
    Replies: 3
    Last Post: 02-27-2009, 03:15 PM
  4. Match/index/iserror
    By gmcana in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-14-2008, 08:52 AM
  5. [SOLVED] IsError and Match function
    By Tom Ogilvy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-26-2006, 02:55 PM

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