Create and format tables
You can create and format a table, to visually group and analyze data.
Select a cell within your data.
Select Home > Format as Table.
Choose a style for your table.
In the Format as Table dialog box, set your cell range.
Mark if your table has headers.
Select OK.
Source: Microsoft