# Average a Range that includes zero

#### Colin274

##### New Member
I am running a golf league where the last five scores are averaged for a handicap. The problem arises when members do not attend for one week.
I want to average the last five attended weeks but keep the range consistant for all players which would include some zero weeks.
For example scores of
37,41,39,0,47,42,0,39,0 I would like the to find the average of 39,42,47,39,41 but the range would include the 0's

### Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

#### Brian from Maui

##### MrExcel MVP
Entered with Ctrl+Shift+Enter,

=AVERAGE(IF(A1:A10,A1:A10))

Replies
7
Views
308
Replies
13
Views
147
Replies
1
Views
191
Replies
13
Views
338
Replies
5
Views
274

1,141,757
Messages
5,708,355
Members
421,566
Latest member
7Nabisco

### 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?

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