+ Reply to Thread
Results 1 to 8 of 8

Formula to Locate Matching Data in Worksheets and return "1" or "0" to a specified Cell

  1. #1
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Formula to Locate Matching Data in Worksheets and return "1" or "0" to a specified Cell

    Hi Folks
    Looked a simple one even for me but I could not get it to work.

    Lookup a value in a cell to see if there is a match in Col A of another sheet and return "1" if matched and "0" if no match.

    Workbook attached.

    Cheers
    Hammer
    Attached Files Attached Files
    If you have found solving my problem/s to be an interesting and educational exercise then how about Repping me up?
    No idea why I need Rep, other than feeling left out....

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Formula to Locate Matching Data in Worksheets and return "1" or "0" to a specified Cel

    Try this...
    =IF(ISNUMBER(MATCH(I1,Table!A1:A7,0)),1,0)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Formula to Locate Matching Data in Worksheets and return "1" or "0" to a specified Cel

    Or,

    =IF(ISERROR(VLOOKUP(I1,Table!A:A,1)),0,1)

  4. #4
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formula to Locate Matching Data in Worksheets and return "1" or "0" to a specified Cel

    Hi Glenn
    That formula is one that I did try without success in my actual Workbook.
    The value I am looking up is the result of another formula- could that present a problem?
    Cheers
    hammer

  5. #5
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formula to Locate Matching Data in Worksheets and return "1" or "0" to a specified Cel

    Same problem there too cba-

  6. #6
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formula to Locate Matching Data in Worksheets and return "1" or "0" to a specified Cel

    Just going to review my Data sheet. Has to be a problem there-

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Formula to Locate Matching Data in Worksheets and return "1" or "0" to a specified Cel

    Look for extra spaces...

  8. #8
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formula to Locate Matching Data in Worksheets and return "1" or "0" to a specified Cel

    found those extra spaces--- between my ears
    Had a heading/col missing grrrrrrrrrr
    Many thanks folks

+ 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] Formula to Locate Matching Data in Worksheets and return Yes or "" to a specified Cell
    By hammer2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-23-2015, 06:12 AM
  2. Replies: 5
    Last Post: 01-23-2014, 11:02 AM
  3. [SOLVED] IF Formula not working - need to return "NO" if cell is 1% greater or "YES" if less 1%
    By maryren in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-26-2013, 11:34 AM
  4. Return "green", "yellow" or "red" from date/age and priority ranking
    By Cantaloop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2013, 12:12 AM
  5. Replies: 3
    Last Post: 02-16-2011, 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