To lock headers in place, you’ll turn on Freeze Panes. But in order for it to work correctly, you have to highlight the correct cell:
1. To lock only column headers in place, select the cell in column A directly below the headings. In our example below, you would select the cell circled in red, A4, then go to Window > Freeze Panes to lock rows 1 – 3 in place, leaving the column headers in place while you scroll down through your data.
2. To lock only row headers in place, select the cell in row 1 directly to the right of the headings. In our example, select the cell in blue, B1, then go to Window > Freeze Panes to lock column A in place, leaving the Names column in place while you scroll through your data to the right.
3. To lock both column headers and row headers in place, select the cell below and to the right of the headers. In our example, select the cell in green, B4, then go to Window > Freeze Panes to lock column A and rows 1 – 3 in place. When you move right, column A will remain locked. When you move down, rows 1 – 3 will remained locked.
If you need to turn Freeze Panes off, just go back to Window > Unfreeze Panes. The keyboard shortcut both to turn on and off Freeze Panes is Alt+W, F.
Rotate Text
a.k.a. How can I place my headers on an angle?
Using the same data set as above, let’s say that you want to make your table look a little fancier. Or maybe your column headers are waaaaaay wider than the rest of the data in that column. For either issue, you can rotate your text so that it's on an angle, or even completely vertical! Here’s how:
1. Select the cells with the text you want to rotate. 2. Go to Format > Cells (keyboard shortcut: Ctrl+1). 3. Move to the Alignment tab. 4. See the Orientation area on the right? Grab the little red diamond and move it so that the text is oriented the way you want your text to be oriented. 5. Click OK. Voila!
AutoFill
a.k.a. How can I easily copy a formula down a column?
a.k.a. How can I easily complete my series of months, days, dates, etc.?
Using the above example again, you’ve got Sales in one column and Cost of Sales in another. Now you want to figure out Gross Margin, which is just Sales – Cost of Sales. If have you have 300 rows of data, you do not want to retype this formula for each row! We often see folks who know how to copy the formula down using the fill handle (below), but did you know that if you double-click the fill handle, it will automatically copy the formula down to the last row of the data to the left? (This is where we get a “Cool!†response.)
Comments
[...] Rotate headers in Excel
[...] Rotate headers in Excel April 9th, 2007 by Joshua Lewis While searching around for tips that I havent discovered yet, I came across an interesting article from Texxors, showing you how to rotate your Excel headers. Using the same data set as above, let’s say that you want to make your table look a little fancier. Or maybe your column headers are waaaaaay wider than the rest of the data in that column. For either issue, you can rotate your text so that’s it on an angle, or even completely vertical! Here’s how: [...]