Sample Data
A simple table of names and scores to apply alternating row colors.
| Cell | Value |
|---|---|
| A1 | Name |
| B1 | Score |
| A2 | Alice |
| B2 | 85 |
| A3 | Bob |
| B3 | 90 |
| A4 | Charlie |
| B4 | 78 |
| A5 | Diana |
| B5 | 92 |
A simple table of names and scores to apply alternating row colors.
| Cell | Value |
|---|---|
| A1 | Name |
| B1 | Score |
| A2 | Alice |
| B2 | 85 |
| A3 | Bob |
| B3 | 90 |
| A4 | Charlie |
| B4 | 78 |
| A5 | Diana |
| B5 | 92 |
=ISEVEN(ROW())A B 1 | Name | Score | 2 | Alice | 85 | <-- ROW() returns 2 here 3 | Bob | 90 | 4 | Charlie| 78 | 5 | Diana | 92 |
A B 1 | Name | Score | 2 | Alice | 85 | <-- Row 2 colored (even) 3 | Bob | 90 | 4 | Charlie| 78 | <-- Row 4 colored (even) 5 | Diana | 92 |