conditional formatting not working.

jbrown021286

Board Regular
Joined
Mar 13, 2023
Messages
65
Office Version
  1. 365
Platform
  1. Windows
I am attempting to apply conditional formatting to adjacent cells in a table but for some reason it is not working correctly. column c will not react at all and column a is the only one that resounds correctly b and d just stay formatted when cell e is empty. when i try to apply the same formula down the table i will get random cells in different columns not formatting. i also tried the formula =NOT(ISBLANK(E2)) with the same result. any advice would be appreciated.
1689832238186.png
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Have you tried putting a $ before the E of E2 making it $E2?
 
Upvote 0
you are only applying to row 2 ...

countif(E2,"<>") should conditional format if E is NOT blank

as you are selecting A to D you need a $

countif($E2,"<>")

Book1
ABCDE
1
2
3
4
5
61
7
8
91
10
11
121
13
14
15
16
17
18
19
20
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:D20Expression=COUNTIF($E2,"<>")textNO


for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
Conditional Formatting

Highlight applicable range >>
A2:D100 - Change, reduce or extend the rows to meet your data range of rows

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
countif($E2,"<>")

Format [Number, Font, Border, Fill]
choose the format you would like to apply when the condition is true
OK >> OK
 
Upvote 0

Forum statistics

Threads
1,216,071
Messages
6,128,623
Members
449,460
Latest member
jgharbawi

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