+ Reply to Thread
Results 1 to 5 of 5

Help with =IF(ISNUMBER(SEARCH

Hybrid View

  1. #1
    Registered User
    Join Date
    10-18-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    6

    Help with =IF(ISNUMBER(SEARCH

    Hi,
    My problem is that the function I am using does not seem to be precise enough. I'm asking it to search a box full of numbers and return an 'x' if it finds a number which matches the number in cell at the top of column, an 'o' if not. However, it's not entirely accurate. For example, if it's supposed to search for 1.1 and it finds 1.15, it still returns an 'x'.
    Here is the function: =IF(ISNUMBER(SEARCH(C$1,Sheet1!$C3)),"X","O")

    This is the sheet with cells returning x's and o's
    x and o.JPG

    These are the boxes full of numbers through which the function is searching
    search box.JPG

    Any help would be greatly appreciated.

    Thanks.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Help with =IF(ISNUMBER(SEARCH

    As you have a comma following each of those numbers, try it like this:

    =IF(ISNUMBER(SEARCH(C$1&",",Sheet1!$C3&",")),"X","O")

    Hope this helps.

    Pete

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,172

    Re: Help with =IF(ISNUMBER(SEARCH

    Or try this...
    =IF(ISNUMBER(MATCH(C$1,Sheet1!$C3,0)),"X","O")

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Help with =IF(ISNUMBER(SEARCH

    Quote Originally Posted by Phuocam View Post
    Or try this...
    =IF(ISNUMBER(MATCH(C$1,Sheet1!$C3,0)),"X","O")
    No, there isn't an exact match.

    Pete

  5. #5
    Registered User
    Join Date
    10-18-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    6

    Re: Help with =IF(ISNUMBER(SEARCH

    Adding commas worked. What an easy fix. I wouldn't have even thought of that. Thanks!

+ 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. =IF(ISNUMBER(SEARCH(.... using lookups?
    By jessic@ in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-25-2017, 03:14 AM
  2. [SOLVED] ISNUMBER and SEARCH
    By jwkathol in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-15-2016, 10:07 PM
  3. [SOLVED] IF(AND(ISNUMBER(SEARCH())) Function
    By joshuarobbins in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-30-2015, 12:57 PM
  4. [SOLVED] if isnumber search problem
    By rookie284 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-18-2014, 11:32 AM
  5. [SOLVED] if(isnumber(search(not this text?)
    By wizadele14 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-19-2013, 08:02 AM
  6. If, or, isnumber, search
    By reb2u in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2012, 10:53 AM
  7. Isnumber(search
    By AVIDDA in forum Excel General
    Replies: 1
    Last Post: 01-14-2011, 02:45 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