View Single Post
  #4  
Old May 27th, 2010, 11:03 PM posted to microsoft.public.excel.worksheet.functions
Brad
external usenet poster
 
Posts: 943
Default Averaging without #DIV0!

=if(c27=0,"",AVERAGE(J28/C27))
--
Wag more, bark less


"Malcolm" wrote:

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