Hello all, I'm trying to use conditional formatting to highlight the row of data with a date that is closest to today but not in the future.
I am currently using =$A2=TODAY() in conditional formatting, but this will not highlight the date if today's date is not on the list. I would like to highlight the last in the series of dates that's closest to today but not in the future.
Can someone help?
[TABLE="width: 651"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Check #[/TD]
[TD]Payee[/TD]
[TD]Comments[/TD]
[TD] Expense[/TD]
[TD] Deposit[/TD]
[TD]Balance[/TD]
[/TR]
[TR]
[TD="align: right"]1/12/2018[/TD]
[TD][/TD]
[TD]Deposit[/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 3,500.00[/TD]
[TD="align: right"]$7,144.18[/TD]
[/TR]
[TR]
[TD="align: right"]1/12/2018[/TD]
[TD][/TD]
[TD]Cell Phone[/TD]
[TD][/TD]
[TD] $ 70.00[/TD]
[TD][/TD]
[TD="align: right"]$7,074.18[/TD]
[/TR]
[TR]
[TD="align: right"]1/16/2018[/TD]
[TD][/TD]
[TD]Car Payment[/TD]
[TD][/TD]
[TD] $ 281.58[/TD]
[TD][/TD]
[TD="align: right"]$6,792.60[/TD]
[/TR]
[TR]
[TD="align: right"]1/21/2018[/TD]
[TD][/TD]
[TD]Credit Card[/TD]
[TD][/TD]
[TD] $ 229.00[/TD]
[TD][/TD]
[TD="align: right"]$6,563.60[/TD]
[/TR]
[TR]
[TD="align: right"]1/21/2018[/TD]
[TD][/TD]
[TD]Insurance[/TD]
[TD][/TD]
[TD] $ 44.01[/TD]
[TD][/TD]
[TD="align: right"]$6,519.59[/TD]
[/TR]
[TR]
[TD="align: right"]1/21/2018[/TD]
[TD][/TD]
[TD]Withdraw[/TD]
[TD][/TD]
[TD] $ 60.00[/TD]
[TD][/TD]
[TD="align: right"]$1,548.57[/TD]
[/TR]
[TR]
[TD="align: right"]1/29/2018[/TD]
[TD][/TD]
[TD]Gas and Electric[/TD]
[TD][/TD]
[TD] $ 222.25[/TD]
[TD][/TD]
[TD="align: right"]$4,826.32[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am currently using =$A2=TODAY() in conditional formatting, but this will not highlight the date if today's date is not on the list. I would like to highlight the last in the series of dates that's closest to today but not in the future.
Can someone help?
[TABLE="width: 651"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Check #[/TD]
[TD]Payee[/TD]
[TD]Comments[/TD]
[TD] Expense[/TD]
[TD] Deposit[/TD]
[TD]Balance[/TD]
[/TR]
[TR]
[TD="align: right"]1/12/2018[/TD]
[TD][/TD]
[TD]Deposit[/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 3,500.00[/TD]
[TD="align: right"]$7,144.18[/TD]
[/TR]
[TR]
[TD="align: right"]1/12/2018[/TD]
[TD][/TD]
[TD]Cell Phone[/TD]
[TD][/TD]
[TD] $ 70.00[/TD]
[TD][/TD]
[TD="align: right"]$7,074.18[/TD]
[/TR]
[TR]
[TD="align: right"]1/16/2018[/TD]
[TD][/TD]
[TD]Car Payment[/TD]
[TD][/TD]
[TD] $ 281.58[/TD]
[TD][/TD]
[TD="align: right"]$6,792.60[/TD]
[/TR]
[TR]
[TD="align: right"]1/21/2018[/TD]
[TD][/TD]
[TD]Credit Card[/TD]
[TD][/TD]
[TD] $ 229.00[/TD]
[TD][/TD]
[TD="align: right"]$6,563.60[/TD]
[/TR]
[TR]
[TD="align: right"]1/21/2018[/TD]
[TD][/TD]
[TD]Insurance[/TD]
[TD][/TD]
[TD] $ 44.01[/TD]
[TD][/TD]
[TD="align: right"]$6,519.59[/TD]
[/TR]
[TR]
[TD="align: right"]1/21/2018[/TD]
[TD][/TD]
[TD]Withdraw[/TD]
[TD][/TD]
[TD] $ 60.00[/TD]
[TD][/TD]
[TD="align: right"]$1,548.57[/TD]
[/TR]
[TR]
[TD="align: right"]1/29/2018[/TD]
[TD][/TD]
[TD]Gas and Electric[/TD]
[TD][/TD]
[TD] $ 222.25[/TD]
[TD][/TD]
[TD="align: right"]$4,826.32[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]