Conditional Formatting using two conditions

Shwetajoel

New Member
Joined
Nov 24, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi, I am trying to create a conditional formatting where if the cell value in L2 is "waiting" whole row turns in Red colour and then I can use this condition for the entire table. I used (=$L2="Waiting")formula first but then its turning even the blank rows as red when I am dragging the formula down from L2 column as the value "waiting " is formula driven which is =IF(ISBLANK(H2),"Waiting",(IF(ISBLANK(AD405),"Current","Discharged"))) and its filling all the balnk columns with "waiting" even when all the rest of the columns in the entire rows are blank

I tried to change conditional formatting rule as IF(AND(ISBLANK($H2), $L2=”Waiting”)FALSE, TRUE) to base the red colour formatting based on one more cell value H2 which is in case H2 is not blank and L2 is "waiting" then the whole row turn into red colour but this is not working now.

Kindly help how can I achieve the red colour formatting without having the red colur filled in the blank rows.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
If your cells contain formulas ISBLANK will return FALSE
Try replacing ISBLANK(H2) with COUNTBLANK(H2)>0

Also, in conditional formatting you don't need IF: =AND(COUNTBLANK(H2)>0,$L2="Waiting")
 
Upvote 0

Forum statistics

Threads
1,213,486
Messages
6,113,932
Members
448,533
Latest member
thietbibeboiwasaco

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