Format data as a table with a header row in Excel
Excel · Windows, Mac · Last updated
Part of training module 6: Accessible workbooks in Excel
A formatted Excel table with a header row tells screen readers which cells are column headings, so people can follow the data without losing their place.
Steps
Excel for Windows
- Click any cell inside your data. The data should have one row of column headings at the top, with no blank rows or columns inside it.
- Select the Insert tab, then select Table.
- Check that the range shown is correct. Tick My table has headers, then select OK.
- Select the table, then open the Table Design tab.
- In Table Style Options, make sure Header Row is ticked.
- Type a short, unique label in each header cell. Do not leave any header blank.
Excel for Mac
- Click any cell inside your data.
- Select Insert, then Table, and tick My table has headers before you confirm.
- Open the Table tab and check that Header Row is ticked.
- Make sure every header cell has a label.
Check it worked
- Run the Accessibility Checker. It should not report missing table headers: see Check a workbook with the Accessibility Checker in Excel.
- Click in the table. The Table Design tab (Windows) or Table tab (Mac) should appear.
- Read down the first row. Every column should have its own distinct heading.
Common mistakes
- Making data look like a table with borders and shading only. Excel does not treat it as a table, so assistive technology gets no header information.
- Leaving a header cell empty, or giving two columns the same name.
- Putting a title row above the headings inside the table range. Keep titles outside the table, for example in cell A1.
- Using more than one row of headings. Keep to a single header row: see Decide when to use a table and how to keep it simple.
Related guides
The same task in other applications
- Tag merged cells and complex tables in Acrobat
- Mark table header cells and scope with the Table Editor in Acrobat
- Decide when to use a table and how to keep it simple
- Set table header rows in InDesign
- Set a table header row in PowerPoint
- Add alt text to a table in Word