+ Reply to Thread
Results 1 to 3 of 3

Need Help Understanding how to look up sentences.

  1. #1
    Registered User
    Join Date
    03-12-2015
    Location
    Oklahoma
    MS-Off Ver
    365
    Posts
    1

    Need Help Understanding how to look up sentences.

    Hello,

    So say that I have a table with

    1 This is the sentence that goes here1
    2 This is the sentence that goes here2
    3 This is the sentence that goes here3
    4 This is the sentence that goes here4

    That as a managed name of Table, and the in cell A3 = This is the sentence that goes here3

    Say that if I was to use Vlookup like so

    =VLOOKUP(A3,Table,1,0)

    I would get the result of 3, but all that comes back is #N/a. I don't know if this is the correct function that I need to use. Any thing that you could think of would be great.

    The reason that I need this is for an assessment and I want it to look up the point value for that option, the options are sentence. Like No assistance required with personal grooming. When I select that option I would like it to return its point value of 0.

  2. #2
    Registered User
    Join Date
    03-06-2014
    Location
    Pakistan
    MS-Off Ver
    Excel 2016
    Posts
    29

    Re: Need Help Understanding how to look up sentences.

    i think you use the lookup formula like this
    =LOOKUP(A1,A:A,B:B)

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Need Help Understanding how to look up sentences.

    Hi, welcome to the forum

    vlookup cannot (generally) "look behind itself", meaning that the column containing your search criteria, needs to be the left-most column of your search range. If it is not, then you coulld use something like this...

    =INDEX(A1:A4,match(A3,B1:B4,0))

    Where A1:A4 are those numbers
    B1:B4 contains your text
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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] How Can I: Have My Chart and Associated Data Table Understand Multiple Years?
    By Sandcastle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-11-2014, 08:24 AM
  2. [SOLVED] Understand lookup, index & match formulae
    By Dushantha in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-18-2012, 05:50 AM
  3. Replies: 0
    Last Post: 02-15-2012, 12:26 PM
  4. Replies: 2
    Last Post: 01-27-2012, 05:49 AM
  5. Don't understand Lookup function
    By Beblessed in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-01-2006, 04:57 AM

Tags for this Thread

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