+ Reply to Thread
Results 1 to 3 of 3

Yes/No value formula for if text is found in range

  1. #1
    Registered User
    Join Date
    12-18-2018
    Location
    london
    MS-Off Ver
    365 Business
    Posts
    1

    Yes/No value formula for if text is found in range

    Hi,

    i've been struggling to find a simple or effective formula for the below:

    i have a list of names and i want to confirm, (yes or no), if each name is found in a second list of names.

    =IF(ISNA(VLOOKUP(A1,RANGE,2,FALSE)),"no",VLOOKUP(A1,RANGE,2,FALSE))

    this worked okay however it didn't give me the 'yes' text if it was correct, instead it just copied the name

    is there a simpler way? e.g. COUNTIF


    thanks!

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: help! need a yes/no value formula for if text is found in range.

    Please try

    =if(countif(range,a1),"Yes","No")

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: help! need a yes/no value formula for if text is found in range.

    Yep Countif would work
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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 return cell value if/when certain text is found in a range
    By bardobhb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-28-2018, 10:57 AM
  2. Programming to return cell value if/when certain text is found in a range
    By bardobhb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-28-2018, 07:40 AM
  3. Search for value in a range and overwrite if found and create new if not found
    By mm671750 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-04-2016, 01:19 PM
  4. [SOLVED] How to find text then select RANGE form the text found to lastrow of Column J
    By tuongtu3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2014, 02:45 AM
  5. Return TRUE if 'part text' found in cell range
    By AnnieM in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 07-23-2014, 05:10 AM
  6. [SOLVED] vba overwrite text in string if found in a range using adjacent values ( inside same cell)
    By vlady in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-09-2013, 11:32 PM
  7. Set variable sort range based on found text
    By jeffbert in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-20-2006, 05:20 PM

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