Create table with data in excel

Create and format tables

Create and format a table to visually group and analyze data.

Note: Excel tables shouldn’t be confused with the data tables that are part of a suite of What-If Analysis commands (Forecast, on the Data tab). See Introduction to What-If Analysis for more information.

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.

Try it!
 

  1. Select a cell within your data.

  2. Select Home > Format as Table.

  3. Choose a style for your table.

  4. In the Create Table dialog box, set your cell range.

  5. Mark if your table has headers.

  6. Select OK.

  1. Insert a table in your spreadsheet. See Overview of Excel tables for more information.

  2. Select a cell within your data.

  3. Select Home > Format as Table.

  4. Choose a style for your table.

  5. In the Create Table dialog box, set your cell range.

  6. Mark if your table has headers.

  7. Select OK.

To add a blank table, select the cells you want included in the table and click Insert > Table.

To format existing data as a table by using the default table style, do this:

  1. Select the cells containing the data.

  2. Click Home > Table > Format as Table.

  3. If you don’t check the My table has headers box, Excel for the web adds headers with default names like Column1 and Column2 above the data. To rename a default header, double-click it and type a new name.

Note: You can’t change the default table formatting in Excel for the web.

Want more?

Overview of Excel tables

Video: Create and format an Excel table

Total the data in an Excel table

Format an Excel table

Resize a table by adding or removing rows and columns

Filter data in a range or table

Convert a table to a range

Using structured references with Excel tables

Excel table compatibility issues

Export an Excel table to SharePoint

Need more help?

Microsoft Excel is convenient for creating tables and doing calculations. Its working area is a set of cells to be filled with data. Consequently, the data can be formatted, used for building graphs, charts, summary reports.

For a beginner, working with tables in Excel may seem complicated at the first glance. It is differs considerably from the principles of table construction in Word. However, let us start from the very basics: creating and formatting tables. By the time you reach the end of this article, you will understand there is no better tool for creating tables than Excel.



Creating a table in Excel: a dummy’s guide

Working with Excel tables for dummies does not tolerate haste. There are different ways to create a table for a specific purpose, and each of them has its advantages. Therefore, let us start with assessing the situation visually.

Look carefully at the work sheet of the table processor:

table processor.

It is a set of cells in columns and rows. Essentially, it’s a table. The columns are marked with letters. The rows are designated with numbers. There are no borders.

First of all, let’s learn to work with cells, rows and columns.

How to select a column and a row

To select the entire column, left-click on the letter that marks it.

select the entire column.

To select a row, click on the number it’s designated with.

select a row.

To select several columns or rows, left-click on the name, hold down the button and drag the pointer.

To select a column with the help of hot keys, place the cursor in any cell of the column and press Ctrl + Space. The key combination Shift + Space is used to select a row.

How to resize cells

If your information does not fit in the table, you need to resize the cells.

  1. You can move them manually by grabbing the cell boundary with the left mouse button.
  2. grabbing.

  3. If the cell contains a long word, you can double-click on the boundary of the column/row. The program will expand its boundary automatically.
  4. boundary automatically.

  5. If you need to increase the height of a row preserving the column width, use the button «Wrap Text» in the tool bar.

Wrap Text.

To change the column width and the row height in a certain range, resize 1 column/row (by dragging its boundaries manually) – and all the selected columns and rows will be resized automatically.

selected columns.

Important note. To go back to the previous size, you can press the «Undo Typing» button or the hot-key combination CTRL+Z. However, it works only if used immediately. Later on, it will not help.

To bring the rows to their initial boundaries, open the tool menu: «HOME»-«Format» and choose «AutoFit Row Height».

AutoFit Row Height.

This method does not work for columns. Click «Format» — « AutoFit Row Width» Memorize this number. Select any cell in the column that needs to go back to the initial size. Click «Format» — «Column Width» again and enter the value suggested by the program (as a rule, it’s 8.43 – the number of characters in the Calibri font, size 11 pt). OK.

How to insert a column or row

Select the column/row to the right of/below the place where the insertion needs to be made. That is, the new column will appear to the left of the selected cell. The new row will be pasted above it.

Right-click on the cell and select «Insert» in the drop-down menu (or hit the hot-key combination CTRL+SHIFT+»=»).

drop-down menu.

Select «Entire column» and press OK.

Hint. To insert a new column quickly, select a column in the desired position and hit CTRL+SHIFT+PLUS.

All these skills will come handy when building a table in Excel. You will need to resize the cells and insert rows/columns in the process.

