+ Reply to Thread
Results 1 to 3 of 3

Lookup to reference part of a string of text.

  1. #1
    Registered User
    Join Date
    11-25-2014
    Location
    Leeds, England
    MS-Off Ver
    2010
    Posts
    49

    Lookup to reference part of a string of text.

    I have this formula =LOOKUP(A1,1/(B1:B10=42)/(A1:A10=A1),C1:C10) which does most of what I want it to. However I want it so C1:C10 will pull the last cell in the range containing the word "Week" as part of a string of text. Can anyone tell me how I can do this?

  2. #2
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: Lookup to reference part of a string of text.

    It would be helpful to have some context and/or a sample file. We dont know what the formula currently does and have no context to determine what changes need to happen for it to do what you want.

    What I can say so far is that using LOOKUP with the 3rd argument (result_vector) basically makes it act like a VLOOKUP. It finds your lookup value in the lookup_vector and returns a result in the result_vector at the same relative position. As soon as you dictate any other condition for what/how to pull a value you are outside the scope of what the individual formula was intended to do.

    In context it is likely you will get a better answer

  3. #3
    Registered User
    Join Date
    11-25-2014
    Location
    Leeds, England
    MS-Off Ver
    2010
    Posts
    49

    Re: Lookup to reference part of a string of text.

    It is referencing 3 columns which can have multiple of the same values in. This will find a reference in column A, then a Value in column B and currently pull the last Comment in column C where the criteria from A and B have been matched. I want to specify the last value in C that contains the word "Week" as part of a string of text (eg. "Week 1 of 2" but this will be vary from cell to cell)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Lookup formula to find part of a text string
    By A440 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-30-2015, 08:21 AM
  2. Replies: 2
    Last Post: 03-18-2015, 07:30 PM
  3. [SOLVED] Can I remove the first part of a string of text and keep the second part?
    By Whoop92 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 02-12-2014, 07:44 PM
  4. Lookup for Code that Corresponds to Part of string of text in a Cell
    By brandnew22 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-06-2013, 07:33 PM
  5. [SOLVED] LOOKUP using only part of a string?
    By KiwiLad in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-08-2012, 01:26 AM
  6. [SOLVED] Help with a lookup that looks for part of a string
    By Ainsley in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-02-2012, 06:02 AM

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