+ Reply to Thread
Results 1 to 38 of 38

Issue With Lookup 255 Character Limit

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: Issue With Lookup 255 Character Limit - Simple Example Attached

    Okay,

    Try this formula in C2 of Data sheet:

    =IF(SUMPRODUCT(--(ISNUMBER(SEARCH(A$2:A$4,AWorkbookin!$A2:$O2)))),B2,"")

    copied down

    then copy C2:C4 and paste to F2.

    Then formula in S2 of other sheet: =IF(AND(Data!C2="Male",Data!F2="Female"),"",Data!C2&"|"&Data!F2) should work.
    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
    08-19-2011
    Location
    UK
    MS-Off Ver
    2016
    Posts
    45

    Re: Issue With Lookup 255 Character Limit - Simple Example Attached

    Quote Originally Posted by NBVC View Post
    Okay,

    Try this formula in C2 of Data sheet:

    =IF(SUMPRODUCT(--(ISNUMBER(SEARCH(A$2:A$4,AWorkbookin!$A2:$O2)))),B2,"")

    copied down

    then copy C2:C4 and paste to F2.

    Then formula in S2 of other sheet: =IF(AND(Data!C2="Male",Data!F2="Female"),"",Data!C2&"|"&Data!F2) should work.
    Hi again NBVC,

    Thankyou very much for that formula - i have tested it out and it works except it seems for one thing:

    1/ In the 'Data' sheet column A has the list of words and wherever in the list a word is found (or if multiple words matched the last one is 'used') then the value in column B next to the matched word should be used.

    I've uploaded Example2 workbook to illustrate.

    In the Example2 workbook on the AWorkbookin sheet:

    S3 should = Male| (because ccc is found in F3)
    S4 should = x| (because dog is found in F4)

    Thank you in advance if you can help with the formula revision.
    Attached Files Attached Files

+ 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