Forum Discussion
Conditional formatting
- Aug 26, 2024
You're giving slightly different information between your two postings. So I'm going to have to make a couple of assumptions.
Your original message said that column 1 was red or amber; this latest says red or yellow.
More significant perhaps, though it depends on how it's coded, your first message said that the second column contains a "No" in order to activate this desired red flag; your latest message says "0"
I'm sorry to be a nit-picker, but the fact of the matter is that the conditional formatting function IS itself very much a nit-picker, which is why it can be tricky to get it doing exactly what you want it to do.
So I've made a couple of assumptions in giving you an example file (attached) where:
- the date turns red if it's the current month or earlier; yellow if next month, remains white if further in the future.
- The Paid column (I have two of them) turns red on the basis of a zero or an "N" along with the month being red. It turns yellow if N or zero and the month is yellow. I saw no reason to not stick with the same "warning" color ....
Here's what it looks like. Test it by changing values in columns A, B or C
You can read the conditional formatting rules involved by selecting "Conditional Formatting" either through the "Format" menu across the top of the screen
OR through the Conditional Formatting icon on the tool bar
Hi, thank you for your reply!
Yes, the first column would be red or yellow as a result of a condition being met. (A date being this month or next month) A combination of this and whether the other column is 0 (a membership fee hadn't been paid) would, I hope, lead to a red flag.
I'm not sure how I add a No?
Apologies for my lack of knowledge!
Best wishes
Paul
You're giving slightly different information between your two postings. So I'm going to have to make a couple of assumptions.
Your original message said that column 1 was red or amber; this latest says red or yellow.
More significant perhaps, though it depends on how it's coded, your first message said that the second column contains a "No" in order to activate this desired red flag; your latest message says "0"
I'm sorry to be a nit-picker, but the fact of the matter is that the conditional formatting function IS itself very much a nit-picker, which is why it can be tricky to get it doing exactly what you want it to do.
So I've made a couple of assumptions in giving you an example file (attached) where:
- the date turns red if it's the current month or earlier; yellow if next month, remains white if further in the future.
- The Paid column (I have two of them) turns red on the basis of a zero or an "N" along with the month being red. It turns yellow if N or zero and the month is yellow. I saw no reason to not stick with the same "warning" color ....
Here's what it looks like. Test it by changing values in columns A, B or C
You can read the conditional formatting rules involved by selecting "Conditional Formatting" either through the "Format" menu across the top of the screen
OR through the Conditional Formatting icon on the tool bar
- paul1hudsonAug 27, 2024Copper ContributorThank you for your excellent reply. Yes, I was sloppy with my language on what changed the colours and I understand the impact. Thank you for your example spreadsheet, very helpful! Best wishes, Paul