Desperate need for and Average Formula

Joined
Jul 8, 2011
Messages
2
Using A1:A4 *Note: I am pulling data from another spreadsheet.

I am currently using =AVERAGE('Data Entry'!D4:'Data Entry'!D29). This works great right now because my numbers are 1,1,1,0. 75% is what I'm looking for.

But these numbers are subject to be changed. So what i'm looking for is a formula that would use 1,5,3,0 and come back with 75%. Basically, no matter what the number is, it gets counted as 1 unless its zero.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Welcome to the Board!

Try:

=COUNTIF(A1:D1,">"&0)/COUNT(A1:D1)

And format the Cell as %.

Matty
 
Upvote 0
VoG, Thanks so much! That worked perfect! A toast to you! :cool:

Matty, Thanks for the reply, never ended up trying it but I'm sure it would work too being the small variance in your formula's.
 
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,551
Members
452,927
Latest member
rows and columns

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