+ Reply to Thread
Results 1 to 4 of 4

Vlookup Problem

  1. #1
    Registered User
    Join Date
    04-18-2018
    Location
    Orono, Maine
    MS-Off Ver
    10
    Posts
    1

    Question Vlookup Problem

    Hello, this is my first post here. I am working on a school project and have ran into some difficulties using the vlookup function. On the "weather" page of my workbook, I am trying to assign a letter grade to weather properties (ex. if Sunny then A+ grade). I believe I am referencing all the right cells using the lookup function but when the property of the weather is sunny, the wrong letter grade is assigned (see cell C14). Any help regarding this issue would be welcome.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: Vlookup Problem

    If you use TRUE as the final parameter in a VLOOKUP function, the data in the first column must be sorted.

    Alternatively, use FALSE (or 0) for the final parameter.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    10-23-2011
    Location
    Sydney Australia
    MS-Off Ver
    Excel for Mac V16.39
    Posts
    68

    Re: Vlookup Problem

    I think 0 means it needs an exact match.
    Last edited by ozbrian; 04-18-2018 at 06:11 PM.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: Vlookup Problem

    Quote Originally Posted by ozbrian View Post
    I think 0 means it needs an exact match.
    Yes, so the data does not have to be sorted.

    Pete

+ 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. Vlookup problem in a loop with cell property and variable cell problem (long title sry)
    By ExcelsiorLux in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-13-2013, 10:38 AM
  2. Replies: 6
    Last Post: 05-28-2013, 05:08 PM
  3. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  4. vlookup problem and count problem
    By thy00123 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-05-2009, 04:31 AM
  5. Vlookup Problem
    By ssjody in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-28-2006, 09:20 PM
  6. Vlookup problem
    By mariomaf in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-05-2006, 10:55 AM
  7. Vlookup problem
    By Big Jones in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 PM
  8. Vlookup problem
    By Big Jones in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 11:05 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