+ Reply to Thread
Results 1 to 4 of 4

=IF(ISNUMBER(SEARCH Problem

  1. #1
    Forum Contributor
    Join Date
    12-30-2008
    Location
    Woking, England
    MS-Off Ver
    Excel 2007
    Posts
    197

    =IF(ISNUMBER(SEARCH Problem

    Hi,

    I'm trying to search a column for a part number. If it is present in that column then display Y. If it isn't display N.

    I am using the following formula:

    Please Login or Register  to view this content.
    For some reason it is displaying N even though 'LRI8134/00' is present.

    Any thoughts would be good

    Cheers

    Sam
    Last edited by 3smees23; 11-09-2012 at 10:54 AM.

  2. #2
    Forum Contributor
    Join Date
    09-13-2012
    Location
    Atlanta, USA
    MS-Off Ver
    Office 2003, 2010
    Posts
    230

    Re: =IF(ISNUMBER(SEARCH Problem

    Try:

    Please Login or Register  to view this content.
    Last edited by jake.masters; 11-09-2012 at 10:49 AM.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: =IF(ISNUMBER(SEARCH Problem

    SEARCH is used within a specific cell, not a range.
    Try COUNTIF

    =IF(COUNTIF($E$5:$E$18,"*LRI8134/00*"),"Y","N")
    Does that work for you?

    EDIT: I assumed the cell might contain more than the part number and used wildcards "*"
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Contributor
    Join Date
    12-30-2008
    Location
    Woking, England
    MS-Off Ver
    Excel 2007
    Posts
    197

    Re: =IF(ISNUMBER(SEARCH Problem

    Cheers guys!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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