conditional formatting the most recent day of the month in a list

jbrown021286

Board Regular
Joined
Mar 13, 2023
Messages
81
Office Version
  1. 365
Platform
  1. Windows
bills 2024.xlsb.xlsx
ABCDEFGHIJKLMNOPQRS
1billrough date amount balance neededbase balanceadditional fundsdate
2payday15$2,467.48$ 3,967.485/13/2024
3credit card15$ 800.00$ 3,167.48$ 1,500.00
4hulu17$ 81.99$ 3,085.49.
5pilot19$ 152.88$ 2,932.61Payments left
633
7dee med bill19$ 385.31$ 2,547.30Payments left
87
9netflix22$ 15.49$ 2,531.81
10Rachel med bill24$ 103.65$ 2,428.16Payments left
1126total bills
12usaa card25$ 205.08$ 2,223.08
13internet28$ 55.00$ 2,168.08$ 4,934.9512 month avg
14phone27$ 203.00$ 1,965.08
15tools29$ 100.00$ 1,865.08
16payday30$2,467.48$ 4,332.55months end balance
17credit card30$ 800.00$ 3,532.55
18water2$ 54.77$ 3,477.78$ -
19house4$1,222.31$ 2,255.47
20power6$ 204.47$ 2,051.00
21trash6$ 29.00$ 2,022.00
22grass8$ 110.00$ 1,912.00
23tools8$ 100.00$ 1,812.00
24church10$ 312.00$ 1,500.00
bills
Cell Formulas
RangeFormula
C2C2=H13/2
R2R2=TODAY()
E6E6=debt!B3
E8E8=debt!F3
E11E11=debt!J3
H13H13=SUM(C17:C24,C3:C15)
C16C16=H13/2
H18H18=D24-M3-H3
D2D2=H3+C2+M3+M17
D3:D5,D10,D13:D15,D17:D24D3=D2-C3
D7,D9,D12D7=D5-C7
D16D16=D15+C16

im not sure it is possible but here is what i am wanting to do. in column B i have the day of the month of when a bill posts and in r2 i have the current date automatically filling. i am wanting to conditionally format the cells in a, b, c and d so that it highlights the most recent date that a bill posted. in this example since the date in R2 is the 13th of the month the last date a bill was posted was on the 10th so i would need A24, B24, C24 and D24 to be highlighted. any help would be appreciated.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Will this help? Note: I've changed the date to a fixed date, you can re-insert the Today() function as you see fit.


Book1
ABCDERS
1billrough date amount balance neededdatebuilding CF formula
2payday152467.4753967.4752024-05-19FALSE
3credit card158003167.475FALSE
4hulu1781.993085.485FALSE
5pilot19152.882932.605TRUE
6dee med bill19385.312547.295TRUE
7netflix2215.492531.805FALSE
8Rachel med bill24103.652428.155FALSE
9usaa card25205.082223.075FALSE
10internet28552168.075FALSE
11phone272031965.075FALSE
12tools291001865.075FALSE
13payday302467.4754332.55FALSE
14credit card308003532.55FALSE
15water254.773477.78FALSE
16house41222.312255.47FALSE
17power6204.472051FALSE
18trash6292022FALSE
19grass81101912FALSE
20tools81001812FALSE
21church103121500FALSE
Sheet1
Cell Formulas
RangeFormula
C2C2=H10/2
C13C13=H10/2
D2D2=H3+C2+M3+M14
D3:D12,D14:D21D3=D2-C3
D13D13=D12+C13
S2:S21S2=MAX(IF(DAY($R$2)>=$B$2:$B$21,$B$2:$B$21,0))=$B2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:D21Expression=MAX(IF(DAY($R$2)>=$B$2:$B$21,$B$2:$B$21,0))=$B2textNO
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,265
Members
452,627
Latest member
KitkatToby

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