Results 1 to 4 of 4

"IF" with range in Excel

Threaded View

  1. #1
    Registered User
    Join Date
    11-02-2011
    Location
    Los Angeles
    MS-Off Ver
    Excel 2007
    Posts
    2

    "IF" with range in Excel

    Is it possible to to write a formula that references another cell and compares it with a range of other cells to produce an either/or result?

    In other words, if I am looking at a name in a cell, and I want to know whether or not that name is also found within a range of other cells containing various names, how would I write the formula?

    While not a serious example of an Excel formula, I'm thinking of something that would duplicate the intent of the following faux formula (with apologies to SQL):

    =IF(A2(in(B2:B14)),"yes",no")

    Basically, is there a way to produce the effect of the imaginary "in" function in the faux formula above?
    Last edited by b_madoff; 11-02-2011 at 01:42 PM. Reason: Solved

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