+ Reply to Thread
Results 1 to 16 of 16

Using Search, Index, Lookups, Etc.

Hybrid View

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

    Re: Using Search, Index, Lookups, Etc.

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.
    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.

  2. #2
    Registered User
    Join Date
    10-27-2010
    Location
    NC, United States
    MS-Off Ver
    2007
    Posts
    32

    Re: Using Search, Index, Lookups, Etc.

    I noticed the formula seems to split the text between spaces when searching. Where if you are searching WALMART, it wouldn't pick up TO:WALMART.

    I assume this is because its assigning a numerical value to each string delimited by the spaces. Is there any direction you can point me in or help me with that might allow me to search within strings where I would find the match above?

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

    Re: Using Search, Index, Lookups, Etc.

    I had added that feature specifically to avoid "false" positives., like if you want to look for the word "son", you wouldn't necessarily want it to pick up Johnson...

    To remove the feature change formula to:

    =IF(X2="","",LOOKUP(9.9999999E+307,SEARCH(IF(INDEX(MyRange,0,2)<>"",INDEX(MyRange,0,2)),X2),INDEX(MyRange,0,4)))

  4. #4
    Registered User
    Join Date
    10-27-2010
    Location
    NC, United States
    MS-Off Ver
    2007
    Posts
    32

    Re: Using Search, Index, Lookups, Etc.

    I guess that goes back to your quote, "Where there is a will there are many ways"

    We also contemplated maybe looping a find & replace and putting the necessary space or delimiter around key pieces before doing the lookup. Only time will tell what ends up being better. Thanks again.

+ 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