Select the range of cells for the table. Click the Insert tab, and then click the Table button.
Click the Home tab, click the Format as Table button, and then select a table style.
Select the My table has headers check box.