Hello,
I have a spreadsheet where in column ‘J’ I tabulate the total daily lbs. sold. This means that when the date changes in column ‘A’, the tally in column ‘J’ starts over. To make this more readily clear for the user, I wanted to alternate the cell color in column ‘J’ as the date changes in column ‘A’. For the record, the dates are completely random and can have any sort chronological gap.
I’ve used cell conditional formatting before using the formula “A8<>A7” to highlight when days change, but that only highlights the actual date change. This formula would need to determine if the date has changed, and if the following dates are the same, to use the same fill color for those cells. Basically, the cell color needs to alternate between dates like in the mock-up below.
I explored using this formula “=AND(J144>=J143,A144=A143)”, but that doesn’t fully perform the needed highlights, and gives me the following results.
Instead of conditionally assigning a fill color, is there a way to tell Excel to conditionally match the previous cell color?
Thank you for reading my post.
I have a spreadsheet where in column ‘J’ I tabulate the total daily lbs. sold. This means that when the date changes in column ‘A’, the tally in column ‘J’ starts over. To make this more readily clear for the user, I wanted to alternate the cell color in column ‘J’ as the date changes in column ‘A’. For the record, the dates are completely random and can have any sort chronological gap.
I’ve used cell conditional formatting before using the formula “A8<>A7” to highlight when days change, but that only highlights the actual date change. This formula would need to determine if the date has changed, and if the following dates are the same, to use the same fill color for those cells. Basically, the cell color needs to alternate between dates like in the mock-up below.
I explored using this formula “=AND(J144>=J143,A144=A143)”, but that doesn’t fully perform the needed highlights, and gives me the following results.
Instead of conditionally assigning a fill color, is there a way to tell Excel to conditionally match the previous cell color?
Thank you for reading my post.