+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    11-17-2009
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    11

    IF testing for match with range of values.

    Hello,

    I am trying to test for a match, IF ture return "Yes" IF not "No"

    I need to test if the value in one cell matches a value in a range of cells.

    I tried this but it does not work. =IF($F3=IncidentWS!$F2:$F22,"Yes","No")

    Data:

    Column 1
    CV
    ISP

    Column 2
    Network
    Internet
    ISP
    CV
    Last edited by NBVC; 03-12-2010 at 02:55 PM.

  2. #2
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,163

    Re: IF testing for match with range of values.

    Try:

    =IF(ISNUMBER(MATCH($F3,IncidentWS!$F2:$F22,0)),"Yes","No")
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    11-17-2009
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: IF testing for match with range of values.

    U rock! Thanks a million!

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.2.0