tennisplayer
New Member
- Joined
- Dec 4, 2010
- Messages
- 11
On VBA, how do you make half a graph one color and the other half of the same graph a different color?
Excel Workbook | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Name | Data | Plot1 | Plot2 | ||
2 | a | 152 | 152 | #N/A | ||
3 | b | 50 | 50 | #N/A | ||
4 | c | 34 | 34 | #N/A | ||
5 | d | 56 | #N/A | 56 | ||
6 | e | 198 | #N/A | 198 | ||
7 | f | 115 | #N/A | 115 | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C2 | =IF(ROW()-1<=COUNTA($A$2:$A$7)/2, B2, NA()) | |
D2 | =IF(ROW()-1>COUNTA($A$2:$A$7)/2, B2, NA()) |