May 18 2022 12:48 AM
Hello
I would like to ask you if it is possible to colour code the result in the table
For example
in cell A1 I have the result 2-4
in cell A2 I have a value of 1-5 - win - colour green
in cell A3 I have a value of 5-1 - loss - colour red
in cell A4 I have a value of 2-4 - exact result - colour yellow
Thank you very much for your answer
May 18 2022 01:40 AM
Hello, Peter
Thank you for your reply. I spelled it wrong. I have more and different results, e.g. see below
This would have to be a rule for all possibilities, which is not realistic
thx
May 18 2022 01:51 AM
IMHO, there are two possibilities
- assign color for each possible combination of numbers and manually as many conditional formatting rules as colors you have
- define formal logic which combination of numbers will have which colors (in RGB) and use VBA programming to apply such logic.
May 18 2022 02:01 AM
May 18 2022 06:25 AM
Sorry, I have no other ideas and VBA is not my territory either. If go this way perhaps someone else could help.
May 18 2022 06:35 AM
I think the problem needs to specified more closely. What sort of 'matches' are we discussing and what is the possible range of results? At the moment, I do not understand the rules for colouring well enough to perform the task by hand using highlighters so I would not know what rule to implement for conditional formatting. For example, why isn't 2-4 green? What distinguishes it from 1-5?
May 18 2022 06:37 AM
I guess it shall be different color for each of i-j combination.
May 18 2022 06:48 AM
)@PeterBartholomew1 It's basically like a sporting result... 2-4 is the actual value(result), the others are types for the exact result - the colors are not fixed, can be anyfor example:result 2-4 - cells where the values 2-4= 100%matchcells where the type is for example 5-1 wrong type cells where the type is for example 3-4 correct type (colour coded
May 18 2022 06:49 AM