Averages with multiple conditions

Jabe

New Member
Joined
Apr 29, 2024
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hello,

I'm trying to create a dashboard which pulls averages from other spreadsheets like the example below. For each month we have a spreadsheet which tracks employee quality scores on certain activities. I'd like to pull the average score for each person, for each activity, for each month. Can someone suggest the best formula/function for doing so?

I've been trying to use AVERAGEIFS but haven't been able to get it working. Here's an example =AVERAGEIFS('August'!$C$3:$C$20,'August'!$A$3:$A$20,A3,'August'!$B$3:$B$20,B3) - with the C references being the Quality Scores, A references being the Employee Name, and B references being the Activity.

In the example below it looks like the formulas work (I'm not worried about the #DIV/0! errors as it's just from a simplification of the data set) - but I get #VALUE! errors when I open the dashboard but the source sheet is not open, is there a way around this? It would be impractical to get users of the dashboard to open all source sheets (kind of what the dashboard is meant to avoid!)
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Apologies, looks like my pictures didn't upload so trying again
 

Attachments

  • August Data.JPG
    August Data.JPG
    31.8 KB · Views: 6
  • Dashboard Example.JPG
    Dashboard Example.JPG
    43.1 KB · Views: 7
  • Dashboard VALUE Errors.JPG
    Dashboard VALUE Errors.JPG
    44.3 KB · Views: 7
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=AVERAGE(FILTER(August!$C$3:$C$20,(August!$A$3:$A$20=A3)*(August!$B$3:$B$20=B3)))
 
Upvote 0
Solution

Forum statistics

Threads
1,221,297
Messages
6,159,104
Members
451,538
Latest member
edeneye

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