+ Reply to Thread
Results 1 to 3 of 3

Why does my Lookup function not work?

  1. #1
    Registered User
    Join Date
    06-23-2017
    Location
    Fort Collins, CO
    MS-Off Ver
    Office 2010
    Posts
    29

    Why does my Lookup function not work?

    I am clearly not using this right because I'm not getting the correct results at all. As I thought the function worked, Lookup([subject value],[range to match],[output of matching value]), B9 should output the value from the range that matches or is less than B8 (my subject). However my results are a mess. Anything <69= N/A, 69=C, and >69=F. Clearly I'm not doing this right. Please help.

    Thanks,
    Attached Files Attached Files
    Last edited by Punxatawny; 02-04-2019 at 03:25 AM.

  2. #2
    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,939

    Re: Why does my Lookup function not work?

    Try changing your list to smallest to greatest, then use
    =VLOOKUP(A8,$A$1:$B$5,2,1)
    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

  3. #3
    Registered User
    Join Date
    06-23-2017
    Location
    Fort Collins, CO
    MS-Off Ver
    Office 2010
    Posts
    29

    Re: Why does my Lookup function not work?

    I see, the range must be smallest to biggest to work. Thank you.

+ 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 function doesn't work correctly?
    By csleong in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-17-2014, 03:52 AM
  2. Min if function doesn't work for earliest date lookup
    By alexcrofut in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2014, 01:57 PM
  3. [SOLVED] Macro that work same as V-lookup function
    By robrobet in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-13-2014, 01:01 PM
  4. Lookup function does not work as wanted - see attachement
    By Peavey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-05-2013, 10:35 AM
  5. Word macro, Excel worksheet function LOOKUP won't work
    By Chuck S48 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-09-2012, 09:44 AM
  6. how can the lookup function work with two boolean functions
    By elijahzar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-25-2006, 08:50 PM
  7. Lookup-function does not work
    By SamMy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-06-2006, 04:40 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