+ Reply to Thread
Results 1 to 4 of 4

If functions: cross referencing lists between sheets

  1. #1
    Registered User
    Join Date
    07-28-2010
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    2

    If functions: cross referencing lists between sheets

    Hi guys,
    I am an environmental scientist, and use Excel to help me work out which plant and animal species are protected. On one sheet I have a list of all the species that are protected, and on another I paste in a list of all the species that I found on the site. I have set up a formula to check the 'pasted' list against the 'protected' list on the other sheet, and if a species is protected then it flags it up.

    This works fine, however it only works for the first 263 records - if a species is listed in row 264 or over on the 'protected' sheet, then it is never picked up in the list that I paste into the 'pasted' sheet. The formula is exactly the same for all rows, and is as follows:

    =IF(ISNA(MATCH(B2,Protected!a, 0)),"","protected")


    Can anyone think why it is not working beyond this limit? If it helps I could attach the excel file, but I'm not sure what the rules are about attachments?

    Thanks,
    Nick

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: If functions: cross referencing lists between sheets

    Is your protected range protected!a:a ? It is Protected!a in your example

  3. #3
    Registered User
    Join Date
    07-28-2010
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: If functions: cross referencing lists between sheets

    Yes that worked perfectly thanks! It was a very small change but seems to have done the job.

    Would you mind explaining what the difference is between protected!a:a and Protected!a please?

    Thanks again

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: If functions: cross referencing lists between sheets

    To be honest, all I know is that a range is always defined with a :.like a1:b4 or b:b,2:2, etc. I never heard of a range defined as you did
    Maybe you could also try =if(countif(b2,Protected!a:a),"protected","") It might be faster

+ 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