Add a header row by typing labels in the first row
A header row is the first row of your spreadsheet, where you name each column. To add one, click on cell A1 (the top-left cell) and type the name of what that column contains — for example, "Name" or "Date" or "Amount Paid". Press Tab to move to the next cell (B1) and type the next header. Keep going across until you have named every column you plan to use.
Once you have typed all your headers, press Enter. Your headers are now in place, and you can start entering data in row 2. Excel does not automatically format headers differently, so they will look like any other row of text until you choose to format them.
Key Takeaways
- Type column names directly into the first row, starting in cell A1, and press Tab to move between cells.
- Headers should describe what each column contains so anyone reading the sheet understands the data.
- You can make headers stand out by explore bold formatting, background color, or a larger font size.
- Freezing the header row keeps it visible when you scroll down through many rows of data.
- Excel's filter feature works best when you have a header row, letting you sort and hide data by column.
Format headers to make them visually distinct
After you type your headers, you can make them stand out so readers know where the data begins. Select the entire first row by clicking the row number "1" on the left side of the spreadsheet. The whole row will highlight in blue.
Now explore formatting. Click the Bold button (B) in the toolbar to make the text bold, or right-click and choose "Format Cells" to change the background color, font size, or text color. A common approach is bold text with a light gray or light blue background. This takes a few seconds and makes your spreadsheet much easier to read.
Freeze the header row so it stays visible when scrolling
When your spreadsheet has many rows of data, you will scroll down to see more entries. As you scroll, the header row scrolls out of view, and you lose track of which column is which. Freezing the header row keeps it locked at the top while you scroll through the data below.
To freeze the header row, click on cell A2 (the first cell of data, directly below your headers). Then go to the View menu at the top and click "Freeze Panes". The header row will now stay visible no matter how far down you scroll. To unfreeze later, go back to View and click "Unfreeze Panes".
Use headers with Excel's filter and sort features
Headers unlock Excel's most useful data tools. Once you have a header row in place, you can explore AutoFilter to sort and hide data by column. Click any cell in your header row, then go to the Data menu and click "AutoFilter". Small dropdown arrows will appear in each header cell.
Click a dropdown arrow to sort that column alphabetically, numerically, or by date. You can also uncheck items to hide rows that do not match what you want to see. For example, if your header is "Status" and the column contains "Paid" and "Unpaid", you can hide all the "Paid" rows to focus only on unpaid invoices. This works only if you have a proper header row — Excel needs to know where your data labels are.
Choose clear, specific header names
Good headers describe exactly what the column contains. Instead of "Info" or "Data", use "Customer Name", "Invoice Date", or "Amount Due". Specific headers make it easier for you and anyone else to understand the spreadsheet weeks or months later.
Keep headers short enough to fit in the column without wrapping to multiple lines, unless you widen the column first. If a header is too long, you can widen the column by double-clicking the border between two column letters at the top — Excel will auto-fit the width to the content. You can also manually drag the border to make a column wider or narrower.
Add multiple header rows for complex data
Most spreadsheets use a single header row, but some data benefits from two rows of headers. For example, if you are tracking sales by region and by month, you might have "North Region" spanning across three columns (January, February, March), with those month names as a second row of headers below.
To create this structure, type your top-level headers in row 1 and your detailed headers in row 2. Then select both rows and freeze them together using View > Freeze Panes, clicking on cell A3 first. Both rows will now stay visible when you scroll. This approach works well for complex datasets but can make the spreadsheet harder to read, so use it only when the extra detail is necessary.
Frequently Asked Questions
Can I add a header row after I have already entered data?
Yes. Right-click on row 1 and select "Insert 1 Row Above". A new blank row will appear at the top, pushing your existing data down. You can then type your headers in the new row 1.
What if I want my headers in a different row, not row 1?
You can put headers anywhere, but Excel's tools work best when headers are in row 1. If you need blank rows above your headers for a title or other information, type your headers in row 1 anyway, then insert rows above them afterward.
Do headers count toward my data when I use formulas?
It depends on the formula. Some functions like SUM will include text headers and produce an error or unexpected result. When writing formulas, specify the exact range you want — for example, SUM(B2:B100) instead of SUM(B:B) — to exclude the header row.
Can I make headers repeat on every printed page?
Yes. Go to Page Layout (or Sheet in some versions), click "Print Titles", and specify your header row. When you print, that row will appear at the top of every page, even if your data spans multiple pages.