Dec 24 2020 02:30 PM
Hi All,
If anybody can help me with the formulas for conditional formatting or anything else that would work. I am trying to format as:
if there is a date closed ($I), the row to remain white.
if there is no date closed ($I) and the due date($H) is greater than today($k$7), the row to turn blue
if there is no date closed ($I) and the due date ($H) is lesser than today ($k$7), the row to turn red
I have been trying to use some formulas from the internet search but doesnot seem to work. Any help would be appreciated.
Thanks!
Dec 24 2020 02:48 PM
Select the rows that you want to format.
In the following, I will assume that the active cell in the selection is in row 11. If it is in another row, adjust the formulas accordingly.
On the Home tab of the ribbon, select Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula =AND($I11="",$H11>$K$7)
Click Format...
Activate the Fill tab.
Select blue.
Click OK, then click OK again.
Repeat the above steps, but with the formula =AND($I11="",$H11<$K$7) and blue as fill color.
Dec 24 2020 03:41 PM
Dec 25 2020 03:20 AM
Could you attach a sample workbook without sensitive data? Thanks in advance.
Dec 25 2020 06:37 AM - edited Dec 25 2020 06:43 AM
Hi @malihassan
Follow these steps:
1- Selcect all the rows ( in your case seems 4 row),
2- From the home tab --> on the style group -->Conditional formatting --> New rule
3- choose Use a formula to determine which cells to format --> write this formula =AND($I10="",$H10>$K$6)
4- Click format button --> choose the color blue
5- Click OK --> OK
Repeat the same step for the second condition and write this formula: =AND($I10="",$H10<$K$6)
Please find ready worksheet attached
Dec 29 2020 07:24 AM - edited Dec 29 2020 08:48 AM
Sorry been out. There you go. Been trying something similar but don't get the expected results.
Dec 29 2020 08:08 AM
SolutionSee if this does what you want.
Dec 29 2020 08:31 AM
Dec 29 2020 08:08 AM
Solution