Hello, I am trying to use conditional formatting to make a Gantt chart. I need to color the number of quarters in each row based on the StartQtr and NbrQtrs. I know how to do one column based on the starting quarter, but I don't know how to do multiple columns based on the number of quarters. Any suggestions?
StartQtr | EndQtr | QtrDiff | YrDiff | NbrQtrs | 1Q23 | 2Q23 | 3Q23 | 4Q23 | 1Q24 | 2Q24 | 3Q24 | 4Q24 |
1Q23 | 1Q23 | 0 | 0 | 1 | ||||||||
2Q23 | 4Q23 | 2 | 0 | 3 | ||||||||
1Q24 | 4Q24 | 3 | 0 | 4 | ||||||||
1Q23 | 4Q24 | 3 | 1 | 8 | ||||||||
3Q23 | 3Q24 | 0 | 1 | 5 | ||||||||
4Q24 | 2Q25 | -2 | 1 | 3 | ||||||||
4Q24 | 1Q25 | -3 | 1 | 2 | ||||||||
4Q23 | 3Q26 | -1 | 3 | 12 | ||||||||
3Q23 | 2Q27 | -1 | 4 | 16 | ||||||||
4Q23 | 2Q26 | -2 | 3 | 11 | ||||||||
4Q23 | 1Q25 | -3 | 2 | 6 | ||||||||
4Q23 | 4Q26 | 0 | 3 | 13 | ||||||||
4Q23 | 3Q24 | -1 | 1 | 4 |