austinandrei
Board Regular
- Joined
- Jun 7, 2014
- Messages
- 117
Hi,
Can it be possible to have a quick way to have an alternating color pattern in excel rows depending on the cell value?
Say I have these examples from Cell A1 to A9 with A1 as the header:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]THIS IS THE HEADER IN CELL A1[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]10000123[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]10000123[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]27298951-000001[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]30004240[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]30004240[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]30004240[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]50000495[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]50000495[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Then Cell A2 to A3 will have the 1st color pattern then Cell A4 will have the 2nd color pattern then Cells A5 to Cell A7 will have again the 1st color pattern then Cell A8 to A9 will have the 2nd color pattern, thus alternating colors for duplicate cell values in Column A. Data will be sorted first as always, thus duplicate values will always stick together to have the same color pattern.
Thanks in advance for the help!
Can it be possible to have a quick way to have an alternating color pattern in excel rows depending on the cell value?
Say I have these examples from Cell A1 to A9 with A1 as the header:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]THIS IS THE HEADER IN CELL A1[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]10000123[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]10000123[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]27298951-000001[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]30004240[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]30004240[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]30004240[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]50000495[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]50000495[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Then Cell A2 to A3 will have the 1st color pattern then Cell A4 will have the 2nd color pattern then Cells A5 to Cell A7 will have again the 1st color pattern then Cell A8 to A9 will have the 2nd color pattern, thus alternating colors for duplicate cell values in Column A. Data will be sorted first as always, thus duplicate values will always stick together to have the same color pattern.
Thanks in advance for the help!