AverageIFS formula on another workbook

ClausSkeel

New Member
Joined
Jun 3, 2022
Messages
11
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi All.

I want to pull an average from the last 2 years in another workbook, but it only works when the other workbook is open.
The formula i have now is:
Excel Formula:
=AVERAGEIFS(Path..$BU:$BU;Path..$B:$B; B4; Path..$F:$F; ">"&TODAY()-(Q8*360))

BU:BU = Numbercolumn
B:B = Materialnumbers
B4 = Materialnumber
F:F = Dates

Q8 = a cell where you can input years

are there any work around to this problem?
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
I haven't been able to test it so not sure I have quite the right number of brackets but try something like this:
Excel Formula:
=Sumproduct((Path..$BU:$BU)*(Path..$B:$B= B4)*(Path..$F:$F>(TODAY()-(Q8*360))))
/ Sumproduct((Path..$B:$B= B4)*(Path..$F:$F>(TODAY()-(Q8*360))))

Since you have MS365 I believe this should work as well.
Excel Formula:
=Sum((Path..$BU:$BU)*(Path..$B:$B= B4)*(Path..$F:$F>(TODAY()-(Q8*360))))
/ Sum((Path..$B:$B= B4)*(Path..$F:$F>(TODAY()-(Q8*360))))
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,193
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