Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2007

Tip: Looking for answers? Try searching our database.

need to hide "div/0!"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jontie - 10 Oct 2007 09:39 GMT
I have this formula an if there is no data them i get div/0 how to fix
it so if no data then blank
=AVERAGE(IF(N6:N100=0,"",N6:N100))
Pete_UK - 10 Oct 2007 10:59 GMT
You could have something like:

=IF(COUNT(N6:N100)=0,"",your_formula)

Hope this helps.

Pete

> I have this formula an if there is no data them i get div/0 how to fix
> it so if no data then blank
> =AVERAGE(IF(N6:N100=0,"",N6:N100))
Stefi - 10 Oct 2007 11:00 GMT
=IF(COUNT(A6:A12)=0,"",AVERAGE(A6:A12))

Regards,
Stefi

„Jontie” ezt írta:

> I have this formula an if there is no data them i get div/0 how to fix
> it so if no data then blank
> =AVERAGE(IF(N6:N100=0,"",N6:N100))
Jontie - 10 Oct 2007 18:25 GMT
> =IF(COUNT(A6:A12)=0,"",AVERAGE(A6:A12))
>
[quoted text clipped - 8 lines]
>
> - Show quoted text -

Stefi thanks for it but when i put this formula in the cell it gave me
number in decimal place where real it should have given me 30 but the
answer was way too off the scale
Ron Rosenfeld - 10 Oct 2007 18:48 GMT
>I have this formula an if there is no data them i get div/0 how to fix
>it so if no data then blank
>=AVERAGE(IF(N6:N100=0,"",N6:N100))

Try this instead:

=IF(SUM(N6:N100)=0,"",AVERAGE(N6:N100))

entered as a normal formula
--ron
Ron Rosenfeld - 10 Oct 2007 18:49 GMT
>I have this formula an if there is no data them i get div/0 how to fix
>it so if no data then blank
>=AVERAGE(IF(N6:N100=0,"",N6:N100))

Sorry, that should have been:

=IF(COUNT(N6:N100)=0,"",AVERAGE(N6:N100))

--ron
Jontie - 11 Oct 2007 23:55 GMT
> >I have this formula an if there is no data them i get div/0 how to fix
> >it so if no data then blank
[quoted text clipped - 5 lines]
>
> --ron

.3368 is the answer i m getting after using the above formula where as
it should be 32
Ron Rosenfeld - 12 Oct 2007 01:16 GMT
>> >I have this formula an if there is no data them i get div/0 how to fix
>> >it so if no data then blank
[quoted text clipped - 8 lines]
>.3368 is the answer i m getting after using the above formula where as
>it should be 32

Then there is a problem with your interpretation of your data.

Place the following formulas on your worksheet and tell me what the results
are:

=AVERAGE(N6:N100)
=COUNT(N6:N100)
=SUM(N6:N100)

--ron
Jontie - 12 Oct 2007 03:23 GMT
> >> >I have this formula an if there is no data them i get div/0 how to fix
> >> >it so if no data then blank
[quoted text clipped - 19 lines]
>
> --ron

thank you for your help and that was a mistake on my part. sorry you
were right.

thanks for everyone who answered my questions and my template is now
processing and soon will be avaliable to download on the "microsoft
office online" under excel templates .  :)   :)  :) with a name of
"Short Term Stock Investments
"
Ron Rosenfeld - 12 Oct 2007 03:29 GMT
>thank you for your help and that was a mistake on my part. sorry you
>were right.
[quoted text clipped - 4 lines]
>"Short Term Stock Investments
>"

Glad you got it worked out.  Thanks for the feedback.
--ron
Jontie - 24 Oct 2007 20:07 GMT
> >thank you for your help and that was a mistake on my part. sorry you
> >were right.
[quoted text clipped - 7 lines]
> Glad you got it worked out.  Thanks for the feedback.
> --ron

thank you all for you answers my template is up on "Microsoft Online"
webpagenow here is the handy link in case you guys want to see your
contribution to it under search term of "Swing Trading Calculator" and
link is [http://office.microsoft.com/en-us/templates/
TC300009021033.aspx?pid=CT101444811033]
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.