0
Is there a formula for chaining the colors of a table? I don’t want "normal" (e.g. red|white|red). What I want is whenever the name of a given cell is equal, then the background is color A, when the name of the cell is different then changes to color B, when the name changes again then the color returns to color A and so on.
Table example.
Teste X B A T -> cor A
Teste f s f g -> cor A
ALPHA f s f g -> cor B
ALPHA g g h r -> cor B
ALPHA f s f g -> cor B
Beta G A f g -> cor A
.......
The value to be compared is from the first column by the value of the first column of the previous column.
It is possible?
Yes. You can do this with code, but it will only have effect on your machine, although allowing your Excel to perform codes is dangerous.
– Reginaldo Rigo
How do I do it? You can give an example of the code?
– Kiotto
Go to the Macros menu -> Save Macro -> Ok. Make various style changes, colors, fills, etc. Go back to the Macros menu -> View Macros and see the code that Excel created for you. Create a new spreadsheet,.
– Reginaldo Rigo