ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do I hide a calulation error in cells/table #div/0! (https://www.excelbanter.com/excel-discussion-misc-queries/165799-how-do-i-hide-calulation-error-cells-table-div-0-a.html)

Dave

how do I hide a calulation error in cells/table #div/0!
 
The calulation is to have data entered at a later date but with no data on
the cell to be divided the answer cell show #div/0! But I want this left
blank, not showing the error.
I can change one at a time but not all at once.

David Biddulph[_2_]

how do I hide a calulation error in cells/table #div/0!
 
If your formula is =A1/B1, you can avoid the divide by zero error when B1 is
empty by using =IF(B1="","",A1/B1).
If you want the result to be blank if either A1 or B1 or both is missing,
you could use =IF(OR(A1="",B1=""),"",A1/B1).
--
David Biddulph

"Dave" wrote in message
...
The calulation is to have data entered at a later date but with no data on
the cell to be divided the answer cell show #div/0! But I want this left
blank, not showing the error.
I can change one at a time but not all at once.





All times are GMT +1. The time now is 11:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com