Nested Conditional formatting....??

zendog1960

Active Member
Joined
Sep 27, 2003
Messages
459
Office Version
  1. 2019
Platform
  1. Windows
Hi everyone. It's been a while since I last posted here.

I have a range of B5:I10. I have used the =MOD(ROW(),2) to color every other row light grey. Just for Column I; If B5 isblank then the initial condition would be used, meaning every other row is grey. If $b5 has anything in it, then only I5 would be formatted to whatever color I manually put there without changing the rest of the range.

So maybe the question is this, If I have a range (B5:I10)that makes every other row grey, how can I override I5 If B5 has text without changing the other rows.

I hope this makes sense. I'm at work at the moment and need this help

Thank you in advance for all the help.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Maybe this might help. I want to have an end result like the example below.

Utility Tracking OR Critical Utilities.xlsx
BCDEFGHI
4Type of UtilityUtility OwnerSizeMaterialApprox. LengthUtility LocationNotesImpact Level
5Sanitary SewerCity of Vancouver10"Cast Iron1659'Blah blah blahthese are blar blah
6Sanitary SewerCity of Vancouver10"Cast Iron1659'Blah blah blahthese are blar blah
7Sanitary SewerCity of Vancouver10"Cast Iron1659'Blah blah blahthese are blar blah
8Sanitary SewerCity of Vancouver10"Cast Iron1659'Blah blah blahthese are blar blah
9
10
11
12
13
14
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A5:H700Expression=MOD(ROW(),2)textNO
 
Upvote 0
put a 2nd rule in for b5 - is it just the one cell ?
Now order so that
=MOD(ROW(),2)
Is the 2nd rule
and then if B5 <> "" then fill ,

Book9
ABCDEFGHIJK
1
2
3
4
5fred
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A5:K5Expression=$B5<>""textYES
A1:K20Expression=MOD(ROW(),2)textYES
 
Upvote 0
Hi,

Try this:

Excel Formula:
=AND($B5="",MOD(ROW(),2))
 
Upvote 0

Forum statistics

Threads
1,215,731
Messages
6,126,539
Members
449,316
Latest member
sravya

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