Conditional formatting

BJSinger7623

New Member
Joined
Feb 20, 2020
Messages
33
Office Version
  1. 365
  2. 2019
  3. 2010
Platform
  1. Windows
So I have a row of information, one of those cells is the date, let's say G5. I'd like for the whole row to highlight in a color if the current date (when the sheet is opened) is AFTER that date. Does that make sense and is that do-able? Thank you so much in advance!
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Try:

Book1 (version 1).xlsb
ABCDEFG
1Header1Header2Header3Header4Header5Header6Date
2A21A22A23A24A25A2611/1/2021
3A31A32A33A34A35A3611/2/2021
4A41A42A43A44A45A464/1/2021
5A51A52A53A54A55A5612/1/2021
6A61A62A63A64A65A664/4/2021
7A71A72A73A74A75A765/5/2021
8A81A82A83A84A85A8612/25/2021
9A91A92A93A94A95A9612/31/2021
10A101A102A103A104A105A1061/1/2022
11
12
Sheet33
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:G12Expression=$G2<TODAY()textNO
 
Upvote 0
Try:

Book1 (version 1).xlsb
ABCDEFG
1Header1Header2Header3Header4Header5Header6Date
2A21A22A23A24A25A2611/1/2021
3A31A32A33A34A35A3611/2/2021
4A41A42A43A44A45A464/1/2021
5A51A52A53A54A55A5612/1/2021
6A61A62A63A64A65A664/4/2021
7A71A72A73A74A75A765/5/2021
8A81A82A83A84A85A8612/25/2021
9A91A92A93A94A95A9612/31/2021
10A101A102A103A104A105A1061/1/2022
11
12
Sheet33
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:G12Expression=$G2<TODAY()textNO
Sorry to ask - but any chance you could dumb it down to Step 1 to the final product for me please? I'm looking and I'm just not seeing where to even start. :(
 
Upvote 0
Try:

Book1 (version 1).xlsb
ABCDEFG
1Header1Header2Header3Header4Header5Header6Date
2A21A22A23A24A25A2611/1/2021
3A31A32A33A34A35A3611/2/2021
4A41A42A43A44A45A464/1/2021
5A51A52A53A54A55A5612/1/2021
6A61A62A63A64A65A664/4/2021
7A71A72A73A74A75A765/5/2021
8A81A82A83A84A85A8612/25/2021
9A91A92A93A94A95A9612/31/2021
10A101A102A103A104A105A1061/1/2022
11
12
Sheet33
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:G12Expression=$G2<TODAY()textNO
I GOT IT!!!! Thank you so much!
 
Upvote 0
Sure.

Open your workbook. Select the range that you want to apply the Conditional Formatting (CF) to. If you have one row, say A2:G2, select A2:G2. If you have several rows, select all of them, A2:G100 for example.

Once you have selected the range, from the Home tab, click Conditional Formatting > New Rule > Use a formula to determine which cells to format > and put this in the formula box:

=$G2<TODAY()

where G is the column with the date in it, and 2 is the top row of your range. Then click Format... , pick the Fill tab, and click on the color you want. Click OK until you've exited all the dialog boxes.


Looks like you got it already! Good job! Glad I could help a bit! ?
 
Upvote 0

Forum statistics

Threads
1,214,897
Messages
6,122,148
Members
449,066
Latest member
Andyg666

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