LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
azmi
 
Posts: n/a
Default

your explanation worked out perfectly, and sorted my problem without further
complications. thanks to you. but before i leave, just out of curiosity may i
ask, is CHENOPOD (the one who bought the similar issue first) has the same
problem as mine, or is he refering to something else?

"JE McGimpsey" wrote:

Multiplication and addition happen before the data is entered, just as
division does. The difference is that multiplication by zero and
addition of zero are defined, whereas division by zero is not, hence the
error.

Note that ISERROR() will mask any other errors you have. It's usually
better to trap only "expected" errors:

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





In article ,
"azmi" wrote:

appriciate your prompt reply. my issue was, the formula displays (#DIV/0!)
BEFORE entering the data. i.e., the formula is entered first, and the
relevent data is to be entered at a later stage.as far as i know this only
happens when you devide a value by zero or when the formula has to devide
zero by zero. this does not happen when you multiply or add. hence this cell
which gives (#DIV/0!) will continue to be the same to all formulas which
refers this particula cell(s). howerver i managed to find that "ISERROR"
function eliminates this issue.

A1=0
B1=0
C1=A1/B1=#DIV/0!

SOLUTION
C1=IF(ISERROR(A1/B1),'''',A1/B1)


 
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
Excel: Clear all cell entries EXCEPT formulas? newsgal Excel Discussion (Misc queries) 6 March 18th 06 12:46 AM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
I want Excel to allow cells with formulas and unrelated text blueboy Excel Discussion (Misc queries) 9 March 4th 05 12:22 AM
How do I hide formulas in Excel cells? Rita Excel Discussion (Misc queries) 2 February 15th 05 08:55 PM
Problems with Excel formulas when 2002 upgraded to XP Kathi McGraw Excel Worksheet Functions 0 November 16th 04 05:27 PM


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

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"