How to make letter grade in one column equal a number in another?

Kraner

New Member
Joined
Dec 26, 2014
Messages
38
Should be simple, just blanking today.

I have a mixture of A, A-, B+, B, and B- in one column and would like to correspond them to 50, 40, 30, 20, and 10. It would be great if I could change the corresponding numbers easily too, just incase.

Thanks!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hi, you could create a lookup table and use VLOOKUP() for example:


Excel 2012
ABCDE
1A-40A50
2A-40
3B30
4B-20
Sheet1
Cell Formulas
RangeFormula
B1=VLOOKUP(A1,$D$1:$E$4,2,0)
 
Upvote 0
Another option:

=CHOOSE(MATCH(A1,{"A","A-","B+","B","B-"},0),50,40,30,20,10)
 
Upvote 0

Forum statistics

Threads
1,215,757
Messages
6,126,695
Members
449,331
Latest member
smckenzie2016

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