You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Two rows of alternating colors?

Is it possible to create automatic alternating row colors that span two rows at a time? In other words, could rows 1 and 2 be light grey, then rows 3 and 4 be white, then rows 5 and 6 be light grey, and etcetera.?


Thank you for any help?

Posted on Nov 4, 2021 6:40 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 4, 2021 6:15 PM

Not quite 'automatically, but better than two at a time.


I've left the first row in its original colour, as it is a Header row on this table.

Start by selecting the first pair of rows to be filled with colour. Use the Format > Cell panel to place a colour fill in the selected cells.


Unless you are using a background colour behind the table, leave the 'white' rows formatted with 'No fill'.


Otherwise, select the nex

t two rows and set the fill control to 'White fill'



With the first four rows now filled with the desired colours, Select those four rows.

Then press option-command-C to copy the formats of the selected cells.


Now select all rows below the first four, and press option-command-V to paste the formats into the rest of the rows in the table



When you later add rows to the bottom of the table, those rows will adopt the format set for the last row.


After adding those new rows, select a set of four rows and press option-command-C to copy the formats, then select the rows to receive those format settings, and press option-command-V to paste them into the table.


Note: If I were extending the table above, I would select rows 6 to 9 to copy the format from, then choose row 10 to the last row I had added to the table for the paste action.


Regards,

Barry

1 reply
Question marked as Top-ranking reply

Nov 4, 2021 6:15 PM in response to bdaxon

Not quite 'automatically, but better than two at a time.


I've left the first row in its original colour, as it is a Header row on this table.

Start by selecting the first pair of rows to be filled with colour. Use the Format > Cell panel to place a colour fill in the selected cells.


Unless you are using a background colour behind the table, leave the 'white' rows formatted with 'No fill'.


Otherwise, select the nex

t two rows and set the fill control to 'White fill'



With the first four rows now filled with the desired colours, Select those four rows.

Then press option-command-C to copy the formats of the selected cells.


Now select all rows below the first four, and press option-command-V to paste the formats into the rest of the rows in the table



When you later add rows to the bottom of the table, those rows will adopt the format set for the last row.


After adding those new rows, select a set of four rows and press option-command-C to copy the formats, then select the rows to receive those format settings, and press option-command-V to paste them into the table.


Note: If I were extending the table above, I would select rows 6 to 9 to copy the format from, then choose row 10 to the last row I had added to the table for the paste action.


Regards,

Barry

Two rows of alternating colors?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.