View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Problem is displaying formula

You can look to see if there are any numbers in that range:

=if(count(c23:c27)=0,"No numbers yet",average(c23:c27))



Sathisc 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.

--
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


--

Dave Peterson