+ Reply to Thread
Results 1 to 7 of 7

Lookup text, return a value

  1. #1
    Registered User
    Join Date
    05-27-2009
    Location
    Bucharest Romania
    MS-Off Ver
    Excel 2007
    Posts
    29

    Lookup text, return a value

    I am trying to have a formula that will return a value on another column based on the last entry for the search item.
    The one i have is KIND of working, but with errors.

    Can anyone suggest a better/easier way?
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Lookup text, return a value

    Hi,

    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    in C200 copied down
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    05-27-2009
    Location
    Bucharest Romania
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: Lookup text, return a value

    problem with this example is "richard.pigden" ... it returns weird value
    another inconsistent return is ken.mcallister.. it should be the value from c166

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Lookup text, return a value

    I think this part should be change
    ($C$1:$C$190=F200) it should be ($C$2:$C$190=F200)
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Registered User
    Join Date
    05-27-2009
    Location
    Bucharest Romania
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: Lookup text, return a value

    it seems that it worked!

    but why would it mess my results?!

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Lookup text, return a value

    Quote Originally Posted by cristian.ene View Post
    it seems that it worked!

    but why would it mess my results?!
    Because the range was off by 1. Instead of C1 it should be C2

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,742

    Re: Lookup text, return a value

    Quote Originally Posted by AlKey View Post
    I think this part should be change
    ($C$1:$C$190=F200) it should be ($C$2:$C$190=F200)
    Nice catch AlKey .. I was scratching my head, too.
    Dave

+ 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. Lookup a Code and Return Text
    By ckenn134 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-27-2013, 08:34 AM
  2. [SOLVED] Return text from cell. Not sure whether to use Lookup, if, or something else!?
    By katy1985 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-20-2013, 08:51 AM
  3. Need to lookup text value & return sum of corresponding values
    By Venessa in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-10-2013, 05:37 PM
  4. Lookup Text in Table and Return Specified Text Value
    By mlukich in forum Excel General
    Replies: 3
    Last Post: 08-26-2011, 02:26 PM
  5. Look-up text from list then lookup its return from range
    By timarcarze in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-20-2008, 10:08 AM
  6. Lookup text, return corresponding values
    By rmichaels55 in forum Excel General
    Replies: 1
    Last Post: 07-14-2008, 10:03 PM
  7. lookup a text cell and return text
    By Cristi R in forum Excel General
    Replies: 1
    Last Post: 08-01-2006, 03:15 PM

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