+ Reply to Thread
Results 1 to 3 of 3

Find a set of words or characters in a Cell using complex formula

  1. #1
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Find a set of words or characters in a Cell using complex formula

    Hi all,

    I've got the following formula that I'm using. It basically brings in specific values from another page. Then blanks out the value within the cell if the IF statement is true.

    Currently using,


    =IF(S35="E","",IFERROR(INDEX(Sheet1!Y$4:AC$432,MATCH($A35,Sheet1!AC$4:AC$432,0),1),""))
    Would like to incorporate Find / Search
    =if(FIND("EUR",A1),"TRUE","FALSE")
    Trying to do something like the following, but the following fails.
    =IF(FIND("E",S35),"",IFERROR(INDEX(Sheet1!Y$4:AC$432,MATCH($A30,Sheet1!AC$4:AC$432,0),1),""))
    NE hlp is appreciated.


    Thanks

    BDB
    Last edited by bdb1974; 11-09-2011 at 02:03 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: Find a set of words or characters in a Cell using complex formula

    You need to add an ISNUMBER() check to see if the result of the FIND() is numeric or error...

    e.g.

    =IF(ISNUMBER(FIND("E",S35)),"",IFERROR(INDEX(Sheet1!Y$4:AC$432,MATCH($A35,Sheet1!AC$4:AC$432,0),1),""))

    Note that FIND is case-sensitive.. if you don't want that use SEARCH() instead.
    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
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Re: Find a set of words or characters in a Cell using complex formula

    Thanks NBVC.

    As advised, I changed it to SEARCH to keep it from being case sensitive.

    Regards,

    BDB

+ 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