Hi @kain
For formula, I suggest you try Sumproduct function to have a check.
=SUMPRODUCT(($A$2:$A$7=A2)*($B$2:$B$7=B2)*($D$2:$D$7))/SUMPRODUCT(($A$2:$A$7=A2)*($B$2:$B$7=B2)*($C$2:$C$7))
For Pivot Table, please try following steps.
- Insert a Pivot Table. ( You may choose this Pivot Table > Design > Layout group> Choose 'Do Not Show Substotals' for Substotals and 'Off For Rows and Columns' for Grand Totals.
- Select this Pivot Table > PivotTable Analyze > Caculations group > Fields, Items & Sets > Caculated Field > Create a new field, such as 'Per_Hour' (
= SUM('Words Learned' )/SUM('Study Duration')
), then click Add.
(Please note, you may choose the existed field to insert to create 'Per_Hour' formula instead of tyrping field name manually.)
- Then we will get the results like below image.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.