PC Review


Reply
Thread Tools Rate Thread

Conditional formatting cells with formulas = "DIV/0!"

 
 
Marcus Analyst
Guest
Posts: n/a
 
      3rd Jan 2008
I want to conditionally format a cell that 1) contains a formula and 2) the
result of the formula equals “DIV/0!”

Is there a way to do this?

--
Marc
 
Reply With Quote
 
 
 
 
Chip Pearson
Guest
Posts: n/a
 
      3rd Jan 2008
In the Conditional Formatting dialog (from the Format menu), change "Cell
Value Is" to "Formula Is" and enter the following formula:

=IF(ISERROR(A1),ERROR.TYPE(A1)=2)

Of course, change the A1 reference to the appropriate cell.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"Marcus Analyst" <(E-Mail Removed)> wrote in message
news:349A5326-D36A-4A06-A7C7-(E-Mail Removed)...
>I want to conditionally format a cell that 1) contains a formula and 2) the
> result of the formula equals “DIV/0!”
>
> Is there a way to do this?
>
> --
> Marc


 
Reply With Quote
 
Marcus Analyst
Guest
Posts: n/a
 
      3rd Jan 2008
Wow! Worked seamlessly! Thanks a lot Chip!
--
Marc


"Chip Pearson" wrote:

> In the Conditional Formatting dialog (from the Format menu), change "Cell
> Value Is" to "Formula Is" and enter the following formula:
>
> =IF(ISERROR(A1),ERROR.TYPE(A1)=2)
>
> Of course, change the A1 reference to the appropriate cell.
>
>
> --
> Cordially,
> Chip Pearson
> Microsoft MVP - Excel, 10 Years
> Pearson Software Consulting
> www.cpearson.com
> (email on the web site)
>
>
> "Marcus Analyst" <(E-Mail Removed)> wrote in message
> news:349A5326-D36A-4A06-A7C7-(E-Mail Removed)...
> >I want to conditionally format a cell that 1) contains a formula and 2) the
> > result of the formula equals “DIV/0!”
> >
> > Is there a way to do this?
> >
> > --
> > Marc

>

 
Reply With Quote
 
Marcus Analyst
Guest
Posts: n/a
 
      4th Jan 2008
Chip sorry to bother you again, but how would I conditionally format a cell
if the result of the formula is "VALUE!" ?
--
Marc


"Chip Pearson" wrote:

> In the Conditional Formatting dialog (from the Format menu), change "Cell
> Value Is" to "Formula Is" and enter the following formula:
>
> =IF(ISERROR(A1),ERROR.TYPE(A1)=2)
>
> Of course, change the A1 reference to the appropriate cell.
>
>
> --
> Cordially,
> Chip Pearson
> Microsoft MVP - Excel, 10 Years
> Pearson Software Consulting
> www.cpearson.com
> (email on the web site)
>
>
> "Marcus Analyst" <(E-Mail Removed)> wrote in message
> news:349A5326-D36A-4A06-A7C7-(E-Mail Removed)...
> >I want to conditionally format a cell that 1) contains a formula and 2) the
> > result of the formula equals “DIV/0!”
> >
> > Is there a way to do this?
> >
> > --
> > Marc

>

 
Reply With Quote
 
Marcus Analyst
Guest
Posts: n/a
 
      4th Jan 2008
Chip, I figured out the answer - it is a Type 3 error. Once again, thanks so
much for your help!
--
Marc


"Chip Pearson" wrote:

> In the Conditional Formatting dialog (from the Format menu), change "Cell
> Value Is" to "Formula Is" and enter the following formula:
>
> =IF(ISERROR(A1),ERROR.TYPE(A1)=2)
>
> Of course, change the A1 reference to the appropriate cell.
>
>
> --
> Cordially,
> Chip Pearson
> Microsoft MVP - Excel, 10 Years
> Pearson Software Consulting
> www.cpearson.com
> (email on the web site)
>
>
> "Marcus Analyst" <(E-Mail Removed)> wrote in message
> news:349A5326-D36A-4A06-A7C7-(E-Mail Removed)...
> >I want to conditionally format a cell that 1) contains a formula and 2) the
> > result of the formula equals “DIV/0!”
> >
> > Is there a way to do this?
> >
> > --
> > Marc

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting - find cells containg "+" Colin Hayes Microsoft Excel Misc 3 19th Mar 2010 03:26 PM
Conditional formatting cells with formulas = "#VALUE!" Marcus Analyst Microsoft Excel Misc 1 4th Jan 2008 06:09 PM
Using conditional formatting to "blank" cells terryc Microsoft Excel Misc 1 26th Jun 2006 06:19 PM
Need help: Conditioning "Conditional Formatting" for multiple cells eweiner@gmail.com Microsoft Excel Discussion 2 17th Oct 2005 06:46 PM
Conditional Formatting multiple cells if one cells says "X"... =?Utf-8?B?QmVTbWFydA==?= Microsoft Excel Programming 1 13th Sep 2004 03:14 AM


Features
 

Advertising
 

Newsgroups
 


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