+ Reply to Thread
Results 1 to 3 of 3

Search for data within a Cell to determine result

  1. #1
    Registered User
    Join Date
    04-13-2009
    Location
    Auckland, New Zealand
    MS-Off Ver
    2010
    Posts
    48

    Search for data within a Cell to determine result

    I have a long string of text in cell B1 and I want to be able to analyse it using a formula to return a value in B1.

    Basically I want excel to search the text in A1 and if A1 contains "IUG" or "Extended" then the result to return in B1 is "IUG"

    Does anyone know how I can do this?

    thanks
    Last edited by dperry; 05-19-2010 at 10:32 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Search for data within a Cell to determine result

    try

    =IF(OR(ISNUMBER(SEARCH({"IUG","Extended"},A1))),"IUG","")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-13-2009
    Location
    Auckland, New Zealand
    MS-Off Ver
    2010
    Posts
    48

    Re: Search for data within a Cell to determine result

    Awesome, this has worked a treat! many thanks

+ 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