Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11
Default need to hide "div/0!"

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

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8,856
Default need to hide "div/0!"

You could have something like:

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

Hope this helps.

Pete

On Oct 10, 9:39 am, Jontie wrote:
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))



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,646
Default need to hide "div/0!"

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


  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11
Default need to hide "div/0!"

On Oct 10, 6:00 am, Stefi wrote:
=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))- Hide quoted text -


- 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

  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5,651
Default need to hide "div/0!"

On Wed, 10 Oct 2007 01:39:56 -0700, Jontie wrote:

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


  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5,651
Default need to hide "div/0!"

On Wed, 10 Oct 2007 01:39:56 -0700, Jontie wrote:

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
  #7   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11
Default need to hide "div/0!"

On Oct 10, 1:49 pm, Ron Rosenfeld wrote:
On Wed, 10 Oct 2007 01:39:56 -0700, Jontie wrote:
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


..3368 is the answer i m getting after using the above formula where as
it should be 32

  #8   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5,651
Default need to hide "div/0!"

On Thu, 11 Oct 2007 15:55:23 -0700, Jontie wrote:

On Oct 10, 1:49 pm, Ron Rosenfeld wrote:
On Wed, 10 Oct 2007 01:39:56 -0700, Jontie wrote:
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


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

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


--ron
  #9   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11
Default need to hide "div/0!"

On Oct 11, 8:16 pm, Ron Rosenfeld wrote:
On Thu, 11 Oct 2007 15:55:23 -0700, Jontie wrote:
On Oct 10, 1:49 pm, Ron Rosenfeld wrote:
On Wed, 10 Oct 2007 01:39:56 -0700, Jontie wrote:
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


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

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

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

  #10   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5,651
Default need to hide "div/0!"

On Thu, 11 Oct 2007 19:23:03 -0700, Jontie wrote:

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
"


Glad you got it worked out. Thanks for the feedback.
--ron


  #11   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11
Default need to hide "div/0!"

On Oct 11, 10:29 pm, Ron Rosenfeld wrote:
On Thu, 11 Oct 2007 19:23:03 -0700, Jontie wrote:
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
"


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]

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


All times are GMT +1. The time now is 07:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"