One way,
=IF(SUM(C23:C27)<0,AVERAGE(C23:C27),"")
Regards,
Alan.
"Sathisc" wrote in message
...
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.
--
Sathisc
------------------------------------------------------------------------
Sathisc's Profile: http://www.thecodecage.com/forumz/member.php?userid=187
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=93340