Averaging letter grades that convert to numbers for a point total

mpmachala

New Member
Joined
Jan 8, 2022
Messages
11
Office Version
  1. 365
Platform
  1. Windows
I finally figured out how to get a letter grade to equal a point value and average. However I can't figure out the formula to do the same thing, but with data from other columns for a "final grade" as a numerical value.

Example, I need C4:F4, J4:M4, and Q4:T4 (some times there won't be a grade in the cell) all to average in column X, but with a numeric value instead.

Letter Grade values:
"E"=4
"V"=3.5
"G"=3
"M"=2
"U"=1

For the life of me, I can't figure out why I can't average across disconnected columns?
Thanks,
Mike
 

Attachments

  • Letter Grade.png
    Letter Grade.png
    27.7 KB · Views: 21
What I am trying to say in a convoluted way, is that if you look at row 5, the value in X5 should be 3.75 (7.5/2=3.75), not 2.5. It seems to be averaging in a zero value in the 3rd Trimester Score, but there isn't a grade yet. (7.5/3=2.5)

I used your formula in X4 and it returned a "0".

View attachment 55106
It's because it assumes blanks cell as grade =0, so (4+3.5+0)/3=2.5
 
Upvote 0

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Is it are you looking for?
Array formula in G4 (For Ex2016 latest, required Ctrl-Shift-Enter)

Book1
CDEFGHIJKLMNOPQRSTUVWXYZ
3DateDateDateDate1st TrimesterTrimester ScoreDateDateDateDate2nd TrimesterTrimester ScoreDateDateDateDate3rd TrimesterTrimester ScoreYear Avg. PointsCurrent Year Score
4EVUE3.1253.125VVUE3.0003.000EVUE3.1253.1253.0813.08333333
5EEVG3.6257.250GEUG2.7505.500VVMG3.0006.0003.1326.25
6E4.00012.000V3.50010.5000.000-3.75311.25
Sheet2
Cell Formulas
RangeFormula
U4:U6,N4:N6,G4:G6G4=IFERROR((SUM(IFERROR(MATCH(C4:F4,{"U";"M";"G";"E";"V"},0),0))-COUNTIF(C4:F4,"V")*1.5)/COUNTA(C4:F4),0)
V4:V6,O4:O6,H4:H6H4=G4*ROWS($1:1)
X4:X6X4=AVERAGEIFS($G4:$U4,$G$3:$U$3,"*"&"Trimester",$G4:$U4,">0")
Z4:Z6Z4=X4*Y4
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Solution
Is it are you looking for?
Array formula in G4 (For Ex2016 latest, required Ctrl-Shift-Enter)

Book1
CDEFGHIJKLMNOPQRSTUVWXYZ
3DateDateDateDate1st TrimesterTrimester ScoreDateDateDateDate2nd TrimesterTrimester ScoreDateDateDateDate3rd TrimesterTrimester ScoreYear Avg. PointsCurrent Year Score
4EVUE3.1253.125VVUE3.0003.000EVUE3.1253.1253.0813.08333333
5EEVG3.6257.250GEUG2.7505.500VVMG3.0006.0003.1326.25
6E4.00012.000V3.50010.5000.000-3.75311.25
Sheet2
Cell Formulas
RangeFormula
U4:U6,N4:N6,G4:G6G4=IFERROR((SUM(IFERROR(MATCH(C4:F4,{"U";"M";"G";"E";"V"},0),0))-COUNTIF(C4:F4,"V")*1.5)/COUNTA(C4:F4),0)
V4:V6,O4:O6,H4:H6H4=G4*ROWS($1:1)
X4:X6X4=AVERAGEIFS($G4:$U4,$G$3:$U$3,"*"&"Trimester",$G4:$U4,">0")
Z4:Z6Z4=X4*Y4
Press CTRL+SHIFT+ENTER to enter array formulas.
Thank you! This worked perfectly. Sorry for all the confusion with what I was trying to say.
 
Upvote 0

Forum statistics

Threads
1,214,948
Messages
6,122,420
Members
449,083
Latest member
Ava19

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