Average multiple ranges of numbers excl zeros

vicsalt

New Member
Joined
Nov 5, 2017
Messages
7
Help with what should be a easy solution
I will set the scene

Column named Parts Made, (31 rows 1 for each day dated for every day)
I want to average the parts made on Mon to Fri and make a projection of how many parts we should by month end.
I also want to average the parts made on weekends as its a lot smaller shift)
We will ignore the weekends as the solution will be the same

Im trying to average only the cells with values across multiple ranges it isn't a continuous column of cells if that makes sense, would upload image if i knew how

Thanks for any assistance
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hi ,

Maybe something like this :

=SUMPRODUCT((WEEKDAY($A$2:$A$31,2) <=5) * ($B$2:$B$31 <>""), $B$2:$B$31)/SUMPRODUCT((WEEKDAY($A$2:$A$31,2) <=5) * ($B$2:$B$31 <>""))
 
Last edited:
Upvote 0
I want to average the highlighted cells
24334151848_67259580d1_m.jpg
 
Upvote 0
Not a picture or an image. Better: Just data that can be copied from the board and pasted into Excel (without retyping anything).
 
Upvote 0
Would be nice for someone to offer advice on a solution, Ive explained the issue, all getting off track
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,279
Members
452,630
Latest member
OdubiYouth

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