Averageif across tabs

CoTsMark

New Member
Joined
Apr 13, 2011
Messages
1
I am trying to do a conditional function across multiple tabs and multiple cells. Is it possible?

=AVERAGE('Sheet 1:Sheet10'!a15:a2000) works fine but when I add in the conditional if I receive a value error.


=AVERAGEIF('Sheet 1:Sheet 10'!C115:C2000,B2,'Sheet 1:Sheet10'!A15:A2000)

=AVERAGEIFS('Sheet 1:Sheet 10'!A15:A2000,'Sheet 1:Sheet 10'!C15:C2000,B2)
 

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
Hello, Try

Enter the all sheet names in the cells, let's say D1:D10, then

=SUMPRODUCT(SUMIF(INDIRECT("'"&$D$1:$D$10&"'!A:A"),B2,INDIRECT("'"&$D$1:$D$10&"'!C:C")))/SUMPRODUCT(COUNTIF(INDIRECT("'"&$D$1:$D$10&"'!A:A"),B2))
 
Upvote 0

Forum statistics

Threads
1,215,756
Messages
6,126,692
Members
449,330
Latest member
ThatGuyCap

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