Averaging multiple data sets by the data whilst excluding zeros

devinhr

New Member
Joined
Oct 25, 2016
Messages
5
Hi

I need some help. I have multiple data sets on a given day which I would like to average by day, whilst excluding blanks and zeros. As follows:

7/19/2015
5.26
7/19/2015
6.84
7/19/2015
5.97
7/19/2015
3.39
7/19/2015
3.06
7/19/2015
3.26
7/19/2015
3.34
7/20/2015
1.99
7/20/2015
0.74
7/20/2015
1.64
7/20/2015
1.45
7/20/2015
2.22
7/20/2015
2.31
7/20/2015
2.11
7/20/2015
7/29/2015
0.00
8/7/2015
0.00
8/7/2015
43.00
8/7/2015
35.00
8/7/2015
32.00
8/7/2015
8/7/2015
35.69
8/7/2015
34.25
8/8/2015
33.19
8/8/2015
31.63
8/8/2015
0.00

<tbody>
</tbody>


I would like to use a formula that returns a daily average whilst excluding zeros and blank cells. For example, the daily average for the 19th of July 2015 should be 4.45. I would like to be able to drag and copy this formula across large data sets, resulting in a list of average data sets by day. For example:

7/19/2015 - 4.45
7/20/2015 - 1.78
8/7/2015 - 29.9

etc

Thank you for your help.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,221,525
Messages
6,160,329
Members
451,637
Latest member
hvp2262

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