+ Reply to Thread
Results 1 to 4 of 4

How to combine two search formula's in to one with OR function

  1. #1
    Registered User
    Join Date
    09-21-2013
    Location
    chennai,India
    MS-Off Ver
    Excel 2010
    Posts
    75

    How to combine two search formula's in to one with OR function

    Hi All,


    Formula 1 : =IF(SEARCH({"spinning"},A2),"AUTOGEN")

    Formula 2 : =IF(SEARCH({"typing"},A2),"Manual")

    I want to combine above two formula's with "OR" function.

    please help me out on this.

    Thanks in Advance

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: How to combine two search formula's in to one with OR function

    I'm not sure why you've got the curly there, but try this:

    =IF(ISNUMBER(SEARCH("spinning",A2)),"AUTOGEN",IF(ISNUMBER(SEARCH("typing",A2)),"Manual",""))

    Hope this helps.

    Pete

  3. #3
    Forum Contributor vamosj's Avatar
    Join Date
    04-23-2004
    Location
    Oregon
    MS-Off Ver
    2010
    Posts
    294

    Re: How to combine two search formula's in to one with OR function

    Try this.


    =IF(IFERROR(IF(SEARCH({"typing"},A2),"Manual"),"")="",(IF(IFERROR(IF(SEARCH({"spinning"},A2),"AUTOGEN"),"")="","",IF(SEARCH({"spinning"},A2),"AUTOGEN"))),IF(SEARCH({"typing"},A2),"Manual"))
    Janos S. Vamos
    Data Systems Technician/Fire Controlman PO1(SW/AW)
    US Navy Retired


    Remember, Record Macro can be your friend for figuring out solutions.

    Good or Bad, let me know how I did by clicking on the "Add Reputation" * just to the lower left of here. it only takes a few seconds to let someone know.

  4. #4
    Forum Contributor
    Join Date
    07-07-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    256

    Re: How to combine two search formula's in to one with OR function

    hai thinker instead of combining with or u can use a simple if function like
    =IF(A2="spinning","AUTOGEN","Manual")

+ 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] combine 2 formula, IF function help
    By theghost in forum Excel General
    Replies: 3
    Last Post: 08-31-2012, 04:02 PM
  2. [SOLVED] how to combine multiple conditions with search functions and macro the function
    By melvyndb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-27-2012, 05:45 AM
  3. how to combine multiple conditions with search functions and macro the function
    By melvyndb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2012, 07:11 AM
  4. Including a search function in a match formula
    By Weasel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-16-2009, 03:57 AM
  5. how can i combine search?
    By meloni in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 09-08-2007, 12:29 PM

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