View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
CLR
 
Posts: n/a
Default Average in Cells

You could use a combination formula to get your average..........

=SUMIF(A1:A10,"0")/COUNTIF(A1:a10,"0)

Adjust the ranges as needed........

Vaya con Dios,
Chuck, CABGx3



"martins" wrote:


I know how to calculate the Average within a range of cells - however,
what I would like to do is calculate the average but for only those
cells that return a figure based on the results of another formula -
example:if you have 6 cells but only 3 cells return a value, I would
like the average calculated on the 3 cells and not based on 6 - and
similarly, if another 2 figures are entered, the formula then
calculates the average of the 5 figures - hope this makes sense.


--
martins
------------------------------------------------------------------------
martins's Profile: http://www.excelforum.com/member.php...o&userid=31616
View this thread: http://www.excelforum.com/showthread...hreadid=526065