View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
Pecoflyer[_302_] Pecoflyer[_302_] is offline
external usenet poster
 
Posts: 1
Default Problem is displaying formula


Hi,
another possibility is =average(if(c23:c27<0,c23:c27,false))
entered as an array formula with Ctrl+Shift+Enter

Sathisc;333930 Wrote:
Hi,

I am creating a report in which the avg is formulated. But when there
is no data entered in the column the solution shows #DIV/0!

for ex
I wanted to avg c23 to c27 i gave the formula
=AVERAGE(C23:C27)

when there is no data in c23 to c27 the display shows #DIV/0!

I dont want the msg to appear in the screen.

Help needed.



--
Pecoflyer

Cheers -
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=93340