You can use diagonal borders to create a heading for the column labels and a heading for the row labels in the same Excel cell. For example, say you want to place the headings for the Regions column and the Sales columns in cell A3, as shown in Figure A. Follow these steps:
- Select cell A3.
- Press the spacebar eight times.
- Type Sales.
- Press [Alt][Enter] twice.
- Type Regions.
- Press [Ctrl][Enter].
- In Excel 2007, click on the Home tab, then click the drop-down arrow of the Borders button in the Font group.
- Click More Borders at the bottom of the list.
- Click the Border tab, and then click the lower right-hand icon in the Border section.
- Click OK.
If the word Sales is too close to the diagonal border, click before Sales in the formula bar, and press the spacebar a few more times.Miss an Excel tip?
Check out the Microsoft Excel archive, and catch up on other Excel tips.
Help users increase productivity by automatically signing up for TechRepublic's free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.