Hi, Pennsylvania Kev
You can do this a bit more safely by using OFFSET, so the rule always looks back to the matching cell in the previous week block, instead of manually pointing each cell to another cell.
For example, if Week 2 starts in K6:N10 and the matching Week 1 cells are 5 columns to the left, select the whole Week 2 area K6:N10, then create two conditional formatting rules.
For green, use:
=K6>OFFSET(K6,0,-5)
For red, use:
=K6<OFFSET(K6,0,-5)
Set the “Applies to” box to:
=$K$6:$N$10
The important part is that the first cell in the selected range is K6, so the formula should also start with K6. Excel will then adjust the rule for each cell inside the selected block.
If the previous week is 4 columns to the left instead of 5, change -5 to -4.
For Week 3, Week 4, and Week 5, it is suggested that you copy the Week 2 block and use Paste Special > Formats, or use Format Painter. Then check Conditional Formatting > Manage Rules and make sure the “Applies to” range moved to the new week block. This avoids creating every cell one at a time.
Thank you for your patience in reading, I hope this information has been helpful to you.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment."
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.