AverageIfs Issue

BWMagee

Board Regular
Joined
Feb 18, 2014
Messages
112
Hi, I'm wondering what's wrong with my AVERAGEIFS formula:

<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Grande'; color: #000000}span.s1 {color: #0057d6}</style>{=AVERAGEIFS('2018F'!$AF$8:$AF$6693,'2018F'!$M$8:$M$6693,PvO!$D133,'2018F'!$R$8:$R$6693,">=55",'2018F'!$J$8:$J$7000,"T6T")}

When I take out the last part ( '2018F'!$J$8:$J$7000,"T6T" ) it works, and returns a value. But when I include that last part, it returns #VALUE !

"T6T" is text in Column J. That text is actually returned by its own formula, and {INDEX/MATCH}. I wondered if the AVERAGEIFS didn't like reading from an array formula, but when I overwrite the {INDEX/MATCH} with the text string "T6T", my AVERAGEIFS formula still returns the #VALUE ! error. I also tried overwriting it with "6", and adjusting the AVERAGEIFS formula accordingly, but still I got value #VALUE .

So I'm not sure what I'm doing wrong. Any help much appreciated.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
For these formula evaluation ranges should be equal.

{=AVERAGEIFS('2018F'!$AF$8:$AF$6693,'2018F'!$M$8:$M$6693,PvO!$D133,'2018F'!$R$8:$R$6693,">=55",'2018F'!$J$8:$J$7000,"T6T")}

change it to:

{=AVERAGEIFS('2018F'!$AF$8:$AF$6693,'2018F'!$M$8:$M$6693,PvO!$D133,'2018F'!$R$8:$R$6693,">=55",'2018F'!$J$8:$J$6693,"T6T")}
 
Last edited:
Upvote 0
For these formula evaluation ranges should be equal.

{=AVERAGEIFS('2018F'!$AF$8:$AF$6693,'2018F'!$M$8:$M$6693,PvO!$D133,'2018F'!$R$8:$R$6693,">=55",'2018F'!$J$8:$J$7000,"T6T")}

change it to:

{=AVERAGEIFS('2018F'!$AF$8:$AF$6693,'2018F'!$M$8:$M$6693,PvO!$D133,'2018F'!$R$8:$R$6693,">=55",'2018F'!$J$8:$J$6693,"T6T")}

Brilliant, thank you!

They were all 7000 to start with, not sure who they changed considering they have the $ on them - think it is either something to do with sorting and/or deleting rows from the sheet ('2018F') they are reading from.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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