Sub topic 6
Styling the table and banded rows
A table's appearance is separate from its data. Google Sheets gives a table a header style, optional alternating row colors (banding), and a color theme. This chapter covers how those settings work, how they interact with manual formatting, and what to do when the colors don't look the way you expect.
This chapter assumes you have converted a range to a table, as covered in the earlier chapters. It also assumes you know how to apply a fill color and a number format to selected cells. The menu labels below match current Google Sheets. Google updates the table interface often, so a label may differ slightly in your account.
What table styling includes
A converted table gets three visual treatments by default:
- A styled header row, usually with a colored fill and bold text.
- Banded rows, which shade every other body row so your eye can follow a record across the columns.
- Column controls, such as the dropdown arrow in each header cell and the small type icon.
Only the first two are decoration. The column controls are part of the table's structure and are covered in the chapters on anatomy and column types.
The key idea is that styling belongs to the table, not to individual cells. When you add a row at the bottom, the new row picks up the table's banding without any copying of formats. This is a main practical difference from a plain range, where you format each new row yourself or rely on formats being carried down.
| Behavior | Plain range | Table |
|---|---|---|
| Header styling | Applied by hand to the header cells | Applied by the table |
| Alternating colors | Format > Alternating colors, on a fixed range | Table setting that follows the table's size |
| New row below the data | Does not get the shading unless you extend the range | Joins the table and takes the banding |
| Colors after a sort | Fill moves with the cells if applied by hand | Banding stays tied to row position |
Finding the styling settings
Click any cell inside the table. The table name appears above the header, with a dropdown arrow beside it. Open the table menu from that arrow, or right-click inside the table, and look for the option that edits the table. A side panel opens with the table's settings.
In that panel you can:
- Change the table's color theme.
- Turn alternating row colors on or off.
- Review the table's range and column types.
Use the panel instead of selecting cells and filling them. If you fill the header cells yourself, you create a manual override. It works, but it no longer follows the table's theme if you change the theme later.
Banded rows
Banding shades alternate body rows. In a table with the sample data from earlier chapters, rows 1001 and 1003 take one shade and row 1002 takes another.
Order ID | Customer | Order Date | Amount | Paid
1001 | Acme | 2026-01-05 | 250 | TRUE
1002 | Globex | 2026-01-09 | 480 | FALSE
1003 | Initech | 2026-01-12 | 125 | TRUEBanding helps when a table is wide, because your eye has to travel a long way from the first column to the last. It matters less for a table with three or four narrow columns. Turn it off if you want a plain look, or if you are using your own fills to carry meaning, such as red for unpaid orders. Two shading schemes laid over each other are hard to read.
Banding follows position, not data
Banding is based on the row's position in the visible table. It does not belong to the record. Three situations show the difference:
- Sorting. When you sort by Amount, the records change places, but the shading stays with the positions. The first body row is always the first shade. A record that was shaded before the sort may be unshaded after it.
- Filtering. When you filter out some rows, the remaining visible rows are what you see, and the pattern stays consistent. Check this in your own sheet, because behavior for hidden rows can differ between banding and manual fills.
- Inserting a row. A new row in the middle of the table takes its position's shade, and the rows below it shift their shade by one step.
The consequence is simple. If a color needs to mean something about the record, banding is the wrong tool. Use conditional formatting for that, which is covered below.
How the layers combine
Several formatting sources can apply to the same cell. In practice they combine in this order of strength:
- Conditional formatting rules, when a rule's condition is true for the cell.
- Manual fills and text formats applied to the cell.
- The table's own header style and banding.
- The sheet's default appearance.
This order explains most "why is this cell the wrong color" questions. If a cell stays a stubborn shade while the table's banding changes around it, a manual fill or a conditional rule is sitting on top of the table style. Select the cell and use Format > Clear formatting to remove the manual fill. Check Format > Conditional formatting for rules that cover the cell.
Marking records with conditional formatting
To color a record by its content, use a conditional formatting rule on the table's body cells. This keeps the table's banding underneath and adds meaning on top.
For example, to shade unpaid orders in the sample table, select the body cells from the first data row down to the last, and open Format > Conditional formatting. Choose "Custom formula is" and enter a formula in ordinary A1 notation. If the table begins at A1, the first body row is row 2 and Paid is in column E:
=$E2=FALSEThe dollar sign locks the column, so every cell in the row checks column E. The row number is relative, so each row checks its own Paid value. Then choose a light red fill.
Conditional formatting rules refer to cells by A1 address. Don't assume a rule can use a structured reference such as Orders[Paid]. Test it before relying on it. Also confirm that the rule's range grows with the table. After adding a row, check that the new row is shaded when its Paid value is unchecked. If it isn't, edit the rule's range to cover the full column.
Header styling
The header row carries the column names, so it should stay easy to read. Keep these points in mind:
- Leave the header text bold, or at least visually different from the body. Learners and readers scan the header first.
- Keep contrast high between the header text and its fill. Dark text on a pale fill, or white text on a dark fill, both work. Mid-tone fills with mid-tone text do not.
- Avoid merging header cells or adding a title row above the header inside the table. A table has one header row, and the header cells must hold unique, non-empty column names. Put titles outside the table, in the rows above it.
If you want a frozen header so it stays visible while scrolling, use View > Freeze > 1 row. This only works when the table's header is in the top row of the sheet. A table that starts lower down still shows its column names while scrolling in recent versions of Sheets, but check that behavior in your own sheet and don't rely on it for older files.
Column formats are separate from the theme
Column types set what a column holds, such as a date, a number, or a checkbox. Number formats such as currency or decimal places are cell formats, and you apply them the usual way. They are independent of banding.
A worked example with the Amount column:
- Click the Amount header's column in the table and select the body cells.
- Choose Format > Number > Currency.
- Check that the banding still shows and the values display as currency.
Because banding and number format are separate layers, setting one never removes the other. If you add a new row, the column's type and format normally carry into the new row. If a new row shows a raw number where the rest show currency, apply the format to the whole column body again.
A formula like this one still reads the underlying number, not its display:
=SUM(Orders[Amount])The currency symbol, decimal places, and fill color change how the number looks. They do not change the value that SUM adds up.
Common styling problems
| Symptom | Likely cause | What to do |
|---|---|---|
| Banding does not appear | Alternating colors are off, or a manual fill covers the cells | Turn banding on in the table settings. Clear manual fills with Format > Clear formatting. |
| Two shading patterns overlap | The range had Format > Alternating colors applied before conversion | Remove the old alternating colors from the sheet's formatting, then rely on the table's banding. |
| A new row looks different from the rows above | Manual formatting in the old rows was not carried to the new row | Clear the manual formats and use table styling and conditional rules instead. |
| A color stays after a sort | A manual fill moved with its cell, while banding stayed in place | Use conditional formatting if the color describes the record. |
| Header text is hard to read | Fill and text colors have similar brightness | Choose a different theme or adjust the header text color. |
The second row of the table is the most common surprise. Conversion does not remove formatting that was already there. If the original range used Format > Alternating colors, that rule can remain and fight with the table's banding. Remove one of them.
Choosing a style
Treat the style as a communication choice, not a decoration choice.
- Use banding on wide tables and on tables people read line by line.
- Skip banding on narrow tables, or when your own colors mark meaning.
- Prefer conditional formatting over manual fills whenever a color depends on a value.
- Keep one theme per workbook so readers learn what a header looks like.
- Check printed or shared copies. Pale band colors can disappear on a poor printer or a projector.
Exercise
A table has banding on. You sort it by Amount, descending, and notice that the unpaid order you had colored by hand with a red fill is now in a different position and surrounded by different band shades. You want unpaid orders to be red regardless of sort order or new rows. What should you do, and why does it work?
Show answer
Remove the manual red fills with Format > Clear formatting, then add a conditional formatting rule over the table's body cells with a custom formula such as =$E2=FALSE, assuming Paid is in column E and the first body row is row 2. The rule evaluates each row's Paid value, so the red follows the record through sorts and applies to new rows once the rule's range covers them. The table's banding continues underneath because conditional formatting has a higher priority than the band shade.
Exercise
You converted a range that already had Format > Alternating colors applied. After conversion you see two overlapping shading patterns. Name the cause and one fix.
Show answer
The old alternating colors rule was not removed by the conversion, so it still applies on top of the table's own banding. Remove the old alternating colors from the sheet's formatting, either by deleting that rule or by clearing formatting on the body cells, and then keep only the table's banding. Alternatively, turn off the table's banding if you prefer the old rule.