Results 1 to 3 of 3

Excel 2007 : Finding a text with a string of text

Threaded View

  1. #1
    Registered User
    Join Date
    10-06-2011
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    34

    Finding a text with a string of text

    I have a list in column A and I want to search for a text in columns A string of text and return that text in column B. I used an IF(Search) statement and it worked for some rows but not all of them. how can i fix this?
    I attached a sample

    this is the IF statement in full:
    =IF(SEARCH("Pharma",$A2),"Pharma",IF(SEARCH("MD&D",$AO3),"MD&D",IF(SEARCH("Consumer",$A2),"Consumer")))

    thanks!
    Attached Files Attached Files

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