AVERAGEIFS Returns #value!

Alef Morais

New Member
Joined
Mar 31, 2022
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hi Guys,

I trying to get the Avg results for each employees, but always return #Value!
I'm using this function: =AVERAGEIFS('Evals Report BR'!I:I,'Evals Report BR'!P:S,PowerBI!B2)
Maybe is because I selecting 4 columns in criteria range?

But if so, any function I could be using for that?

Because I have the same name employees in column 4, 3 and sometime in 2, etc..

I wanted the Excel to search for the general average of these employees regardless of the column he is.
 

Attachments

  • Capture.JPG
    Capture.JPG
    75.6 KB · Views: 12

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Maybe is because I selecting 4 columns in criteria range?
Yes, the average and criteria range must be the same size.

You would need to use something like
Excel Formula:
=SUMPRODUCT('Evals Report BR'!I:I*('Evals Report BR'!P:S=PowerBI!B2))/SUMPRODUCT(--('Evals Report BR'!P:S=PowerBI!B2))
Set a realistic range for the formula as it will be inefficient with full columns.
 
Upvote 0
The average range range has to be the same shape as the criteria range. Your average range is one column but your criteria range is 4 columns. I can't imagine how you are expecting that should work.

Your screenshot does not show the columns that are referenced in your formula so it's unclear what problem you are trying to solve.
 
Upvote 0
The average range range has to be the same shape as the criteria range. Your average range is one column but your criteria range is 4 columns. I can't imagine how you are expecting that should work.

Your screenshot does not show the columns that are referenced in your formula so it's unclear what problem you are trying to solve.

Sharing more screenshot.
Do you know any other function do get avg results using more 4 columns?
 

Attachments

  • Capture.JPG
    Capture.JPG
    75.6 KB · Views: 9
  • Capture2.JPG
    Capture2.JPG
    70.3 KB · Views: 11
Upvote 0
How about
Excel Formula:
=LET(m,MMULT(TRANSPOSE(--('Evals Report BR'!P$2:S$1000=B2)),--('Evals Report BR'!I$2:I$1000)),SUM(m)/COUNT(m))
 
Upvote 0
How about
Excel Formula:
=LET(m,MMULT(TRANSPOSE(--('Evals Report BR'!P$2:S$1000=B2)),--('Evals Report BR'!I$2:I$1000)),SUM(m)/COUNT(m))
Error :(

Have any way to put my excel here? maybe will help more to understand.
 
Upvote 0
This forum does not support file attachments but there are lots of free file-sharing services that allow you to share a link (Google Docs, Dropbox, OneDrive, etc.)
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

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