+ Reply to Thread
Results 1 to 5 of 5

If ISNUMBER MATCH function not working.

  1. #1
    Registered User
    Join Date
    05-29-2013
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013
    Posts
    2

    If ISNUMBER MATCH function not working.

    Hello,

    I have a worksheet of 144484 species locality records for around 600 species. Column A is species name, B is latitude, and C is longitude. I have another column, D, That only contains 471 species names. I need to extract only the records, Column A through C, that correspond to Column D. I have been Trying to use this formula in column E: =IF(ISNUMBER(MATCH(A2, D2:D471,0)),"1","0").
    It returns all 0 which would mean there are no matches. I know, however that there are matches because If I enter the same formul but match D2 to anything in A, =IF(ISNUMBER(MATCH(D2,A2:A144484,0)),"1","0"), it returns 1s for all of the 471 species. The only reason I am using this formula is because I am familiar with it so I am open to new suggestions. I was going to sort by column D then extract all records with a "1" in column D. I tried to attach my workbook but it is too large. I can cut it down and attach it but I don`t know how much I should cut it down. Let me know if this doesn`t make sense and I will try to explain better.

    Thanks,

    Blake

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: If ISNUMBER MATCH function not working.

    Hard to say. So if there is a match in A and D, it is an exact match?

    In E2, you should have
    =IF(ISNUMBER(MATCH(A2, $D$2:$D$471,0)),"1","0")
    so the range stays constant when you copy it down.
    Did that help?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If ISNUMBER MATCH function not working.

    Perhaps you need to Lock the range..

    =IF(ISNUMBER(MATCH(A2, D$2:D$471,0)),"1","0")

    Without those $'s, the formula change from
    =IF(ISNUMBER(MATCH(A2, D2:D471,0)),"1","0")
    to
    =IF(ISNUMBER(MATCH(A3, D3:D472,0)),"1","0")
    to
    =IF(ISNUMBER(MATCH(A4, D4:D473,0)),"1","0")
    As you fill down, so it's not actually looking in the correct range all the way down.

  4. #4
    Registered User
    Join Date
    05-29-2013
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: If ISNUMBER MATCH function not working.

    I need to do some more checking but it looks to have worked. Thank you so much. Been working on this for 2 days now. You are my hero.

  5. #5
    Registered User
    Join Date
    05-09-2014
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: If ISNUMBER MATCH function not working.

    There's another solution! If you use use the 'dragger' to count a list of numbers - for example you write 0.1 then 0.11 in the next cell and drag it down or across to count ie 0.1, 0.11, 0.12 etc for some reason it doesn't count exactly. If you look at the number it might say 0.12000000001. This means obviously that it isn't a MATCH so does not return the result expected. To resolve this - ROUND the number to the correct format eg =ROUND(A2,2) then apply the formula to the rounded number.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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