What a table is and why you want one

An Excel table is a formatted range of data that Excel treats as a single unit. Once you convert raw data into a table, Excel adds filter buttons to each column header, lets you sort and search without affecting other parts of your sheet, and automatically extends formulas down when you add new rows. Tables also make it easier to reference your data in charts and pivot tables.

The difference between a table and plain cells is practical: if your data sits in regular cells and you sort column A, you have to manually select and sort every other column at the same time or your rows get scrambled. In a table, sorting one column keeps all rows together automatically.

Key Takeaways

  • Select your data range including headers, then use the Format as Table button on the Home tab to convert it in one click.
  • Excel will ask you to confirm the data range and whether your first row contains headers — make sure both are correct before confirming.
  • Once created, your table gets filter dropdown arrows in the header row and a unique name you can reference in formulas.
  • You can change the table's appearance later using the Table Design tab, which appears only when you click inside the table.

Select your data before you create the table

Start by clicking on the first cell of your data — usually the top-left cell that contains a header or the first data point. Then drag to select all the data you want in the table, or click the first cell and then hold Shift and click the last cell in your range. Your selection must include all columns and rows you want in the table, but it does not have to include empty rows below your data.

If your data has headers in the first row (like "Name", "Date", "Amount"), include them in your selection. Excel will recognize them as headers and add filter buttons. If your data does not have headers, Excel will create generic ones like "Column1" and "Column2", which you can rename later.

Open the Format as Table menu

With your data selected, go to the Home tab at the top of the ribbon. Look for the Format as Table button — it usually shows a small table icon and sits in the Styles group on the right side of the ribbon. Click the dropdown arrow next to it to see a list of table styles with different colors and formatting options.

Pick any style you want. The style only changes how the table looks; it does not change how the table works. You can change the style later without losing any data or formulas, so do not worry about choosing perfectly now.

Confirm your range and headers

After you click a style, a dialog box appears asking you to confirm the data range. The range shown should match what you selected — for example, A1:D50. Below that, there is a checkbox labeled "My table has headers". Check this box if your first row contains column names. Leave it unchecked if your first row is data, not headers.

Review both settings carefully. If the range is wrong, you can edit it directly in the text field. Once everything looks correct, click OK. Excel creates the table and adds filter dropdown arrows to each header cell.

Use your table's filter and sort features

Now that your data is a table, click any dropdown arrow in the header row to filter or sort. You can sort A to Z, Z to A, by date, or by value. You can also uncheck items to hide rows that do not match your criteria — for example, hiding all rows where the Status column says "Inactive". The hidden rows are still there; they just do not display.

When you filter a table, Excel shows only the rows that match your choices and hides the rest. If you add a new row of data below your table, Excel automatically extends the table to include it and applies the same formatting. If you type a formula in a column, Excel copies it down to all rows in that column without you having to drag it.

Change the table name and style later

Click anywhere inside your table to make the Table Design tab appear on the ribbon. From here, you can change the table style by clicking a different design, or rename the table by typing a new name in the Table Name field on the left. Table names are useful if you write formulas that reference the table — instead of writing =SUM(A2:A100), you can write =SUM(MyTable[Amount]) and the formula updates automatically if rows are added or removed.

To remove table formatting and turn it back into regular cells, right-click the table, select Table, and then click Convert to Range. This keeps all your data and formatting but removes the filter buttons and automatic formula extension.

Frequently Asked Questions

Can I add or delete rows and columns after I create a table?

Yes. If you add a new row at the bottom, Excel extends the table automatically. To add a column, right-click the table, select Table, and click Insert Table Columns to the Right or Left. To delete a row or column, right-click it and select Delete.

What if I select the wrong range when I create the table?

Click inside the table to show the Table Design tab, then click Resize Table. A dialog appears where you can type the correct range. You can also manually drag the table's corner to resize it, though typing the range is more precise.

Do I have to use a table, or can I just sort and filter regular cells?

You can sort and filter regular cells, but you have to select all the data each time and be careful not to separate rows. Tables do this automatically. Tables also make it easier to write formulas that reference your data and to create charts.

Can I convert a table back to regular cells without losing data?

Yes. Right-click the table, select Table, and click Convert to Range. All your data stays, but the filter buttons disappear and formulas no longer extend automatically to new rows.

What is the difference between a table and a pivot table?

A table is a formatted range that keeps your original data organized and filterable. A pivot table is a separate summary that groups and counts your data in new ways. You often create a pivot table from a regular table, but they serve different purposes.