Conditional format entire column

PAB1020

New Member
Joined
Dec 21, 2018
Messages
14
Office Version
  1. 365
Platform
  1. Windows
My first post for help here.
I'm not a novice nor am I an expert.
I don't have a problem returning error message (with #DIV/0!) but I want it formatted with red font (not that the format matters).
I can get it to work - one cell at a time, but for 35 rows - gotta be a better way.
Formula is true: =ISERROR($I$31) Applies to =($1$31)
I want this top apply to all of Column I - I4:I36
Tried =ISERROR($I$4:$I36) - Applies to $I$4:$I36 - doesn't work, font stays black.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi & welcome to MrExcel.
Select I4:I36 & use this formula in conditional formatting.
Excel Formula:
=ISERROR($I4)
 
Upvote 0
Solution
=ISERROR(I4)
Do not use $!
Edit: The way that Fluff used $ is OK, for the column. Do not use it for the row.

Applies to
$I$4:$I36
 
Upvote 0
And, if you can help me return something other than the error, that would be great.
Need percentages but sometimes dividing #>0/0.
 
Upvote 0
You can use
Excel Formula:
=IFERROR(your formula,"")
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0
You can use
Excel Formula:
=IFERROR(your formula,"")
Fluff, thanks for the help.
Here's my DIV/0 issue...
This just happens to be row 6.
Calculating %'s above/below list price (G6) on what product sold for (H6).
Returning blank cell if no account name is entered in (A6) instead of column(s) full of 0.00%'s=IF(A6="","",IF(H6-G6=0,0,(H6-G6)/H6))
Negative numbers formatted in red font: 0.00%;[Red]-0.00%
 
Upvote 0
How about
Excel Formula:
=IF(OR(A6="",H6=0),"",IF(H6-G6=0,0,(H6-G6)/H6))
 
Upvote 0

Forum statistics

Threads
1,215,523
Messages
6,125,315
Members
449,218
Latest member
Excel Master

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top