View Single Post
  #2  
Old May 27th, 2010, 10:33 PM posted to microsoft.public.excel.worksheet.functions
Noodnutt @ Work
external usenet poster
 
Posts: 9
Default Averaging without #DIV0!

G'day Malcolm

=IF($J28=0,0,AVERAGE(J28/C27))

HTH
Mark


"Malcolm" wrote in message
...
I'm using a worksheet that has a cell (C27) that totals rooms and a cell
(J28) that totals rates and a cell (J29) that is the average daily rate
total, rate/total rooms. I'm using the formula =AVERAGE(J28/C27). The only
problem is until I actually input a number into C27 I get the #DIV/0!
displayed in my ADR cell (J29). I don't always need this data so is there
a
way I can input the formula and not have the #DIV/0! in cell J29?
Thanks,
Malcolm