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
 
Thanks for that, from your original image we had no way of knowing the the "blank" cells actually contain a 0.
Will the odd numbered rows be empty, or do they have something in them?
Odd
Thanks for that, from your original image we had no way of knowing the the "blank" cells actually contain a 0.
Will the odd numbered rows be empty, or do they have something in them?
They will be totally empty
 
Upvote 0

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Ok, as there empty, how about
Excel Formula:
=AVERAGEIF(B6:AL10,">0")
 
Upvote 0
As long as the odd numbered rows do not contain any numbers, then that formula should work
+Fluff 1.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAG
1MASTER SHEET13-Oct20-Oct27-Oct03-Nov10-Nov17-Nov24-Nov01-Dec08-Dec15-Dec22-Dec29-Dec05-Jan12-Jan19-Jan26-Jan02-Feb09-Feb16-Feb23-Feb02-Mar09-Mar16-Mar23-Mar30-Mar06-Apr13-Apr20-Apr27-Apr04-May11-May18-May
2
3
4NURSERY1
5
6KIDS (PREK - 6TH)2011200000000000000000000000000000
7
87TH THRU 8TH50000000000000000000000000000000
9
109TH THRU 12TH33000000000000000000000000000000
11
12ADULT CLASS
13
14TEACHERS
15
16WORKERS4
17
18VISITORS2
19
20GRAND TOTAL35142000000
21
22MONTHLY CLASS ADVERAGES YTD ADVERAGE KIDS YTD ADVERAGE
23OCTNOVDECJANFEBMARAPRILMAY
24KIDS10000000017.333333333
257TH THRU 8TH110000000011
269TH THRU 12TH5000000005
27ADULT CLASS3000000003
28TEACHERS0000000000
29WORKERS 0000000000
30VISITORS4000000004
Lists
Cell Formulas
RangeFormula
C1:AG1C1=B1+7
AE24AE24=AVERAGEIF(B6:AL10,">0")
 
Upvote 0
As long as the odd numbered rows do not contain any numbers, then that formula should work
+Fluff 1.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAG
1MASTER SHEET13-Oct20-Oct27-Oct03-Nov10-Nov17-Nov24-Nov01-Dec08-Dec15-Dec22-Dec29-Dec05-Jan12-Jan19-Jan26-Jan02-Feb09-Feb16-Feb23-Feb02-Mar09-Mar16-Mar23-Mar30-Mar06-Apr13-Apr20-Apr27-Apr04-May11-May18-May
2
3
4NURSERY1
5
6KIDS (PREK - 6TH)2011200000000000000000000000000000
7
87TH THRU 8TH50000000000000000000000000000000
9
109TH THRU 12TH33000000000000000000000000000000
11
12ADULT CLASS
13
14TEACHERS
15
16WORKERS4
17
18VISITORS2
19
20GRAND TOTAL35142000000
21
22MONTHLY CLASS ADVERAGES YTD ADVERAGE KIDS YTD ADVERAGE
23OCTNOVDECJANFEBMARAPRILMAY
24KIDS10000000017.333333333
257TH THRU 8TH110000000011
269TH THRU 12TH5000000005
27ADULT CLASS3000000003
28TEACHERS0000000000
29WORKERS 0000000000
30VISITORS4000000004
Lists
Cell Formulas
RangeFormula
C1:AG1C1=B1+7
AE24AE24=AVERAGEIF(B6:AL10,">0")
Fluff,
I still wornt work for. I dont want to have 0's in those cells i have mentioned. i want them blank. i guess what im trying for is add all mumbers up in the rows and divide 3 if that is 3 weeks totals there.
i still get that error not #div/0 or not divisable by 0. See if you come up with something that will forsure work.

Thanks
 
Upvote 0
Those 0s are already in the cells as a result of the Sum formulae. You have probably just hidden them & they don't make any difference.
See if you come up with something that will forsure work.
As you can see from the mini sheet in post#15 the formula works.
The only reason you would get a #DIV/0 error is if there are no values greater than 0 in the range.
Try putting this formula in B7
Excel Formula:
=ABS(B6)=B6
change the B6 to a cell with a number in it, what does the formula return?
 
Upvote 0
Those 0s are already in the cells as a result of the Sum formulae. You have probably just hidden them & they don't make any difference.

As you can see from the mini sheet in post#15 the formula works.
The only reason you would get a #DIV/0 error is if there are no values greater than 0 in the range.
Try putt
ing this formula in B7
Excel Formula:
=ABS(B6)=B6
change the B6 to a cell with a number in it, what does the formula return?

Those 0s are already in the cells as a result of the Sum formulae. You have probably just hidden them & they don't make any difference.

As you can see from the mini sheet in post#15 the formula works.
The only reason you would get a #DIV/0 error is if there are no values greater than 0 in the range.
Try putting this formula in B7
Excel Formula:
=ABS(B6)=B6
change the B6 to a cell with a number in it, what does the formula return?
I tried that in B7 and i got ##. YES the 0's are hidden. Is there a way to group ranges and get a average is all im asking? this should be pretty simple unless im missing something here.
 
Upvote 0
You will need to enlarge B7 to see what the formula returned.
Is there a way to group ranges and get a average is all im asking?
Yes it's the formula I showed in post#15 where you can see that it works & returns the correct result.
We need to find out what's up with your data.
 
Upvote 0
You will need to enlarge B7 to see what the formula returned.
Yes it's the formula I showed in post#15 where you can see that it works & returns the correct result.
We need to find out what's up with your data.
LOL All i got was TRUE...i dont want anyting in B7
 
Upvote 0

Forum statistics

Threads
1,214,406
Messages
6,119,330
Members
448,888
Latest member
Arle8907

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