Average Formulas with 3 ranges to average as data is added weekly

PMRetired2012

Board Regular
Joined
Aug 6, 2019
Messages
123
What I need to do is have a Formula in the cell that says "Kids YTD adverag" that will show the average of ranges B4:AL4 and B6:AL6 and B8:AL8 as data is placed in the cells for each week.
Another words what is want is as we move thru the dates (10-3 thru 6-22) we get a adverage YTD for all those ranges. The answer will show up in the Kids YTD average or Cell AE24.

Thanks

1634004573416.png
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Hi can you try this once

looks a bit hard way but I think logic works

Book1
ABCDEFGHIJKL
1MASTER SHEET10/1310/2010/2711/0311/1011/1711/2412/0112/0812/15
2
3MonthOctOctOctNovNovNovNovDecDecDec
4NURSERY14785417105
5
6KIDS (PREK - 6TH)20112
7
87TH THRU 8TH54362101113
9
109TH THRU 12TH33
11
12ADULT CLASS7686810929
13
14TEACHERS
15
16WORKERS4924941198
17
18VISITORS210225810357
19
20GRAND TOTAL42472426293622143423
21
22
23OctNovDecJanFebMarAprMayYTD AdverageKIDS AdverageTotal Adverage
24NURSERY457     5730
25KIDS (PREK - 6TH)11       11
267TH THRU 8TH452     3
279TH THRU 12TH3       3
28ADULT CLASS786     7
29TEACHERS         
30WORKERS 556     5
31VISITORS565     5
Sheet1
Cell Formulas
RangeFormula
C1:K1C1=B1+7
B3:K3B3=TEXT(B1,"MMM")
B20:K20B20=SUM(B4:B19)
B24:I24B24=IFERROR(AVERAGEIFS($B$4:$XFD$4,$B$3:$XFD$3,B$23),"")
J24:J31J24=IFERROR(AVERAGE(B24:I24),"")
K24K24=AVERAGE(4:4,6:6)
L24L24=AVERAGE(20:20)
B25:I25B25=IFERROR(AVERAGEIFS($B$6:$XFD$6,$B$3:$XFD$3,B$23),"")
B26:I26B26=IFERROR(AVERAGEIFS($B$8:$XFD$8,$B$3:$XFD$3,B$23),"")
B27:I27B27=IFERROR(AVERAGEIFS($B$10:$XFD$10,$B$3:$XFD$3,B$23),"")
B28:I28B28=IFERROR(AVERAGEIFS($B$12:$XFD$12,$B$3:$XFD$3,B$23),"")
B29:I29B29=IFERROR(AVERAGEIFS($B$14:$XFD$14,$B$3:$XFD$3,B$23),"")
B30:I30B30=IFERROR(AVERAGEIFS($B$16:$XFD$16,$B$3:$XFD$3,B$23),"")
B31:I31B31=IFERROR(AVERAGEIFS($B$18:$XFD$18,$B$3:$XFD$3,B$23),"")
 
Upvote 0
Hi,

Have you tried this formula,

AVERAGE(FILTER(4:8,3:3<>"",0))


Adverages.xlsx
ABCDEFGHIJKL
1MASTER SHEET10/1310/2010/2711/0311/1011/17
2
3MonthOctOctOctNovNovNov    
4NURSERY1
5
6KIDS (PREK - 6TH)20112
7
87TH THRU 8TH5
9
109TH THRU 12TH33
11
12ADULT CLASS
13
14TEACHERS
15
16WORKERS4
17
18VISITORS2
19
20GRAND TOTAL351420000000
21
22
23OctNovDecJanFebMarAprMayYTD AdverageKIDS AdverageTotal Adverage
24NURSERY1       185
25KIDS (PREK - 6TH)11       11
267TH THRU 8TH5       5
279TH THRU 12TH3       3
28ADULT CLASS         
29TEACHERS         
30WORKERS 4       4
31VISITORS2       2
Sheet1
Cell Formulas
RangeFormula
C1:G1C1=B1+7
B3:K3B3=IF(B1="","",TEXT(B1,"MMM"))
B20:K20B20=SUM(B4:B19)
B24:I24B24=IFERROR(AVERAGEIFS($B$4:$XFD$4,$B$3:$XFD$3,B$23),"")
J24:J31J24=IFERROR(AVERAGE(B24:I24),"")
K24K24=AVERAGE(FILTER(4:8,3:3<>"",0))
L24L24=AVERAGE(20:20)
B25:I25B25=IFERROR(AVERAGEIFS($B$6:$XFD$6,$B$3:$XFD$3,B$23),"")
B26:I26B26=IFERROR(AVERAGEIFS($B$8:$XFD$8,$B$3:$XFD$3,B$23),"")
B27:I27B27=IFERROR(AVERAGEIFS($B$10:$XFD$10,$B$3:$XFD$3,B$23),"")
B28:I28B28=IFERROR(AVERAGEIFS($B$12:$XFD$12,$B$3:$XFD$3,B$23),"")
B29:I29B29=IFERROR(AVERAGEIFS($B$14:$XFD$14,$B$3:$XFD$3,B$23),"")
B30:I30B30=IFERROR(AVERAGEIFS($B$16:$XFD$16,$B$3:$XFD$3,B$23),"")
B31:I31B31=IFERROR(AVERAGEIFS($B$18:$XFD$18,$B$3:$XFD$3,B$23),"")
 
Upvote 0

Forum statistics

Threads
1,214,534
Messages
6,120,084
Members
448,943
Latest member
sharmarick

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