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

  • Thread starter Thread starter Marcus Analyst
  • Start date Start date
M

Marcus Analyst

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?
 
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)
 
Chip sorry to bother you again, but how would I conditionally format a cell
if the result of the formula is "VALUE!" ?
 
Chip, I figured out the answer - it is a Type 3 error. Once again, thanks so
much for your help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Excel VBA 1
Conditional Formatting with VBA 4
Conditional Formatting 4
Excel Need Countifs Formula Help 0
cell formula question 4
Conditional formating not working 5
Conditional Formatting 1
Formula,Function, or VBA 1

Back
Top