Vlookup

youngrick

New Member
Joined
Dec 4, 2010
Messages
7
Hello all,

I have a question about using the VLOOKUP tool. I am using it correctly as far as placing everything in the right position when creating the formula, but my problem comes in after I set up the formula.

Ex. I am trying to turn letter grades in to numbers:

A=4.000, A-=3.667, B+=3.333....etc. When I create the table only some of the numbers show up with the grade they are supposed to. Others show a different number. Like B comes up as 3.667 instead of 3.000. How do I correct this issue?

Whoever can help it is much appreciated!
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Are you using the optional test as FALSE e.g.

=VLOOKUP("A",B1:C4,2,FALSE)

Else if omitted, the result will be the closest match.
 
Upvote 0
Hello all,

I have a question about using the VLOOKUP tool. I am using it correctly as far as placing everything in the right position when creating the formula, but my problem comes in after I set up the formula.

Ex. I am trying to turn letter grades in to numbers:

A=4.000, A-=3.667, B+=3.333....etc. When I create the table only some of the numbers show up with the grade they are supposed to. Others show a different number. Like B comes up as 3.667 instead of 3.000. How do I correct this issue?

Whoever can help it is much appreciated!
Show us the ENTIRE grade range.
 
Upvote 0
Can you show the exact formula you're using? Make sure you're using FALSE for range lookup and your ranges are static by adding the $ to the cell address.
 
Upvote 0
You could try this long IF statement :S

=IF(A1="A",4,IF(A1="A-",3.667,IF(A1="B+",3.333,IF(A1="B",3,IF(A1="B-",2.667,IF(A1="C+",2.333,IF(A1="C",2,IF(A1="C-",1.667,IF(A1="D+",1.333,IF(A1="D",1,IF(A1="D-",0.667,"")))))))))))

Jesse
 
Upvote 0
Hello all,

I have a question about using the VLOOKUP tool. I am using it correctly as far as placing everything in the right position when creating the formula, but my problem comes in after I set up the formula.

Ex. I am trying to turn letter grades in to numbers:

A=4.000, A-=3.667, B+=3.333....etc. When I create the table only some of the numbers show up with the grade they are supposed to. Others show a different number. Like B comes up as 3.667 instead of 3.000. How do I correct this issue?

Whoever can help it is much appreciated!

For your purposes you could use nested IFs:

Code:
=IF(A33<=1, "F", IF(A33<=2, "D", ...

Remember to close out your parentheses, and remember to start from the bottom (I'm really not sure if you can use AND or OR in these nested-ifs).
This uses the basic sytax of the IF function:

IF( condition1, value_if_true1, IF( condition2, value_if_true2, value_if_false2 ))

Where the value_if_false is just another IF function.
 
Upvote 0

Forum statistics

Threads
1,224,607
Messages
6,179,871
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top