+ Reply to Thread
Results 1 to 2 of 2

Google Sheets Error in formula - =IF(SEARCH(B$1, $A2),"Yes","No")

  1. #1
    Registered User
    Join Date
    11-29-2013
    Location
    UK
    MS-Off Ver
    Office 365 subscription
    Posts
    58

    Google Sheets Error in formula - =IF(SEARCH(B$1, $A2),"Yes","No")

    Does anyone have any thoughts please on where the formulas in the Google Sheet below are falling down please?

    I'm getting the correct "Yes" answers where the text is found but where it's not found I get #value! rather than a, "No"

    https://drive.google.com/file/d/1QRJ...ew?usp=sharing

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent SAC
    Posts
    8,885

    Re: Google Sheets Error in formula - =IF(SEARCH(B$1, $A2),"Yes","No")

    Search returns an error if the text isn't found, so you need something like:

    =IF(iserror(SEARCH(D$1, $A2)),"No","Yes")
    Rory

+ 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. Replies: 3
    Last Post: 11-19-2020, 08:30 PM
  2. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  3. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  4. Replies: 35
    Last Post: 01-13-2016, 02:16 AM
  5. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  6. [SOLVED] How to Count number of "Error" and "OK" after the word "Instrument" found in table row
    By eltonlaw in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2012, 06:26 AM
  7. Replies: 5
    Last Post: 10-12-2010, 06:46 AM

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