Converting Percentage Grade to Letter Grade

Rob0424

New Member
Joined
Jan 9, 2007
Messages
38
Office Version
  1. 2016
I am trying to create a formula that converts a percentage grade to a letter grade but the letter grade cell does not seem to recognize the percentage formula and returns "F" no matter what. Here are the formulas I am using:

Percentage Grade:
=SUMPRODUCT((G5:T5 = "Yes") * G1:T1) / SUMIF(G5:T5, "<>N/A", G1:T1)

Letter Grade:
=IF(E5>=90,"A",IF(E5>=80,"B",IF(E5>=70,"C",IF(E5>=60,"D","F"))))

Could someone help me fix this? Thank you in advance
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
You could try 0.9 rather than 90 and see if that works. The same would apply for the other values also.

Hope that helps,

Doug
 
Upvote 0
That worked. Thank you

Also, anyone have any ideas on how I can adjust this formula to include a separate cell that includes a ranking 1-10 instead of Yes, No or N/A?

=SUMPRODUCT((G5:T5 = "Yes") * G1:T1) / SUMIF(G5:T5, "<>N/A", G1:T1)

For this formula and row, cell D5 has a ranking of 1-10 and somehow I want to include how good of a ranking that is given into the score. as well. FYI, G1:T1 provide weighted percentages to use when calculating the score based on Yes, No, N/A answers.
 
Upvote 0
Please provide some sample data and expected results.

MrExcel has a tool called “XL2BB” that lets you post samples of your data, allowing us to copy/paste it to our Excel spreadsheets to work with the same data you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that this board also has a "Test Here” forum. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.

Thanks,

Doug
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

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