VLOOKUP not working on Excel

cam 0 Reputation points
2024-02-13T01:02:40.6733333+00:00

I'm not sure if my formula is wrong...=VLOOKUP(W2,Y6:Z10,2,TRUE) but instead of bringing up the letter grade is gives me a 0. I will provide a picture for refrence. Thanks!Screenshot 2024-02-12 at 6.59.37 PM

Microsoft 365 and Office | Excel | For business | Windows
{count} votes

2 answers

Sort by: Most helpful
  1. Barry Schwarz 3,746 Reputation points
    2024-02-13T02:52:06.6066667+00:00

    Your formula is looking for the wrong value. W2 does not contain the numeric grade to translate. Try

    =VLOOKUP(V2,Y$6:Z$10,TRUE)
    

    The $ qualifiers are necessary so when you copy the formula to lower cells the lookup range is unchanged.
    Note that this technique will give the same grade to 86% and 99%. 31% becomes a D instead of an F. Is that your intent? You may want to consider XLOOKUP with a match_mode of -1.

    0 comments No comments

  2. Jiajing Hua 18,065 Reputation points Moderator
    2024-02-13T03:02:04.4166667+00:00

    Hi @cam May I ask what data you use to judge the Letter Grade? Is it "Total Points" in column U? If so, you may try formula =VLOOKUP(U2,$Y$6:$Z$10,2,TRUE).


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.