Creating a table with formulas step by step

  1. Fill in the header manually by entering the column headings. Fill in the rows by entering your data. Apply the acquired knowledge in practice: expand the column boundaries, adjust the row height.
  2. expand the column boundaries.

  3. To fill in the «Sum» column, place the cursor in its first cell. Enter «=». In such a way, we inform Excel: a formula will be here. Select the cell B2 (with the first price). Enter the multiplication symbol (*). Select the cell C2 (with the quantity). Press ENTER.
  4. formula.

  5. When you hover the pointer over the cell containing the formula, a small cross will appear in its bottom right corner. It points out the autocomplete marker. Grab it with the left mouse button and drag it to the end of the column. The formula will be copied into every cell.
  6. autocomplete marker.

  7. Designate the boundaries of your table. Select the range containing your data. Click the button «HOME»-«Border» (on the main page in the «Font» menu). And click «All Borders».

All Borders.

Now the column and row borders will be visible when you print the table.

The «Font» menu allows you to format the data in your Excel table the way you would do it in Word.

data in your Excel.

For example, change the font size and highlight the header in bold. You may also apply center alignment, word wrap, etc.



Creating a table in Excel: a step-by-step instruction

You already know the simplest way to create tables. However, Excel can offer a more convenient variant (in terms of the subsequent formatting and work with the data).

Let us construct a smart (dynamic) table:

  1. Go to the «INSERT» tab – the «Table» tool (or press the hot-key combination CTRL+T).
  2. CTRL+T.

  3. This will open a dialog window, in which you need to enter the data range. Check the box for a table with headings. Click OK. It’s no big deal if you don’t enter the proper range on the first try. The smart table is flexible, dynamic.

smart table.

Important note. You can also take an alternative route: start with selecting the range of cells, then press the «Table» button.

pricelist.

Now enter your data into the ready framework. If you need an additional column, place the cursor in the heading cell. Make the entry and press ENTER. The range will expand automatically.

expand automatically.

If you need additional rows, grab the autocomplete marker in the bottom right corner and drag it downward.

How to work with a table in Excel

With the release of new versions of the program, working with tables in Excel has become more interesting and dynamic. After a smart table has been formed on the spreadsheet, the tool «TABLE TOOLS» — «DESIGN» becomes available.

TABLE TOOLS.

Here you can name the table or resize it.

Various styles are available to you, as well as the opportunity to transform the table into a regular range or a consolidated sheet.

MS Excel dynamic electronic tables offer immense opportunities. Let us begin with the basic skills of data entry and autocompletion:

  1. Select a cell by clicking on it with the left mouse button. Enter the text/numeric value. Press ENTER. If you need to change the value, place the cursor in the cell again and enter the new data.
  2. When you enter a value repetitively, Excel will recognize it. You will only need to enter several symbols and press enter.
  3. enter several symbols.

  4. In a smart table, to apply a formula to the entire column, enter it in the first cell. The program will copy the formula in other cells automatically.
  5. SUM.

  6. To calculate the totals, select the column containing the values plus an empty cell for the future total and click the «Sum» button (the «Editing» tool group on the «HOME» tab, or press the hot-key combination ALT+»=»).

When you click on the little arrow to the right of every subheading in the header, you obtain access to the additional tools for working with the data in the table.

working with the data in the table.

Sometimes the user has to work with huge tables, in which you need to scroll several thousand rows to see the totals. Deleting the rows is not an option (you will still need the data later). However, you can hide them. To this end, use number filters (depicted in the image above). Uncheck the values that need to be hidden.


Download Article


Download Article

