+ Reply to Thread
Results 1 to 3 of 3

Column list search

  1. #1
    Registered User
    Join Date
    02-08-2006
    Location
    NJ
    Posts
    1

    Column list search

    Need help please!!!! I have 8 columns and 10 items to look up for within these columns. I need a function witch will give me a 1 if any of the the items are in the columns..I have this function to find one item, but when i try to put more items to be found i get no result..

    thanks

    =IF(OR(S2="BGMFIELDNOTIF",U2="BGMFIELDNOTIF",W2="BGMFIELDNOTIF",Y2="BGMFIELDNOTIF",AA2="BGMFIELDNOTIF",AC2="BGMFIELDNOTIF",AE2="BGMFIELDNOTIF",AG2="BGMFIELDNOTIF"),1, " ")

  2. #2
    sp3cialist
    Guest

    RE: Column list search

    Not sure I understand fully, have you tried V Lookup?

    "JRIVERA77" wrote:

    >
    > Need help please!!!! I have 8 columns and 10 items to look up for within
    > these columns. I need a function witch will give me a 1 if any of the
    > the items are in the columns..I have this function to find one item,
    > but when i try to put more items to be found i get no
    > result..
    >
    > thanks
    >
    > =IF(OR(S2="BGMFIELDNOTIF",U2="BGMFIELDNOTIF",W2="BGMFIELDNOTIF",Y2="BGMFIELDNOTIF",AA2="BGMFIELDNOTIF",AC2="BGMFIELDNOTIF",AE2="BGMFIELDNOTIF",AG2="BGMFIELDNOTIF"),1,
    > " ")
    >
    >
    > --
    > JRIVERA77
    > ------------------------------------------------------------------------
    > JRIVERA77's Profile: http://www.excelforum.com/member.php...o&userid=31325
    > View this thread: http://www.excelforum.com/showthread...hreadid=510111
    >
    >


  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996
    See if this works for you:

    =IF(ISNUMBER(SEARCH("BGMFIELDNOTIF",S2&U2&W2&Y2&AA2&AC2&AE2&AG2)),1," ")

    That will determine if BGMFIELDNOTIF exists anywhere in those cells.
    Note: it will also match if that string is embedded within a cell.
    Example: aaaBGMFIELDNOTIFbbb

    Otherwise, if you need cell content matches, maybe this with will suit your needs:
    =IF(SUMPRODUCT(((S2:AG2)="BGMFIELDNOTIF")*MOD(COLUMN(S2:AG2),2))>0,1," ")

    Does that help?

    Regards,
    Ron

+ 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