#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PAL PAL is offline
external usenet poster
 
Posts: 200
Default #DIV/0!

I have a table that is performing a lot of calculations. Because there is no
data yet to complete the formula I get the "#DIV/0!" error. Is there a way
to hide this until there is a data.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default #DIV/0!

On Dec 26, 9:48*am, PAL wrote:
I have a table that is performing a lot of calculations. *Because there is no
data yet to complete the formula I get the "#DIV/0!" error. *Is there a way
to hide this until there is a data.


=if(A1="", "", B1/A1)
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default #DIV/0!

=if(iserror(your formula),"",your formula)

"PAL" wrote:

I have a table that is performing a lot of calculations. Because there is no
data yet to complete the formula I get the "#DIV/0!" error. Is there a way
to hide this until there is a data.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default #DIV/0!

Here are a couple options....

For values in A1 and B1

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

Does that help?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"PAL" wrote in message
...
I have a table that is performing a lot of calculations. Because there is
no
data yet to complete the formula I get the "#DIV/0!" error. Is there a
way
to hide this until there is a data.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 897
Default #DIV/0!

How about

=IF(ISBLANK(first cell),"",your_formula)

ex:

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

This would having Excel perform your calculations twice (if the cell
isn't blank).

HTH,
JP


On Dec 26, 12:48*pm, PAL wrote:
I have a table that is performing a lot of calculations. *Because there is no
data yet to complete the formula I get the "#DIV/0!" error. *Is there a way
to hide this until there is a data.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default #DIV/0!

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


"PAL" wrote:

I have a table that is performing a lot of calculations. Because there is no
data yet to complete the formula I get the "#DIV/0!" error. Is there a way
to hide this until there is a data.

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



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