Try it!
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.
Want more?
Create or delete an Excel table
Need more help?
Want more options?
Explore subscription benefits, browse training courses, learn how to secure your device, and more.
Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.
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
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
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
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
Click Table. This option is in the «Tables» section of the toolbar. Clicking it brings up a pop-up window.
-
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.
Advertisement
-
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
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
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
Click the Home tab again. This will take you back to the Home toolbar. Your table’s changes will remain.
Advertisement
-
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
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
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.
Advertisement
Add New Question
-
Question
How do I resize the columns?
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?
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?
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,274 times.
Is this article up to date?
Содержание
- Основы создания таблиц в Excel
- Способ 1: Оформление границ
- Способ 2: Вставка готовой таблицы
- Способ 3: Готовые шаблоны
- Вопросы и ответы
Обработка таблиц – основная задача Microsoft Excel. Умение создавать таблицы является фундаментальной основой работы в этом приложении. Поэтому без овладения данного навыка невозможно дальнейшее продвижение в обучении работе в программе. Давайте выясним, как создать таблицу в Экселе.
Таблица в Microsoft Excel это не что иное, как набор диапазонов данных. Самую большую роль при её создании занимает оформление, результатом которого будет корректное восприятие обработанной информации. Для этого в программе предусмотрены встроенные функции либо же можно выбрать путь ручного оформления, опираясь лишь на собственный опыт подачи. Существует несколько видов таблиц, различающихся по цели их использования.
Способ 1: Оформление границ
Открыв впервые программу, можно увидеть чуть заметные линии, разделяющие потенциальные диапазоны. Это позиции, в которые в будущем можно занести конкретные данные и обвести их в таблицу. Чтобы выделить введённую информацию, можно воспользоваться зарисовкой границ этих самых диапазонов. На выбор представлены самые разные варианты чертежей — отдельные боковые, нижние или верхние линии, толстые и тонкие и другие — всё для того, чтобы отделить приоритетную информацию от обычной.
- Для начала создайте документ Excel, откройте его и введите в желаемые клетки данные.
- Произведите выделение ранее вписанной информации, зажав левой кнопкой мыши по всем клеткам диапазона.
- На вкладке «Главная» в блоке «Шрифт» нажмите на указанную в примере иконку и выберите пункт «Все границы».
- В результате получится обрамленный со всех сторон одинаковыми линиями диапазон данных. Такую таблицу будет видно при печати.
- Для ручного оформления границ каждой из позиций можно воспользоваться специальным инструментом и нарисовать их самостоятельно. Перейдите уже в знакомое меню выбора оформления клеток и выберите пункт «Нарисовать границу».
Соответственно, чтобы убрать оформление границ у таблицы, необходимо кликнуть на ту же иконку, но выбрать пункт «Нет границы».
Пользуясь выбранным инструментом, можно в произвольной форме разукрасить границы клеток с данными и не только.
Обратите внимание! Оформление границ клеток работает как с пустыми ячейками, так и с заполненными. Заполнять их после обведения или до — это индивидуальное решение каждого, всё зависит от удобства использования потенциальной таблицей.
Способ 2: Вставка готовой таблицы
Разработчиками Microsoft Excel предусмотрен инструмент для добавления готовой шаблонной таблицы с заголовками, оформленным фоном, границами и так далее. В базовый комплект входит даже фильтр на каждый столбец, и это очень полезно тем, кто пока не знаком с такими функциями и не знает как их применять на практике.
- Переходим во вкладку «Вставить».
- Среди предложенных кнопок выбираем «Таблица».
- После появившегося окна с диапазоном значений выбираем на пустом поле место для нашей будущей таблицы, зажав левой кнопкой и протянув по выбранному месту.
- Отпускаем кнопку мыши, подтверждаем выбор соответствующей кнопкой и любуемся совершенно новой таблице от Excel.
- Редактирование названий заголовков столбцов происходит путём нажатия на них, а после — изменения значения в указанной строке.
- Размер таблицы можно в любой момент поменять, зажав соответствующий ползунок в правом нижнем углу, потянув его по высоте или ширине.
Таким образом, имеется таблица, предназначенная для ввода информации с последующей возможностью её фильтрации и сортировки. Базовое оформление помогает разобрать большое количество данных благодаря разным цветовым контрастам строк. Этим же способом можно оформить уже имеющийся диапазон данных, сделав всё так же, но выделяя при этом не пустое поле для таблицы, а заполненные клетки.
Способ 3: Готовые шаблоны
Большой спектр возможностей для ведения информации открывается в разработанных ранее шаблонах таблиц Excel. В новых версиях программы достаточное количество готовых решений для ваших задач, таких как планирование и ведение семейного бюджета, различных подсчётов и контроля разнообразной информации. В этом методе всё просто — необходимо лишь воспользоваться шаблоном, разобраться в нём и пользоваться в удовольствие.
- Открыв Excel, перейдите в главное меню нажатием кнопки «Файл».
- Нажмите вкладку «Создать».
- Выберите любой понравившийся из представленных шаблон.
- Ознакомьтесь с вкладками готового примера. В зависимости от цели таблицы их может быть разное количество.
- В примере с таблицей по ведению бюджета есть колонки, в которые можно и нужно вводить свои данные — воспользуйтесь этим.
Таблицы в Excel можно создать как вручную, так и в автоматическом режиме с использованием заранее подготовленных шаблонов. Если вы принципиально хотите сделать свою таблицу с нуля, следует глубже изучить функциональность и заниматься реализацией таблицы по маленьким частицам. Тем, у кого нет времени, могут упростить задачу и вбивать данные уже в готовые варианты таблиц, если таковы подойдут по предназначению. В любом случае, с задачей сможет справиться даже рядовой пользователь, имея в запасе лишь желание создать что-то практичное.
Еще статьи по данной теме:
Помогла ли Вам статья?
Содержание
- Overview of Excel tables
- Learn about the elements of an Excel table
- Create a table
- Working efficiently with your table data
- Export an Excel table to a SharePoint site
- Need more help?
- Create and format tables
- Try it!
- Excel table: end-to-end tutorial with examples
- What is a table in Excel?
- How to make a table in Excel
- 3 ways to create a table in Excel
- 10 most useful features of Excel tables
- 1. Integrated sorting and filtering options
- 2. Column headings are visible while scrolling
- 3. Easy formatting (Excel table styles)
- 4. Automatic table expansion to include new data
- 5. Quick totals (total row)
- 6. Calculating table data with ease (calculated columns)
- 7. Easy-to-understand table formulas (structured references)
- 8. One-click data selection
- 9. Dynamic charts
- 10. Printing only the table
- How to manage data in an Excel table
- How to convert a table to a range
- How to add or remove table rows and columns
- How to resize an Excel table
- How to select rows and columns in a table
- Selecting a table column or row
- Selecting an entire table
- Insert a slicer to filter table data in the visual way
- How to name a table in Excel
- To rename an Excel table:
- How to remove duplicates from a table
Overview of Excel tables
To make managing and analyzing a group of related data easier, you can turn a range of cells into an Excel table (previously known as an Excel list).
Note: Excel tables should not be confused with the data tables that are part of a suite of what-if analysis commands. For more information about data tables, see Calculate multiple results with a data table.
Learn about the elements of an Excel table
A table can include the following elements:
Header row By default, a table has a header row. Every table column has filtering enabled in the header row so that you can filter or sort your table data quickly. For more information, see Filter data or Sort data.
You can turn off the header row in a table. For more information, see Turn Excel table headers on or off.
Banded rows Alternate shading or banding in rows helps to better distinguish the data.
Calculated columns By entering a formula in one cell in a table column, you can create a calculated column in which that formula is instantly applied to all other cells in that table column. For more information, see Use calculated columns in an Excel table.
Total row Once you add a total row to a table, Excel gives you an AutoSum drop-down list to select from functions such as SUM, AVERAGE, and so on. When you select one of these options, the table will automatically convert them to a SUBTOTAL function, which will ignore rows that have been hidden with a filter by default. If you want to include hidden rows in your calculations, you can change the SUBTOTAL function arguments.
Sizing handle A sizing handle in the lower-right corner of the table allows you to drag the table to the size that you want.
For other ways to resize a table, see Resize a table by adding rows and columns.
Create a table
You can create as many tables as you want in a spreadsheet.
To quickly create a table in Excel, do the following:
Select the cell or the range in the data.
Select Home > Format as Table.
Pick a table style.
In the Format as Table dialog box, select the checkbox next to My table as headers if you want the first row of the range to be the header row, and then click OK.
Working efficiently with your table data
Excel has some features that enable you to work efficiently with your table data:
Using structured references Instead of using cell references, such as A1 and R1C1, you can use structured references that reference table names in a formula. For more information, see Using structured references with Excel tables.
Ensuring data integrity You can use the built-in data validation feature in Excel. For example, you may choose to allow only numbers or dates in a column of a table. For more information on how to ensure data integrity, see Apply data validation to cells.
If you have authoring access to a SharePoint site, you can use it to export an Excel table to a SharePoint list. This way other people can view, edit, and update the table data in the SharePoint list. You can create a one-way connection to the SharePoint list so that you can refresh the table data on the worksheet to incorporate changes that are made to the data in the SharePoint list. For more information, see Export an Excel table to SharePoint.
Need more help?
You can always ask an expert in the Excel Tech Community or get support in the Answers community.
Источник
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.
Try it!
Select a cell within your data.
Select Home > Format as Table.
Choose a style for your table.
In the Create Table dialog box, set your cell range.
Mark if your table has headers.
Insert a table in your spreadsheet. See Overview of Excel tables for more information.
Select a cell within your data.
Select Home > Format as Table.
Choose a style for your table.
In the Create Table dialog box, set your cell range.
Mark if your table has headers.
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:
Select the cells containing the data.
Click Home > Table > Format as Table.
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.
Источник
Excel table: end-to-end tutorial with examples
by Svetlana Cheusheva, updated on February 7, 2023
The tutorial shows how to insert table in Excel and explains the advantages of doing so. You will find a number of nifty features such as calculated columns, total row and structured references. You will also gain understanding of Excel table functions and formulas, learn how to convert table to range or remove table formatting.
Table is one of the most powerful Excel features that is often overlooked or underestimated. You may get along without tables just fine until you stumble upon them. And then you realize you’ve been missing an awesome tool that could save much of your time and make your life a lot easier.
Converting data to a table can spare you the headache of creating dynamic named ranges, updating formula references, copying formulas across columns, formatting, filtering and sorting your data. Microsoft Excel will take care of all this stuff automatically.
What is a table in Excel?
is a named object that allows you to manage its contents independently from the rest of the worksheet data. Tables were introduced in Excel 2007 as in improved version of Excel 2003 List feature, and are available in all subsequent versions of Excel 2010 through 365.
Excel tables provide an array of features to effectively analyze and manage data such as calculated columns, total row, auto-filter and sort options, automatic expansion of a table, and more.
Typically, a table contains related data that are entered in a series of rows and columns, though it can consist of a single row and/or column. The screenshot below shows a difference between a usual range and a table:
Note. An Excel table should not be confused with a data table, which is part of the What-If Analysis suite that allows calculating multiple results.
How to make a table in Excel
Sometimes, when people enter related data in a worksheet, they refer to that data as a «table», which is technically incorrect. To convert a range of cells into a table, you need to explicitly format it as such. As is often the case in Excel, there is more than one way to do the same thing.
3 ways to create a table in Excel
To insert a table in Excel, organize your data in rows and columns, click any single cell within your data set, and do any of the following:
- On the Insert tab, in the Tables group, click Table. This will insert a table with the default style.
On the Home tab, in the Styles group, click Format as Table, and select one of the predefined table styles.
Whatever method you choose, Microsoft Excel automatically selects the entire block of cells. You verify if the range is selected correctly, check or uncheck the My table has headers option, and click OK.
As the result, a nicely formatted table is created in your worksheet. At first sight, it may look like a normal range with the filter buttons in the header row, but there is much more to it!
- If you want to manage several independent data sets, you can make more than one table in the same sheet.
- It is not possible to insert a table in a shared file because the table functionality is not supported in shared workbooks.
10 most useful features of Excel tables
As already mentioned, Excel tables offer a number of advantages over normal data ranges. So, why don’t you benefit from the powerful features that are now only a button click away?
1. Integrated sorting and filtering options
Usually it takes a few steps to sort and filter data in a worksheet. In tables, filter arrows are automatically added in the header row and enable you to use various text and number filters, sort in ascending or descending order, by color, or create a custom sort order.
If you don’t plan to filter or sort your data, you can easily hide the filter arrows by going to the Design tab > Table Style Options group, and unchecking the Filter Button box.
Or, you can toggle between hiding and showing the filter arrows with the Shift+Ctrl+L shortcut.
Additionally, in Excel 2013 and higher, you can create a slicer to filter the table data quickly and easily.
2. Column headings are visible while scrolling
When you are working with a large table that does not fit on a screen, the header row always remains visible when you scroll down. If this doesn’t work for you, just be sure to select any cell inside the table before scrolling.
3. Easy formatting (Excel table styles)
A newly created table is already formatted with banded rows, borders, shading, and so on. If you don’t like the default table format, you can easily change it by selecting from 50+ predefined styles available in the Table Styles gallery on the Design tab.
Apart from changing table styles, the Design tab lets you turn the following table elements on or off:
- Header row — displays column headers that remain visible when you scroll the table data.
- Total row — adds the totals row at the end of the table with a number of predefined functions to choose form.
- Banded rows and banded columns — display alternate row or column colors.
- First column and last column — display special formatting for the first and last column of the table.
- Filter button — shows or hides filter arrows in the header row.
The screenshot below shows the default Table Style Options:
Table Styles tips:
- If the Design tab has disappeared from your workbook, just click any cell within your table and it will show up again.
- To set a certain style as the default table style in a workbook, right-click that style in the Excel Table Styles gallery and select Set As Default.
- To remove table formatting, on the Design tab, in the Table Styles group, click the More button in the bottom-right corner, and then click Clear underneath the table style thumbnails. For full details, see How to clear table formatting in Excel.
For more information, please see How to use Excel table styles.
4. Automatic table expansion to include new data
Usually, adding more rows or columns to a worksheet means more formatting and reformatting. Not if you’ve organized your data in a table! When you type anything next to a table, Excel assumes you want to add a new entry to it and expands the table to include that entry.
As you can see in the screenshot above, the table formatting is adjusted for the newly added row and column, and alternate row shading (banded rows) is kept in place. But it’s not just the table formatting that is extended, the table functions and formulas are applied to the new data too!
In other words, whenever you draw a table in Excel, it is a «dynamic table» by nature, and like a dynamic named range it expands automatically to accommodate new values.
To undo the table expansion, click the Undo button on the Quick Access Toolbar, or press Ctrl+Z like you usually do to revert the latest changes.
5. Quick totals (total row)
To quickly total the data in your table, display the totals row at the end of the table, and then select the required function from the drop-down list.
To add a total row to your table, right click any cell within the table, point to Table, and click Totals Row.
Or, go to the Design tab > Table Style Options group, and select the Total Row box:
Either way, the total row appears at the end of your table. You choose the desired function for each total row cell, and a corresponding formula is entered in the cell automatically:
- Excel table functions are not limited to the functions in the drop-down list. You can enter any function you want in any total row cell by clicking More Functions in the dropdown list or entering a formula directly in the cell.
- Total row inserts the SUBTOTAL function that calculates values only in visible cells and leaves out hidden (filtered out) cells. If you want to total data in visible and invisible rows, enter a corresponding formula manually such as SUM, COUNT, AVERAGE, etc.
6. Calculating table data with ease (calculated columns)
Another great benefit of an Excel table is that it lets you calculate the entire column by entering a formula in a single cell.
For example, to create a calculated column in our sample table, enter an Average formula in cell E2:
As soon as you click Enter, the formula is immediately copied to other cells in the column and properly adjusted for each row in the table:
Calculated Column tips:
- If a calculated column is not created in your table, make sure the Fill formulas in tables to create calculated columns option is turned on in your Excel. To check this, click File >Options, select Proofing in the left pane, click the AutoCorrect Options button, and switch to AutoFormat As You Type tab.
- Entering a formula in a cell that already contains data does not create a calculated column. In this case, the AutoCorrect Options button appears (like in the screenshot below) and lets you overwrite the data in the entire column so that a calculated column is created.
- You can quickly undo a calculated column by clicking the Undo Calculated Column in AutoCorrect Options, or clicking the Undo button on the Quick Access toolbar.
7. Easy-to-understand table formulas (structured references)
An indisputable advantage of tables is the ability to create dynamic and easy-to-read formulas with structured references, which use table and column names instead of regular cell addresses.
For example, this formula finds an average of all the values in columns Jan through Mar in the Sales_table:
The beauty of structured references is that, firstly, there are created automatically by Excel without you having to learn their special syntax, and secondly, they adjust automatically when data is added or removed from a table, so you don’t have to worry about updating the references manually.
8. One-click data selection
You can select cells and ranges in a table with the mouse like you normally do. You can also select table rows and columns in a click.
9. Dynamic charts
When you create a chart based on a table, the chart updates automatically as you edit the table data. Once a new row or column is added to the table, the graph dynamically expands to take the new data in. When you delete some data in the table, Excel removes it from the chart straight away. Automatic adjustment of a chart source range is an extremely useful feature when working with data sets that frequently expand or contract.
10. Printing only the table
If you want to print just the table and leave out other stuff on the worksheet, select any sell within your table and press Ctrl+P or click File > Print. The Print Selected Table option will get selected automatically without you having to adjust any print settings:
How to manage data in an Excel table
Now that you know how to make a table in Excel and use its main features, I encourage you to invest a couple more minutes and learn a few more useful tips and tricks.
How to convert a table to a range
If you want to remove a table without losing the table data or table formatting, go to the Design tab > Tools group, and click Convert to Range.
Or, right-click anywhere within the table, and select Table > Convert to Range.
This will delete a table but keep all data and formats intact. Excel will also take care of the table formulas and change the structured references to normal cell references.
How to add or remove table rows and columns
As you already know, the easiest way to add a new row or column to a table is type any value in any cell that is directly below the table, or type something in any cell to the right of the table.
If the Totals row is turned off, you can add a new row by selecting the bottom right cell in the table and pressing the Tab key (like you would do when working with Microsoft Word tables).
To insert a new row or column inside a table, use the Insert options on the Home tab > Cells group. Or, right-click a cell above which you want to insert a row, and then click Insert > Table Rows Above; to insert a new column, click Table Columns to the Left.
To delete rows or columns, right-click any cell in the row or column you want to remove, select Delete, and then choose either Table Rows or Table Columns. Or, click the arrow next to Delete on the Home tab, in the Cells group, and select the required option:
How to resize an Excel table
To resize a table, i.e. include new rows or columns to the table or exclude some of the existing rows or columns, drag the triangular resize handle at the bottom-right corner of the table upwards, downwards, to the right or to the left:
How to select rows and columns in a table
Generally, you can select data in your Excel table in the usual way using the mouse. In addition, you can use the following one-click selection tips.
Selecting a table column or row
Move the mouse point to the top edge of the column header or the left border of the table row until the pointer changes to a black pointing arrow. Clicking that arrow once selects only the data area in the column; clicking it twice includes the column header and total row in the selection like shown in the following screenshot:
Tip. If the whole worksheet column or row gets selected rather than a table column / row, move the mouse pointer on the border of the table column header or table row so that the column letter or row number is not highlighted.
Alternatively, you can use the following shortcuts:
- To select a tablecolumn, click any cell within the column, and press Ctrl+Space once to select only the column data; and twice to select the entire column including the header and total row.
- To select a tablerow, click the first cell in the row, and then press Ctrl+Shift+right arrow .
Selecting an entire table
To select the table data area, click the upper-left corner of the table, the mouse pointer will change to a south-east pointing arrow like in the screenshot below. To select the entire table, including the table headers and total row, click the arrow twice.
Another way to select the table data is to click any cell within a table, and then press CTRL+A . To select the entire table, including the headers and totals row, press CTRL+A twice.
Insert a slicer to filter table data in the visual way
In Excel 2010, it is possible to create slicers for pivot tables only. In newer versions, slicers can also be used for filtering table data.
To add a slicer for your Excel table, just do the following:
- Go to the Design tab >Tools group, and click the Insert Slicer button.
- In the Insert Slicers dialog box, check the boxes for the columns that you want to create slicers for.
- Click OK.
As the result, one or more slicers will appear in your worksheet, and you simply click the items you want to show in your table.
Tip. To display more than one item, hold down the Ctrl key while picking the items.
How to name a table in Excel
When you create a table in Excel, it is given a default name such as Table 1, Table 2, etc. In many situations, the default names are fine, but sometimes you may want to give your table a more meaningful name, for example, to make the table formulas easier to understand. Changing the table tame is as easy as it can possibly be.
To rename an Excel table:
- Select any cell within the table.
- On the Design tab, in the Properties group, type a new name in the Table Name box.
- Press Enter.
That’s all there is to it!
How to remove duplicates from a table
This is another awesome feature of Excel tables that many people are totally unaware of. To delete duplicate rows in your table, just do the following:
- Got to the Design tab >Tools group, and click Remove Duplicates.
- In the Remove Duplicates dialog box, select the columns that may contain duplicates.
- Click OK.
Tip. If you have inadvertently removed the data that should be kept, click the Undo button or press Ctrl+Z to restore the deleted records.
This tutorial is just a quick overview of the main Excel table features. Just give them a try, and you will find new uses of tables in your daily work and discover new fascinating capabilities. I thank you for reading and look forward to seeing you on our blog next week!
Источник
Tables might be the best feature in Excel that you aren’t yet using. It’s quick to create a table in Excel. With just a couple of clicks (or a single keyboard shortcut), you can convert your flat data into a data table with a number of benefits.
The advantages of an Excel table include all of the following:
- Quick Styles. Add color, banded rows, and header styles with just one click to style your data.
- Table Names. Give a table a name to make it easier to reference in other formulas.
- Cleaner Formulas. Excel Formulas are much easier to read and write when working in tables.
- Auto Expand. Add a new row or column to your data, and the Excel table automatically updates to include the new cells.
- Filters & Subtotals. Automatically add filter buttons and subtotals that adapt as you filter your data.
In this tutorial, I’ll teach you to use tables (also called data tables) in Microsoft Excel. You’ll discover how to use all of these features and master working with data tables. Let’s get started learning all about MS Excel tables.
What is a Table in Microsoft Excel?
A table is a powerful feature to group your data together in Excel. Think of a table as a specific set of rows and columns in a spreadsheet. You can have multiple tables on the same sheet.
You might think that your data in an Excel spreadsheet is already in a table, simply because it’s in rows and columns and all together. However, your data isn’t in a true «table» unless you’ve used the specific Excel data table feature.
In the screenshot above, I’ve converted a standard set of data to a table in Excel. The obvious change is that the data was styled, but there’s so much power inside this feature.
Tables make it easier to work with data in Microsoft Excel, and there’s no real reason not to use them. Let’s learn how to convert your data to tables and reap the benefits.
How To Make a Table in Excel Quickly (Watch & Learn)
The screencast below is a guided tour to convert your flat data into an Excel table. I’ll teach you the keyboard shortcut as well as the one-click option to convert your data to tables. Then, you’ll learn how to use all the features that make MS Excel tables so powerful.
If you want to learn more, keep reading the tutorial below for an illustrated guide to Excel tables.
To follow along with this tutorial, you can use the sample data I’ve included for free in this tutorial. It’s a simple spreadsheet with example data you can use to convert to a table in Excel.
How to Convert Data to a Table in Excel
Here’s how to quickly create a table in Excel:
Start off by clicking inside a set of data in your spreadsheet. You can click anywhere in a set of data before converting it to a table.
Now, you have two choices for how to convert your flat, ordinary data to a table:
- Use the keyboard shortcut, Ctrl + T to convert your data to a table.
- Make sure you’re working on the Home tab on Excel’s ribbon, and click on Format as Table and choose a style (theme) to convert your data to a table.
In either case, you’ll receive this pop-up menu asking you to confirm the table settings:
Confirm two settings on this menu:
- Make sure all of your data is selected. You’ll see the green marching ants box around the cells that will be included in your table.
- If your data has headers (titles at the top of the column), leave the My table has headers box checked.
I highly recommend embracing the keyboard shortcut (Ctrl + T) to create tables quickly. When you learn Excel keyboard shortcuts, you’re much more likely to use the feature and embrace it in your own work.
Now that you’ve converted your ordinary data to a table, it’s time to use the power of the feature. Let’s learn more:
How to Use Table Styles in Excel
Tables make it easy to style your data. Instead of spending time highlighting your data, applying background colors and tweaking individual cell styles, tables offer one click styles.
Once you’ve converted your data to a table, click inside of it. A new Excel ribbon option called Table Tools > Design appears on the ribbon.
Click on this ribbon option and find the Table Styles dropdown. Click on one of these style thumbnails to apply the selected color scheme to your data.
Instead of spending time manually styling data, you can use a table to clean up the look of your data. If you only use tables to apply quick styles, it’s still a great feature. But, there’s more you can do with Excel tables:
How to Apply Table Names
One of my favorite table features is the ability to add a name to a table. This makes it easy to reference the table’s data in formulas.
Click inside the table to select it. Then, click on the Design tab on Excel’s ribbon. On the left side of this menu, find the Table Name box and type in a new name for your table. Make sure that it’s a single word (no spaces are allowed in table names.)
Now, you can use the name of the table when you write your formulas. In the example screenshot below, you can see that I’ve pointed a new PivotTable to the table we created in the previous step. Instead of typing out the cell references, I’ve simply typed the name of the table.
Best of all, if the table changes with new rows or columns, these references are smart enough to update as well.
Table names are a must when you create large, robust Excel workbooks. It’s a housekeeping step that ensures you know where your cell references point to.
How to Make Cleaner Excel Formulas
When you write a formula in a table, the formula is more readable and cleaner to review than standard Excel formulas.
In the example below, I’m writing a formula to divide the Amount Billed by the Hours Spent to calculate an Hourly Rate. Notice that the formula that Excel generates isn’t «E2/D2», but instead includes the column names.
Once you press enter, the Excel table will pull the formula down to all of the rows in the table. I prefer the formulas that tables generate when creating calculations. Not only are they cleaner, but you don’t have to pull the formula down manually.
Time-Saving Excel Table Feature: Auto Expand
Tables might evolve over time to include new columns or rows. When you add new data to your tables, they automatically update to include the new columns or rows.
In the example below, you can see an example of what I mean. Once I add a new column in column G and press enter, the table automatically expands and all of the styles are pulled over as well. This means that the table has expanded to include these new columns.
The best part of this feature is that when you’re referencing tables in other formulas, it will automatically include the new rows and columns as well. For example, a PivotTable linked to an Excel data table will update with the new columns and rows when refreshed.
How to Use Excel Table Filters
When you convert data to a table in Excel, you may notice that filter buttons appear at the top of each column. These give you an easy way to restrict the data that appears in the spreadsheet. Click on the dropdown arrow to open the filtering box.
You can check the boxes for the data you want to remove, or uncheck a box to remove it from the table view.
Again, this is a feature that makes using Excel tables worthwhile. You can add filtering without using tables, sure—but with so many features, it makes sense to convert to tables instead.
How to Quickly Apply Subtotals
Subtotals are another great feature that make tables worth using. Turn on totals from the ribbon by clicking on Total Row.
Now, the bottom of each column has a dropdown option to add a total or another math formula. In the last row, click the dropdown arrow to choose an average, total, count, or another math formula.
With this feature, a table becomes a reporting and analysis tool. The subtotals and other figures at the bottom of the table will help you understand your data better.
These subtotals will also adapt if you use filters. For example, if you filter for a single client, the totals will update to only show for that single client.
Recap and Keep Learning More About Excel
It doesn’t matter how much time you spend learning Excel, there’s always more to learn and better ways to use it for controlling your data. Check out these Excel tutorials to keep learning useful spreadsheet skills:
If you haven’t been using tables, are you going to start using them after this tutorial? Let me know in the comments section below.
Did you find this post useful?
I believe that life is too short to do just one thing. In college, I studied Accounting and Finance but continue to scratch my creative itch with my work for Envato Tuts+ and other clients. By day, I enjoy my career in corporate finance, using data and analysis to make decisions.
I cover a variety of topics for Tuts+, including photo editing software like Adobe Lightroom, PowerPoint, Keynote, and more. What I enjoy most is teaching people to use software to solve everyday problems, excel in their career, and complete work efficiently. Feel free to reach out to me on my website.
This tutorial demonstrates how to create a table in Excel.
Create an Excel Table
You can either create an Excel table using existing data, or you can create a blank table and fill it with data afterwards.
- To create a table using existing data, ensure that your data is laid out in a way that is compatible with creating a table, e.g., each column should have a header row that describes the contents of that column and no blank rows or columns should exist in the middle or the data.
- Then, in the Ribbon, go to Insert > Table.
- Excel selects the entire range of data. Leave My table has headers ticked, and then click OK.
- This automatically creates a table as far down as the next blank row and as far across as the next blank column.
Alternate Shading in a Table
When a table is automatically created, the table is formatted according to the default table style that exists in Excel. This means that the top row is formatted with a blue background and white writing, while the rows below are formatted alternatively with a blue or white background.
- To change the table’s appearance, click somewhere within the table and in the Ribbon, go to Table Design > Table Styles. Choose a style.
- The format changes according to the style you choose. There are many built-in styles available. To access a few more styles, click the “more” button as shown below.
- The list of styles is expanded to show a variety of different table styles. Choose one.
Convert Table Back to a Range
If you have formatted your data as a table, and then wish to remove the filter options and convert your table back to a range, you can use the Table Design tab to do this.
- Click in your table, and then in the Ribbon, go to Table Design > Tools > Convert to Range.
- Click OK to convert your table to a range.
While the formatting is preserved, the filters are removed from the column headers indicating that the data is now a normal range and no longer a table.
Link Tables: Relationships
If you have data in two different ranges in Excel, but the data is linked together by a common column name, you can create a relationship between these two sets of data as long as both sets of data are tables in Excel.
Consider the following two tables in Excel.
One table contains the salesperson‘s name and their Sales Target, while the other table contains their order amounts. In one table, the salesperson appears only once while in the other table the salesperson can appear multiple times.
Note: the data does not have to be on one sheet and may be much larger than the example above.
For example, to create a pivot table that contains information from both tables, you can link these tables together by creating a relationship between them.
Note: Try using some shortcuts when you’re working with pivot tables.
- In the Ribbon, go to Data > Data Tools > Relationships.
- In the Relationships window, click New.
- In the Table drop down, choose the first table and in the drop down below, choose the second table.
- In the Column table, first choose the Foreign column (in this case, Salesperson as it can appear multiple times); and then in the Related Column, choose the Salesperson field from the second table. This is the Primary column where the salesperson only appears once in that table.
- Click OK to create the relationship.
- Click Close to return to Excel.
Benefits of Using a Table
Add Totals Automatically
Adding a total row to a table is incredibly easy.
Click in your table, and then, in the Ribbon, go to Table Design > Table Style Options > Total Row
The default function use for the Total Row is the sum function. You can, however, amend this function if you want to use a different function.
Notice that the Header Row, Banded Rows, and Filter Button are also ticked in this group of options.
- If you switch off the Header Row, then the Filter Button option is no longer available.
- If you switch off the filter option, you can’t use the filter option in your table.
- you switch off the Banded Rows option, the rows are no longer alternatively shaded.
Automatically Add Rows With Tab Key
One of the benefits of using at table is that a table will automatically expand if you enter more data into the table. Notice that in the bottom row of the table, a small, backward-L-shaped handle exists.
If you then click in this cell and press the TAB key, a new row in the table is created, and your cursor is moved to the first cell in the new row. The table has therefore automatically expanded to include this row.
This is useful since some of the benefits of using a table are the sorting and filtering options that are built into the table. If you then wanted to filter on the Salesperson, for example, the new record is automatically included in that filter. Similarly, if you sort the data, the new row(s) are included in the sort.
Consistent Formulas
If you add two more columns to the table, these would automatically be included in the table, as the new rows were above.
Then, add a formula to work out the total by multiplying the Order Amount by the Quantity. The formula is created using the field names (column headers).
When you press ENTER, the formula is copied down to all the other rows in the table.
Multiple Filters on One Sheet
In the example below, a table has been created for each year of orders, and then, each table has been filtered by region to show the orders for a single region in each individual year.
Combine Tables Into One Pivot Table
If you have created a relationship between two tables, you can create a pivot table using fields from both tables.
- In the Ribbon, go to Insert > Pivot Table > From Data Model.
- Select New Worksheet, and then click OK.
- You now have the field available from both your tables to use in your pivot table where the linked fields (Salesperson) will show up identical data.
Able to Use Slicers
When you data is formatted as a table, you are able to use slicers to filter your data.
- Click in your table and then, in the Ribbon, select Table Design > Tools > Insert Slicer.
- Select the field or fields of the slicer you wish to insert, and then click OK.
- You can then filter your data by selecting an individual value in the slicer, or you can hold down the CTRL key (for nonconsecutive values) or the SHIFT key (for consecutive values) to filter on multiple values.
PowerPivot and Power Query
Any data used in a Power Pivot or Power Query must be in a table format. So for users of Power Query, formatting as an Excel table is a necessity, not just a benefit.
More on Tables
Tables | |
---|---|
Add a Column and Extend a Table | |
Add a Total or Subtotal Row to a Table | |
Compare Two Tables | |
Convert a Table to a Normal Range | |
Display Data With Banded Rows | |
Remove a Table or Table Formatting | |
Rename a Table | |
Rotate Data Tables | |
Conditional Formatting | yes |
Highlight Every Other Line In Excel | |
Copy & Paste | yes |
Copy Every Other Row | |
Database | yes |
Create a Searchable Database | |
Filters | yes |
Filter Rows | |
Find & Select | yes |
Select Every Other Row | |
Format Cells | yes |
Alternate Row Color | |
Insert & Delete | yes |
Delete Every Other Row |
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:
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.
To select a row, click on the number it’s designated with.
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.
- You can move them manually by grabbing the cell boundary with the left mouse button.
- 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.
- If you need to increase the height of a row preserving the column width, use the button «Wrap Text» in the tool bar.
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.
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».
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+»=»).
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
- 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.
- 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.
- 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.
- 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».
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.
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:
- Go to the «INSERT» tab – the «Table» tool (or press the hot-key combination CTRL+T).
- 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.
Important note. You can also take an alternative route: start with selecting the range of cells, then press the «Table» button.
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.
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.
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:
- 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.
- When you enter a value repetitively, Excel will recognize it. You will only need to enter several symbols and press enter.
- 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.
- 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.
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.