Conditional Formatting Based on Cell Value

kumara_faith

Well-known Member
Joined
Aug 19, 2006
Messages
922
Office Version
  1. 365
Hi,

I have the following input table:

Book1
CDE
4DateAmountAccumulated Amount
512/10/2022100
613/10/2022100200
714/10/2022100200
815/10/2022100200
916/10/2022100200
1017/10/2022100200
1118/10/2022100200
Sheet1
Cell Formulas
RangeFormula
E6:E11E6=D6+D5


I am trying to build a conditional formatting that will only highlight the latest value in column E when the latest date and amount in column C and column D is entered. In the above example, cell E11 is highlighted because the last updated date is 18/10/2022 in column C and there is an amount in column D. As the user enters the next information in column C and column D, the previous cells should no longer be highlighted and the latest cell in column E should highlighted. Is there a formula I could use in conditional formatting to make this work? I appreciate all the help.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
How about
Fluff.xlsm
CDE
4DateAmountAccumulated Amount
512/10/2022100
613/10/2022100200
714/10/2022100200
815/10/2022100200
916/10/2022100200
1017/10/2022100200
1118/10/2022100200
12
13
14
Update
Cell Formulas
RangeFormula
E6:E11E6=D6+D5
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E5:E26Expression=AND(C5<>"",D5<>"",C6="",D6="")textNO
 
Upvote 0
Hi Fluff,

Thank you and that worked. Appreciate your patience. If I would like to highlight the whole row instead of just the cells in column E with the same condition above, how do I modify the formula? Thanks.
 
Upvote 0
Like
Excel Formula:
=AND($C5<>"",$D5<>"",$C6="",$D6="")
 
Upvote 0
Solution
Hi Fluff,

Thank you and that worked. I appreciate your help and have a great day ahead.🙏
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,614
Messages
6,120,533
Members
448,969
Latest member
mirek8991

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