+ Reply to Thread
Results 1 to 2 of 2

Need to search for 3 separate items

Hybrid View

  1. #1
    Registered User
    Join Date
    08-24-2016
    Location
    California
    MS-Off Ver
    Office 2021
    Posts
    93

    Need to search for 3 separate items

    Hey Guys,

    I need to search row H-5 for WAC, also search M-5 for RTC or PHP, if they find both items I need them to return the value of E-5. Then I need to be able to copy the formula all the way down to line 66. I hope this makes sense.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,312

    Re: Need to search for 3 separate items

    It depends on what you mean by search. In whatever column you are using, in row 5:


    If you mean those values exactly:

    =IF(AND(H5="WAC",OR(M5="RTC",M5="PHP")),E5,"")

    If you mean they have strings that may contain those substrings:

    =IF(AND(NOT(ISERROR(FIND("WAC",H5))),OR(NOT(ISERROR(FIND("RTC",M5))),NOT(ISERROR(FIND("PHP",M5))))),E5,"")
    Bernie Deitrick
    Excel MVP 2000-2010

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Search within a column and repeat the search until all items are found
    By RANDY LIPOSKY in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-09-2014, 10:23 AM
  2. [SOLVED] how can I separate 5 items from 1 column
    By djmatok in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-02-2013, 09:37 PM
  3. How to separate items by weight and size
    By Heshl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-07-2013, 01:26 AM
  4. Track expired items in separate sheet
    By ctgo4it in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-21-2012, 03:01 PM
  5. How to Separate Items within string of text?
    By djh30 in forum Excel General
    Replies: 3
    Last Post: 06-07-2012, 07:03 PM
  6. Separate Line items
    By seif10mes in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-16-2011, 10:08 AM
  7. Add substrings to collection as separate items
    By c4tin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-14-2009, 12:47 PM
  8. How can I separate items from one cell into two?
    By Bootsy in forum Excel General
    Replies: 5
    Last Post: 02-18-2005, 10:06 AM

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