Getting an average between a number range

schugh

New Member
Joined
Apr 20, 2012
Messages
11
I have a column that stores hours that are worked on a job, they can range from between 0 hours and 15 hours, i want to be able to run anverage on this column but for it only to do the average for numbers greater than 0 and less than 10.................any ideas please?:confused:
 

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
For data in A1 thru A27:
6
8
9
2
10
5
15
2
8
7
12
0
13
9
11
14
2
1
5
9
15
14
9
11
15
15
12

<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>
</tbody>
=SUMPRODUCT(--(A1:A27>0)*(A1:A27<10)*(A1:A27))/SUMPRODUCT(--(A1:A27>0)*(A1:A27<10))

will display:
5.857143

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,216,825
Messages
6,132,935
Members
449,768
Latest member
LouBa

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