Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
sjl
 
Posts: n/a
Default #name or #div/0 problem

I am dividing two cells. Sometimes there is a "0" in the denominator and it
gives me the error message. I tried writing an "if" statement but have not
been successful. I am trying to create a blank cell when there is no value.
I tried changeing the fomate from custom "-" to number and can't seem to get
it to work. Can someone please help.

Thanks,
Jay
  #2   Report Post  
Posted to microsoft.public.excel.misc
VBA Noob
 
Posts: n/a
Default #name or #div/0 problem


Try somthing like this

replace cell ref as required

=IF(ISERROR(A15/B15),"",A15/B15)


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=553841

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
how to sum cells and ignore the #div/0! 's ? Todd Excel Worksheet Functions 6 April 25th 10 12:31 AM
Excel Startup Problem aussievic Excel Discussion (Misc queries) 1 June 12th 06 04:33 PM
How to hide #DIV/0! in cells waiting for input? Pheasant Plucker® Excel Discussion (Misc queries) 4 January 26th 06 04:30 PM
Urgent Help Required on Excel Macro Problem Sachin Shah Excel Discussion (Misc queries) 1 August 17th 05 06:26 AM
Problem With Reference Update Egon Excel Worksheet Functions 17 July 16th 05 05:45 AM


All times are GMT +1. The time now is 02:59 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"