+ Reply to Thread
Results 1 to 3 of 3

Check if correct, result is 1 for Yes and N for NO

  1. #1
    Forum Contributor
    Join Date
    10-13-2011
    Location
    Australia
    MS-Off Ver
    Excel 2020
    Posts
    308

    Check if correct, result is 1 for Yes and N for NO

    Hi All
    I think this is a relatively simple lookup formula but I'm struggling to find something similar.
    Attached sample, result to appear in column A, if data in B is found in Column C, then result in A is 1 (that's a number): If result is not found, then result in A is N (that's for no).
    Thanks for any help you may be able to provide.
    Attached Files Attached Files
    Last edited by Christopherdj; 07-28-2020 at 12:08 AM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,620

    Re: Check if correct, result is 1 for Yes and N for NO

    Try this.

    =IF(ISERROR(MATCH(B2, $C$2:$C$14, 0)), "N", 1)
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    10-13-2011
    Location
    Australia
    MS-Off Ver
    Excel 2020
    Posts
    308

    Re: Check if correct, result is 1 for Yes and N for NO

    So simple but so effective, thank you so much for this. That was the one thing I hadn't tried, ISERROR.
    Well I'll certainly remember that for sure. Thank you so much.

+ 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] If the IF function result is false then check the next cell until get a true result
    By Beag air Bheag in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-10-2017, 08:55 AM
  2. [SOLVED] Formula for Predictions League - 3 points correct score or 1 point correct result
    By daveyboy1681 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-17-2016, 04:09 PM
  3. Replies: 7
    Last Post: 11-27-2015, 11:12 AM
  4. [SOLVED] Code result wrong but formula correct result
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-11-2014, 12:26 PM
  5. [SOLVED] Check cells are correct format and contain correct data
    By rikosborne in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-26-2014, 02:53 PM
  6. Replies: 1
    Last Post: 09-17-2012, 09:35 AM
  7. Replies: 3
    Last Post: 05-17-2008, 05:25 AM

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