Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 69
Default I want to hide #DIV/0

How do I conditionally format a cell that returns the above error?

LT
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default I want to hide #DIV/0

On Thu, 5 Jun 2008 10:15:01 -0700, Looping through
wrote:

How do I conditionally format a cell that returns the above error?

LT


For the conditional format formula, use:

=ERROR.TYPE(cell_reference)=2

and format the font color to be the same as the background color.
--ron
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default I want to hide #DIV/0

if you want that excel shows blank instead of #DIV/0

use

=if(iserror(yourfuncion),"",(yourfuncion))


hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Looping through" escreveu:

How do I conditionally format a cell that returns the above error?

LT

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default I want to hide #DIV/0

Hi,

Conditionally format it to show what? Turn the cell red, change the font
color, format the cell so the error doesn't show? Do you want to do this
just for printing or do you want to do this until the cell has a non-error
value? Better way to handle this is to replace the error formula with an IF
test to trap the error.

1. In 2003 select the cell, here A1, choose Format, Conditional Formatting,
Formula is from the first drop down, and enter =ISERR(A1), click Format,
Font, Color, pick the color that matches the background, probably white.

2. Suppose the formula that caused the problem was =A2/B2, then in the cell
with the formula replace it with =IF(B2=0,"",A2/B2)

--
Cheers,
Shane Devenshire


"Looping through" wrote:

How do I conditionally format a cell that returns the above error?

LT

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
hide code does not hide Wanna Learn Excel Discussion (Misc queries) 2 March 6th 08 07:21 PM
How to hide a pop up Cabri Excel Discussion (Misc queries) 2 August 2nd 07 07:08 AM
Hide Unhide Hide again DTTODGG New Users to Excel 1 February 15th 06 03:22 PM
How can I hide #VALUE! Mark Jackson Excel Worksheet Functions 2 December 29th 04 06:12 PM
How do I hide a worksheet in Excel and use a password to un-hide . Dchung Excel Discussion (Misc queries) 3 December 2nd 04 06:24 AM


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