+ Reply to Thread
Results 1 to 3 of 3

Problem looking up a non-exact match

  1. #1
    Registered User
    Join Date
    04-02-2008
    Posts
    11

    Problem looking up a non-exact match

    I'm using the following formula to look up the third occurrence of the value "A2" in the "test" sheet, which could for example be "Apple pie", and then give me the value that's in the first row in that sheet. This works flawless, but I need to also make it find the occurrence of "Apple pie with coffee", so anything starting with "Apple pie" and then something after that. I'm sure there's a formula for this, I just can't seem to find it.

    =IFERROR(INDEX(test!$A$2:$B$201;SMALL(IF(test!$A$2:$B$201=A2;ROW(test!$A$2:$B$201)-ROW($R$2)+1;ROW($B$201)+1);3);1); $A$99)

    Thanks in advance.

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



    Please Login or Register  to view this content.
    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-02-2008
    Posts
    11
    Brilliant, 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