Average grade from two columns

LolaOO

New Member
Joined
Jun 15, 2019
Messages
1
210%
35%
535%
727%
923%

<tbody>
</tbody>
I have these two columns in Excel file. The first one with grades, the second with percent how many students get that grade. How to calculate average grade from this data?
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Re: Avarage grade from two columns

Assuming your data starts on Row 2 where I have assumed Row 1 contains header, I believe (but do not know for sure) that this formula will return the average grade...

=SUMPRODUCT(A2:A6/B2:B6)/SUM(A2:A6)
 
Upvote 0
Re: Avarage grade from two columns

=sumproduct(a2:a6,b2:b6)/sum(a2:a6)
 
Upvote 0
Re: Avarage grade from two columns

=sumproduct(a2:a6,b2:b6)/sum(a2:a6)

That yields an average grade of 0.233077 which cannot be right as the average grade when the lowest grade is 2 and the highest grade is 9. I am pretty sure the formula I posted in Message #2 is correct (using division instead of your implied multiplication) as it yields an average grade of 6.128541 which seems to be about right to me (the OP will have to decide if he wants to round that for a whole number average or not).
 
Last edited:
Upvote 0
Re: Avarage grade from two columns

I misread the information.

Try

=SUMPRODUCT(A2:A6,B2:B6*100)/(SUM(B2:B6)*100)
 
Upvote 0
Re: Avarage grade from two columns

Maybe...

I was thinking something like that (weighted average)
=SUMPRODUCT(A2:A6,B2:B6)/SUM(B2:B6)

But since the sum B2: B6 must always be 1, we can shorten to
=SUMPRODUCT(A2:A6,B2:B6)

M.
 
Upvote 0
Re: Avarage grade from two columns

Marcelo's suggestions is much better.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,427
Members
448,961
Latest member
nzskater

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