This wikiHow teaches you how to create a table of information in Microsoft Excel. You can do this on both Windows and Mac versions of Excel.

  1. Image titled Make Tables Using Microsoft Excel Step 1

    1

    Open your Excel document. Double-click the Excel document, or double-click the Excel icon and then select the document’s name from the home page.

    • You can also open a new Excel document by clicking Blank Workbook on the Excel home page, but you’ll need to input your data before continuing.
  2. Image titled Make Tables Using Microsoft Excel Step 2

    2

    Select your table’s data. Click the cell in the top-left corner of the data group you want to include in your table, then hold down Shift while clicking the bottom-right cell in the data group.

    • For example: if you have data in cells A1 down to A5 and over to D5, you would click A1 and then click D5 while holding Shift.

    Advertisement

  3. Image titled Make Tables Using Microsoft Excel Step 3

    3

    Click the Insert tab. It’s a tab in the green ribbon at the top of the Excel window. Doing so will display the Insert toolbar below the green ribbon.

    • If you’re on a Mac, make sure you don’t click the Insert menu item in your Mac’s menu bar.
  4. Image titled Make Tables Using Microsoft Excel Step 4

    4

    Click Table. This option is in the «Tables» section of the toolbar. Clicking it brings up a pop-up window.

  5. Image titled Make Tables Using Microsoft Excel Step 5

    5

    Click OK. It’s at the bottom of the pop-up window. Doing so will create your table.

    • If your data group has cells at the top of it that are dedicated to column names (e.g., headers), click the «My table has headers» checkbox before you click OK.
  6. Advertisement

  1. Image titled Make Tables Using Microsoft Excel Step 6

    1

    Click the Design tab. It’s in the green ribbon near the top of the Excel window. This will open a toolbar for your table’s design directly below the green ribbon.

    • If you don’t see this tab, click your table to prompt it to appear.
  2. Image titled Make Tables Using Microsoft Excel Step 7

    2

    Select a design scheme. Click one of the colored boxes in the «Table Styles» section of the Design toolbar to apply the color and design to your table.

    • You can click the downward-facing arrow to the right of the colored boxes to scroll through different design options.
  3. Image titled Make Tables Using Microsoft Excel Step 8

    3

    Review the other design options. In the «Table Style Options» section of the toolbar, check or uncheck any of the following boxes:

    • Header Row — Checking this box places column names in the top cell of the data group. Uncheck this box to remove headers.
    • Total Row — When enabled, this option adds a row at the bottom of the table that displays the total value of the right-most column.
    • Banded Rows — Check this box to color in alternating rows, or uncheck it to leave all rows in your table the same color.
    • First Column and Last Column — When enabled, these options make the headers and data in the first and/or last columns bold.
    • Banded Columns — Check this box to color in alternating columns, or uncheck it to leave all columns in your table the same color.
    • Filter Button — When checked, this box places a drop-down box next to each header in your table that allows you to change the data displayed in that column.
  4. Image titled Make Tables Using Microsoft Excel Step 9

    4

    Click the Home tab again. This will take you back to the Home toolbar. Your table’s changes will remain.

  5. Advertisement

  1. Image titled Make Tables Using Microsoft Excel Step 10

    1

    Open the filter menu. Click the drop-down arrow to the right of the header for the column whose data you want to filter. A drop-down menu will appear.

    • In order to do this, you must have both the «Header Row» and the «Filter» boxes checked in the «Table Style Options» section of the Design tab.
  2. Image titled Make Tables Using Microsoft Excel Step 11

    2

    Select a filter. Click one of the following options in the drop-down menu:

    • Sort Smallest to Largest
    • Sort Largest to Smallest
    • You may also have additional options such as Sort by Color or Number Filters depending on your data. If so, you can select one of these options and then click a filter in the pop-out menu.
  3. Image titled Make Tables Using Microsoft Excel Step 12

    3

    Click OK if prompted. Depending on the filter you choose, you may also have to select a range or a different type of data before you can continue. Your filter will be applied to your table.

  4. Advertisement

Add New Question

  • Question

    How do I resize the columns?

    Community Answer

    Place your mouse between the columns until the cursor changes into a double arrow pointing to the left and to the right. Left click and hold. Drag the mouse, while holding the left button, to the left to shrink or to the right to enlarge the column.

  • Question

    How do I change the width of a column in Excel?

    Community Answer

    If you go up to «Format,» and select «Width» you will be able to change the size.

  • Question

    How do I make a table in Excel fit the size of a paper?

    Community Answer

    In Excel 2013, click the «Page Layout» tab, then click the «Size» dropdown menu. Most printers use 8.5 x 11 inch paper.

See more answers

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

Advertisement

Video

  • If you no longer need the table, you can either delete it entirely or turn it back into a range of data on the spreadsheet page. To delete the table entirely, select the table and press your keyboard «Delete» key. To change it back to a range of data, right-click any of its cells, select «Table» from the popup menu that appears, and then select «Convert to Range» from the Table submenu. The sort and filter arrows disappear from the column headers, and any table name references in the cell formulas are removed. The column header names and the table formatting remain, however.

  • If you place your table so that the header for the first column is in the upper left corner of the spreadsheet (Cell A1), the column headers will replace the spreadsheet’s column headers when you scroll up. If you place the table anywhere else, the column headers will scroll out of view when you scroll up, and you’ll need to use Freeze Panes to keep them constantly displayed.

Thanks for submitting a tip for review!

Advertisement

About This Article

Article SummaryX

1. Open a file with data.
2. Select data for the table.
3. Click Insert.
4. Click Table.
5. Click OK.

Did this summary help you?

Thanks to all authors for creating a page that has been read 553,245 times.

Is this article up to date?

Like this post? Please share to your friends:
  • Create table in excel ssis
  • Create table in excel from data
  • Create table from excel file
  • Create table excel 2010
  • Create sql table from excel table