I need to get an average percentage for the column in the sample. I dont know how to do it with the error cells and the empty cells. I need an average for only the cells with a number in them.
Can anyone help?
thanks in advance
I need to get an average percentage for the column in the sample. I dont know how to do it with the error cells and the empty cells. I need an average for only the cells with a number in them.
Can anyone help?
thanks in advance
Last edited by simpson; 02-13-2010 at 06:19 PM.
You could use an Array
=AVERAGE(IF(ISNUMBER(D3:D11),D3:D11))
confirmed wtih CTRL + SHIFT + ENTER
In XL2007 you might find you can get away with:
=AVERAGEIF(D3:D11,">0")
Goes without saying that trying to handle underlying errors at source is generally best practice - whenever possible of course.
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Thanks! I was soooo close! BTW the error info in irrelivent to me, but I agree.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks