PerseveringHarold
New Member
- Joined
- May 23, 2023
- Messages
- 10
- Office Version
- 365
- Platform
- Windows
Hi. You can try my tl;dr in bold, or find a bit more explanation beneath.
tl:dr - I think I need a script that looks at cell values in column range $E7:$E48, then goes to whichever column has today's date in U$5:HZ$5 and if, for example, $E7="Off" then Cell 7 in whichever column has today's date has to turn red (and not change back again when the date changes). And (continuing the example) if $E48="On" then Cell 48 in whichever column has today's date has to turn green.
Additional explanation:
Not sure if over-complicating this or not, but hopefully someone can help clarify my thinking here.
I have a range within a row of dates. U5 is 01/04/2023, HZ5 is 31/10/23.
Each day, I have a script that takes updated data and pastes it into whichever column has today's date as its header in Row 5. As each day passes, an archive of daily data grows across the sheet.
Once today's data has been pasted beneath the date header, I need any cells in that column, whose equivalent cell in another column (E) has a certain value, to change font colour. AND then get archived in that different colour. I've tried conditional formatting but the colour changes back to default the following day because and I can't think of how to lock the conditional format before the date changes.
Thank you.
tl:dr - I think I need a script that looks at cell values in column range $E7:$E48, then goes to whichever column has today's date in U$5:HZ$5 and if, for example, $E7="Off" then Cell 7 in whichever column has today's date has to turn red (and not change back again when the date changes). And (continuing the example) if $E48="On" then Cell 48 in whichever column has today's date has to turn green.
Additional explanation:
Not sure if over-complicating this or not, but hopefully someone can help clarify my thinking here.
I have a range within a row of dates. U5 is 01/04/2023, HZ5 is 31/10/23.
Each day, I have a script that takes updated data and pastes it into whichever column has today's date as its header in Row 5. As each day passes, an archive of daily data grows across the sheet.
Once today's data has been pasted beneath the date header, I need any cells in that column, whose equivalent cell in another column (E) has a certain value, to change font colour. AND then get archived in that different colour. I've tried conditional formatting but the colour changes back to default the following day because and I can't think of how to lock the conditional format before the date changes.
Thank you.