+ Reply to Thread
Results 1 to 4 of 4

If value found display X, else Y

  1. #1
    Registered User
    Join Date
    12-25-2010
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2010
    Posts
    11

    If value found display X, else Y

    Hello,

    I want to search for a specific cell content (BC1) in a row (B46:V46). If found, I want to display let's say "X", else "Not Found".

    I guess it looks something like this:

    =IF(ISNA(HLOOKUP(BC1, $B$46:$V$46, 46)), "Not Found", "X")

    but...

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: If value found display X, else Y

    N-ter,

    Give the following a try:
    =IF(ISNUMBER(MATCH(BC1,B46:V46,0)),"X","Not Found")

    Hope that helps,
    ~tigeravatar

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: If value found display X, else Y

    try MATCH formula

    =IF(ISNUMBER(MATCH(BC1, $B$46:$V$46, 0)), "X", "Not Found")

  4. #4
    Registered User
    Join Date
    12-25-2010
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: If value found display X, else Y

    It works, thanks 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