+ Reply to Thread
Results 1 to 5 of 5

Formula to lookup multiple text values in multiple columns

Hybrid View

  1. #1
    Registered User
    Join Date
    07-04-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    3

    Formula to lookup multiple text values in multiple columns

    Hi,

    I am trying too use the search funtion to lookup a text string in multiple columns and return a value if it finds it in any column, this works fine in 1 column =IF(ISERROR(SEARCH("*blah*",D1)),0,1) but if i try and serach multiple columns at once it doesn't work... ie =IF(ISERROR(SEARCH("*ppa*",A1:S6000)),0,1)

    Any help would be appreciented.

    Thanks

    K

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula to lookup multiple text values in multiple columns

    Take a look here. Does this take care your needs?

    http://www.get-digital-help.com/2009...-excel-part-2/
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    07-04-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Formula to lookup multiple text values in multiple columns

    Thats looks like it's only searching for multiple cells, not multiple columns??

  4. #4
    Registered User
    Join Date
    07-04-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Formula to lookup multiple text values in multiple columns

    Maybe something like this?

    =IF(ISERROR(SEARCH("*blah*",D1)),0,1)+OR(IF(ISERROR(SEARCH("*blah*",E1)),0,1))

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula to lookup multiple text values in multiple columns

    Perhaps something like this...

    =--(COUNTIF(A1:s6000,"*blah*")>0)

    OR

    =--(COUNTIF(A1:s6000,"*blah*")>0)+--(COUNTIF(A1:s6000,"*ppa*")>0)+.....

    FOR MULTIPLY WORDS...

+ 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