Excel: Color every second line - how it works
Related Videos: How To Shade Every Other Line in Excel with Conditional Formatting (May 2024).
With the help of conditional formatting, you can easily color every other line gray or in any color in Excel. We'll show you how it works.
Excel: Color every other line
- Mark the area in which you want to color every second cell.
- Under Start, click Conditional Formatting and choose New Rule.
- Click "Use formula to determine cells to format".
- Enter the formula "= REST (ROW (); 2) = 0" or "= REST (COLUMN (); 2) = 0" in the corresponding field, depending on whether you have selected a range over several rows or columns to have. The formula returns "TRUE" if the number of the row or column is divisible by 2 with no remainder.
- Click "Format". Under "Fill in" you can choose the desired color. Confirm with OK".
- Confirm the second window with "OK".
- You can change or delete formatting rules via "Conditional formatting"> "Manage rules".
On the next page we show you the 5 best add-ins for Excel.