Averages Question

NJLOU

New Member
Joined
Nov 21, 2005
Messages
2
Hi there... new to the board and I have a question about an average function question in Excel.

Is it possible to average numbers in a group of cells but only to treat those values in the cells as a value of 1?

I run an online racing league and keep stat sheets for the players. An example of a stat that I would like an average for is lap leaders. However, I want an average of having at least one lap leader per race, not for the total amount.

So an example would be cells A1:A5 The values would be 3,5,0,1,0

I want to calculate the average as 1,1,0,1,0

Is it possible to do this? Any help would be appreciated, thanks!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Probably a better way, but this should work:
=COUNTIF(A1:A5,">0")/COUNTA(A1:A5)
 
Upvote 0

Forum statistics

Threads
1,203,139
Messages
6,053,719
Members
444,681
Latest member
Nadzri Hassan

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