Conditional Formatting

Patches01

New Member
Joined
Aug 11, 2021
Messages
21
Office Version
  1. 365
Platform
  1. Windows
How do I conditional format a row with the following conditions. First cell has "0" , second cell has "0" , third cell has "N/A" , fourth cell has "N/A" and the fifth cell has "N/A".
Date_Of_BirthSubs_Paid_TillMember_LevelFIRST CELLSECOND CELLTHIRD CELLFOURTH CELLFIFTH CELL
20/01/1941​
1/01/2100​
2580.5​
26.9​
2​
2​
#N/A​
8/09/1943​
1/01/2100​
329.7​
107.6​
3​
3​
3​
29/01/1946​
1/01/2100​
0.32​
0​
4​
4​
4​
21/12/1949​
31/12/2099​
75.7​
25.9​
#N/A​
5​
#N/A​
21/05/1934​
1/01/2100​
0​
0​
#N/A​
#N/A​
#N/A​
15/06/1947​
31/12/2099​
0​
0​
#N/A​
#N/A​
#N/A​
20/01/1946​
1/01/2100​
2560.7​
0​
#N/A​
#N/A​
#N/A​
27/09/1945​
1/01/2100​
0.9​
0​
9​
9​
9​
5/12/1943​
1/01/2100​
54.5​
53.8​
10​
10​
10​
1/01/1945​
1/01/2100​
60.4​
53.8​
12​
12​
12​
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
For row 2, your Conditional Formatting Formula would look like (assuming "FIRST CELL" is column D, etc):
Excel Formula:
=AND($D2=0,$E2=0,ISNA($F2),ISNA($G2),ISNA($H2))
 
Upvote 0
How about
Fluff.xlsm
ABCDEFGH
1Date_Of_BirthSubs_Paid_TillMember_LevelFIRST CELLSECOND CELLTHIRD CELLFOURTH CELLFIFTH CELL
220/01/194101/01/21002580.526.922#N/A
309/08/194301/01/2100329.7107.6333
429/01/194601/01/21000.320444
521/12/194931/12/209975.725.9#N/A5#N/A
621/05/193401/01/210000#N/A#N/A#N/A
715/06/194731/12/209900#N/A#N/A#N/A
820/01/194601/01/21002560.70#N/A#N/A#N/A
927/09/194501/01/21000.90999
1012/05/194301/01/210054.553.8101010
1101/01/194501/01/210060.453.8121212
12
13
14
Master
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:H17Expression=AND(COUNTIFS($D2:$E2,0)=2,COUNTIFS($F2:$H2,"#N/A"))textNO
 
Upvote 0
Solution
Which condition did you use?
1689764823974.png
 
Upvote 0
Doesn't seem to be working for me. Is not applying to all lines correctly.
 
Upvote 0
What range did you select before applying the rule?
 
Upvote 0
Doesn't seem to be working for me. Is not applying to all lines correctly.
The formula needs to be in agreement with the range that you selected to apply this to.
The best way to do this is to first select the entire range that you want to apply it to, then write the formula as it pertains to the FIRST cell in your selected range.
Excel is smart enough to adjust the formula for the other cells in your selected range.
 
Upvote 0

Forum statistics

Threads
1,215,131
Messages
6,123,222
Members
449,091
Latest member
jeremy_bp001

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