Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default Zero Division

Can't remember the formula for not showing DIV/? error message when dividing
by zero
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Zero Division

Something along the lines of

=IF(B1<0, A1/B1,"")

or

=IF(ISERR(A1/B1),"",A1/B1)

--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)



"Beep Beep" wrote in message
...
Can't remember the formula for not showing DIV/? error message when
dividing
by zero


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Zero Division

On Mar 11, 5:18*pm, Beep Beep
wrote:
Can't remember the formula for not showing DIV/? error message when dividing
by zero


Hi,

You can have the catch all solution of

=if(iserror(your formula),"",your formula)
but this hides lots of errors so depending on your formula a better
solution may be to check for zero

=IF(A1=0,"",B1/A1)

which doesn't hide other errors

Mike
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
Division linda.davis20 Excel Discussion (Misc queries) 2 March 31st 09 07:41 PM
Division EK Excel Worksheet Functions 2 May 3rd 07 04:05 PM
Need help with division, please!!! swag143 Excel Worksheet Functions 1 August 16th 06 05:01 PM
Division help? clayblay Excel Discussion (Misc queries) 0 January 12th 06 11:54 PM
Division By Zero carl Excel Worksheet Functions 7 September 27th 05 05:07 PM


All times are GMT +1. The time now is 09:56 PM.

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

About Us

"It's about Microsoft Excel"