0% found this document useful (0 votes)
59 views25 pages

Working With Excel 2010 Tables

An Excel table allows you to organize related data in a structured format with features like filtering, sorting, and automatic calculation. A table includes a header row to label columns, rows for data, and can have banded formatting to alternate row shading. Tables make it easy to add, remove, and modify rows and columns of data while maintaining the table structure. Various formatting options are available for tables and data within tables can be analyzed using features like filtering, sorting, and subtotals.

Uploaded by

VICTOR MBEBE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views25 pages

Working With Excel 2010 Tables

An Excel table allows you to organize related data in a structured format with features like filtering, sorting, and automatic calculation. A table includes a header row to label columns, rows for data, and can have banded formatting to alternate row shading. Tables make it easy to add, remove, and modify rows and columns of data while maintaining the table structure. Various formatting options are available for tables and data within tables can be analyzed using features like filtering, sorting, and subtotals.

Uploaded by

VICTOR MBEBE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

Working with Excel 2010 Tables

Table of Contents
OVERVIEW OF EXCEL TABLES ................................................................................................................................ 2
ELEMENTS OF AN EXCEL TABLE ....................................................................................................................................... 2
HOW TO ORGANIZE A TABLE ............................................................................................................................................. 3
CREATING AND USING A TABLE ............................................................................................................................. 4
CREATE A TABLE ............................................................................................................................................................. 4
DELETE A TABLE .............................................................................................................................................................. 4
TURN EXCEL TABLE HEADERS ON OR OFF ......................................................................................................................... 4
Overwriting default headers ........................................................................................................................................ 5
SELECTING ROWS AND COLUMNS WITHIN A TABLE ........................................................................................................... 5
ADD OR REMOVE TABLE ROWS AND COLUMNS IN AN EXCEL TABLE ................................................................................. 6
Insert a table row or column ........................................................................................................................................ 6
Delete rows or columns in a table ............................................................................................................................... 6
Add a blank row at the end of the table ....................................................................................................................... 7
Remove duplicate rows from a table ........................................................................................................................... 7
Remove blank rows from a table ................................................................................................................................. 7
Include a worksheet row or worksheet column in a table ........................................................................................... 8
RESIZE A TABLE................................................................................................................................................................ 8
NAMING A TABLE ............................................................................................................................................................. 8
Rename an Excel table ................................................................................................................................................ 9
EXPANDING A TABLE ........................................................................................................................................................ 9
CONVERT A TABLE TO A RANGE OF DATA ....................................................................................................................... 10
TOTAL THE DATA IN AN EXCEL TABLE ........................................................................................................................... 10
FORMAT AN EXCEL TABLE..................................................................................................................................... 11
CHOOSE A TABLE STYLE WHEN YOU CREATE A TABLE .................................................................................................... 11
APPLY A TABLE STYLE TO AN EXISTING TABLE ............................................................................................................... 12
REMOVE A TABLE STYLE ................................................................................................................................................ 12
CHOOSE TABLE STYLE OPTIONS TO FORMAT THE TABLE ELEMENTS ................................................................................ 12
CREATE A CUSTOM TABLE STYLE ................................................................................................................................... 13
Delete a custom table style ........................................................................................................................................ 13
FILTER DATA IN A RANGE OR TABLE ................................................................................................................. 13
TURN ON THE FILTER BUTTON ........................................................................................................................................ 13
THE THREE TYPES OF FILTERS ......................................................................................................................................... 14
REAPPLYING A FILTER .................................................................................................................................................... 14
DO NOT MIX STORAGE FORMATS .................................................................................................................................... 14
FILTER TEXT ................................................................................................................................................................... 14
Wildcard characters ................................................................................................................................................... 16
FILTER NUMBERS ............................................................................................................................................................ 16
FILTER DATES OR TIMES ................................................................................................................................................. 17
FILTER FOR TOP OR BOTTOM NUMBERS........................................................................................................................... 18
FILTER FOR ABOVE OR BELOW AVERAGE NUMBERS ........................................................................................................ 19
FILTER FOR BLANKS OR NONBLANKS .............................................................................................................................. 19
FILTER BY CELL COLOR, FONT COLOR, OR ICON SET........................................................................................................ 20
FILTER BY SELECTION..................................................................................................................................................... 20
Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 1
CLEAR A FILTER ............................................................................................................................................................. 21
Clear a filter for a column.......................................................................................................................................... 21
Clear all filters in a worksheet and redisplay all rows ............................................................................................... 21
FILTER BY USING ADVANCED CRITERIA .......................................................................................................................... 21
FILTER FOR UNIQUE VALUES OR REMOVE DUPLICATE VALUES........................................................................................ 21
Filter for unique values .............................................................................................................................................. 22
Remove duplicate values ........................................................................................................................................... 22
USING SUBTOTALS IN A LIST OF DATA IN A WORKSHEET .......................................................................... 23
INSERT SUBTOTALS ........................................................................................................................................................ 23
INSERT NESTED LEVELS OF SUBTOTALS: ......................................................................................................................... 24
REMOVE SUBTOTALS ...................................................................................................................................................... 25

Overview of Excel tables


To make managing and analyzing a group of related data easier, you can turn a range of cells into a Microsoft
Office Excel table. A table typically contains related data in a series of worksheet rows and columns that have
been formatted as a table. By using the table features, you can then manage the data in the table rows and
columns independently from the data in other rows and columns on the worksheet.
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.

Banded rows: By default, alternate shading or


banding has been applied to the rows in a table 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.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 2
Total row: You can add a total row to your table that
provides access to summary functions (such as the
AVERAGE, COUNT, or SUM function). A drop-
down list appears in each total row cell so that you can
quickly calculate the totals that you want.

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.

How to organize a table


In a sense, you can call anything you put in a contiguous block of spreadsheet cells a table, but in Excel the
term has a more specific meaning. It refers to a block of data organized so that each row refers to an item (a
person in an address list, a sale in a transaction log, a product in a product catalog, and so on) and each
column contains one piece of information about that item (for example, the postal code of a contact, the date
of a sale, or the catalog number of a product). In addition, for a block of data to become a table, you have to
designate it as such.
Typically, the worksheet range defined as a table should have the following characteristics:
 The top row should consist of labels, with each label describing the contents of the column beneath it.
Each label should be unique. (The labels row is not mandatory, but if you omit it, Excel will generate one
for you using default column names.)
 Each column should contain the same kind of information.
 Each category of information you want to be able to sort by, search on, or otherwise manipulate
individually should occupy a separate column.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 3
Creating and using a table
Create a Table
1) Select the range that you want to turn into a table, and then do one of the following:
a) On the Insert tab, in the Tables group, click Table.
Keyboard shortcut: In addition to CTRL+L, you can also press
CTRL+T to create a table.

b) On the Home tab, in the Styles group, click


Format as Table, and then select the format
that you want to use.

2) Excel will figure out the dimensions of the table for you and ask for
confirmation in the Create Table dialog box
a) If the selected range contains data that you want to display as table
headers, select the My table has headers check box.
 Table headers display default names if you do not select the My
table has headers check box. You can change the default
names by typing the text that you want.
Note: If you do not want to display table headers, you can turn
them off later.
3) Unless the program has made some kind of mistake, you can click OK to create your table.
a) If you select more than one cell but less than the entire range before pressing Ctrl+T, Excel will try to
create a table out of the specific cells you selected.
b) After you click OK, Excel displays the Table Tools, adding a Design tab that provides access to
additional table features, such as table options and styles.
Note: Many features of Excel tables do not work if your workbook is opened in Compatibility mode. You
must convert a workbook you have saved with the type Excel 97–2003 Workbook to an Excel .xlsx workbook
(the current version of Excel) in order to get the new functionality.
Delete a table
1) On a worksheet, select a table.
2) Press DELETE.
Turn Excel table headers on or off
When you create a Microsoft Office Excel table on a worksheet, table headers are automatically added and
displayed by default.
Table headers either display default names that you can change on the worksheet, or you can specify that they
display the header data that is on your worksheet. In a long table, table headers replace the worksheet column
headings so that they stay visible when you scroll the table data. If you do not want to view the table headers,
you can turn them off.
Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 4
Note: Table headers should not be confused with worksheet column headings or the headers for printed pages.
1) Click anywhere in the table to make sure that the active cell is in a table column.
2) On the Design tab, in the Table Style Options group, clear or select the Header Row check box to hide or
display the table headers.
Notes:
 When you turn the table headers off, the table header AutoFilters and any applied filters are removed from
the table.
 Although it is possible to refer to table headers that are turned off in formulas, you cannot refer to them by
selecting them. References in tables to a hidden table header return zero (0) values, but they remain
unchanged and return the table header values when the table header is displayed again. All other worksheet
references to the table header are adjusted when the table header is turned off and may cause formulas to
return unexpected results.
Overwriting default headers
Notice that, in addition to recognizing the size of the table, Excel figures out whether the top row of your
range is a header row—a row of column labels. If your range does not include such a row, or if for some
reason you choose to clear the My Table Has Headers check box in the Create Table dialog box, Excel will
create a header row for you using labels such as Column 1, Column 2, and so on. Default headers like these
are both ugly and pointless; it’s far better to set up your own descriptive headers before creating the table. But
if you omit this step, you can always override the defaults later by selecting the header cells and typing over
them, just as if they were ordinary worksheet cells. (They’re not quite ordinary data, actually; Excel won’t let
you delete them, and if you try to clear a header, you’ll just get the default back.)
Selecting rows and columns within a table
Excel makes it easy to select rows and columns within a table. If you rest the pointer on the left edge of the
first cell in a row, the pointer changes to a solid arrow. Click once and you’ve selected the row. If your table
happens to begin in column A of the worksheet, be sure you rest the pointer inside the first cell, rather than on
the worksheet frame. On the frame, the pointer also changes to a solid arrow, but clicking here will select the
entire worksheet row.
To select a column, rest the pointer near the top of the column’s heading, and then click. Clicking once selects
the column’s data, excluding the header and the total (if you have displayed the total row). Clicking a second
time selects the entire column—header, data, and total.
To select the entire table, rest the pointer on the upper-left corner of the first column’s header. When you see
the pointer turn southeast, click. Click once for the data only or twice for everything—data, headers, and
totals.
Selecting with the keyboard is even easier, particularly with a large table when the top and left edges are out
of sight:
 Pressing Shift+Spacebar selects the current row, regardless of which cell is selected.
 Pressing Ctrl+Spacebar selects the current column’s data, omitting the header and total.
 Pressing Shift+Ctrl+Spacebar or Ctrl+A selects all the table’s data.
 Pressing Shift+Spacebar twice selects the entire current worksheet row.
 Pressing Ctrl+Spacebar twice selects the current table column, with the header and total.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 5
 Pressing Ctrl+Spacebar three times selects the entire current worksheet column.
 Pressing Shift+Ctrl+Spacebar or Ctrl+A twice gets the entire table, headers, and totals included.
Pressing that combination a third time selects all gazillion cells of the worksheet.
Add or remove table rows and columns in an Excel table
After you create a Microsoft Office Excel table in your worksheet, you can easily add table rows and columns.
You can quickly add a blank row at the end of the table, include adjacent worksheet rows or worksheet
columns in the table, or insert table rows and table columns anywhere you want.
You can delete rows and columns as needed. You can also quickly remove rows that contain duplicate data
from a table.
Note: Adding and removing table rows and columns is different from adding and removing worksheet rows
and columns.
Insert a table row or column
1) Do one of the following:
a) To insert one or more table rows: select one or more table rows above which you want to insert one
or more blank table rows.
Tip: If you select a cell or range in the last row, you can also insert a row above or below that row.
b) To insert one or more table columns: select one or more table columns to the left of which you want
to insert one or more blank table columns.
Tip: If you select a cell or range in the last column, you can also insert a column to the left or to the
right of that column.
2) On the Home tab, in the Cells group, click the arrow next to Insert.
3) Do one of the following:
a) To insert table rows: click Insert Table Rows Above.
b) To insert a table row below the last row: click Insert Table Row Below.
c) To insert table columns: click Insert Table Columns to the Left.
d) To insert a table column to the right of the last column: click Insert Table Column to the Right.
Tip: You can also right-click one or more table rows or table columns, point to Insert on the shortcut menu,
and then select what you want to do from the list of options. Or you can right-click one or more cells in a table
row or table column, point to Insert, and then click Table Rows Above or Table Columns to the Left.
Delete rows or columns in a table
1) Select one or more table rows or table columns that you want to delete.
Tip: You can also just select one or more cells in the table rows or table columns that you want to delete.
2) On the Home tab, in the Cells group, click the arrow next to Delete, and then click Delete Table Rows or
Delete Table Columns.
Tip: You can also right-click one or more rows or columns, point to Delete on the shortcut menu, and
then click Table Columns or Table Rows. Or you can right-click one or more cells in a table row or table
column, point to Delete, and then click Table Rows or Table Columns.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 6
Add a blank row at the end of the table
1) Press TAB in the last cell of the last row to add a blank row at the end of the table.
Note: If a totals row is displayed in the table, pressing TAB in the last cell of the totals row does not add a
new row.
Remove duplicate rows from a table
Just as you can remove duplicates from any selected data in Excel, you can easily remove duplicates from a
table.
1) Click anywhere in the table.
2) On the Data tab, in the Data Tools group, click Remove Duplicates.

3) In the Remove Duplicates dialog box, under


Columns, select the columns that contain duplicates
that you want to remove.
Tip: You can also click Unselect All and then
select the columns that you want or click Select All
to select all of the columns.

Note: Duplicates that you remove are deleted from the worksheet. If you inadvertently delete data that you
meant to keep, you can click Undo on the Quick Access Toolbar to restore the deleted data. You may
also want to use conditional formats to highlight duplicate values before you remove them.
Remove blank rows from a table
1) Make sure that the active cell is in a table column.
2) Click the arrow in the column header.
3) To filter for blanks, in the AutoFilter menu at the top of the list of values, clear (Select All), and then at the
bottom of the list of values, select (Blanks).
Note: The (Blanks) check box is available only if the range of cells or table column contains at least one
blank cell.

4) Select the blank rows in the table, and then press CTRL+ - (hyphen).
Note: You can use a similar procedure for filtering and removing blank worksheet rows.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 7
Include a worksheet row or worksheet column in a table
1) Do one of the following:
a) To include a worksheet row in the table: type a value or text in a cell that is directly below the table.
b) To include a worksheet column in the table: type a value or text in a cell that is directly adjacent to
the right of the table.
c) To include worksheet rows or worksheet columns by using the mouse: drag
the resize handle at the lower-right corner of the table down to select rows and
to the right to select columns.

Resize a table
1) Click anywhere in the table.
2) On the Design tab, in the Properties
group, click Resize Table.

3) In the Select the new data range for your table box, type
the range that you want to use for the table.
Tip: You can also click the Collapse Dialog button at the
right end of the Select the new data range for your table box
and then select the range that you want to use for the table on
the worksheet. When you finish, click the Collapse Dialog
button again to display the entire dialog box.

Naming a table
When you designate a range as a table, Excel assigns a name to that
table and displays the name in the Properties group on the Design
tab.
Excel uses default names (Table1, Table2, and so on) unless you
supply your own names. Does the name matter? Perhaps.
Formulas that take advantage of structured referencing use the table
name, and a descriptive name serves the purpose of self-
documentation better than a default name.
In the following formula: =SUM(Scores[Math]) for example, the word Scores is the table’s name. (The
formula sums the values from the Math column of the Scores table.)
Giving a meaningful name to the table is particularly useful when you have multiple tables on a single
worksheet and have formulas that refer to the tables. By using names for the tables, you can instantly tell
when looking at a formula which table it is referencing.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 8
Rename an Excel table
1) In the worksheet, click the table that you want to rename.
a) This displays the Table Tools, adding the Design tab.
2) On the Design tab, in the Properties group, click the Table Name text box.
3) Type a new name.
4) Press ENTER.
Expanding a table
To add a new row to the end of a table, go to the bottom-right cell of the table (ignoring the total row, if there
is one), and press Tab. Excel will extend the table for you, no questions asked, copying all formatting and
formulas in the process. When you get to the last column in the new row, press Tab to create yet another new
row. Thus, after you have created the stub of a table, you can expand it downward by simply typing in the
usual way and pressing Tab between cells (or at any rate at the end of each row).
Note that pressing Tab creates a new table row above the total row, if your table has a total row. The total row
simply moves down one row to accommodate your new data, and Excel updates the formulas appropriately. If
you don’t have a total row in your table, you can also extend the table by simply typing in the blank row
below the bottom row of the table. Using Tab to extend the table works whether you have a total row or not.
Automatic expansion works for columns as well as rows. If you type in any row of the column directly to the
right of a table, Excel expands the table to include the new column. If the new data is a formula, the formula is
replicated throughout the column.
If you don’t want the table to automatically expand or automatically fill columns with formulas, you can turn
off the option.
1) Click the File tab, and then click Options.
2) Select the Proofing category, and click
AutoCorrect Options.
3) In the AutoCorrect dialog box click the
AutoFormat As You Type tab.
a) Clear the Include New Rows And Columns
In Table check box to prevent Excel from
expanding the table, and clear the Fill
Formulas In Tables To Create Calculated
Columns check box to prevent Excel from
filling entire columns with identical formulas.
b) Click OK twice.

If you’re not currently displaying a total row with your table, you’ll find a minuscule handle in the lower-right
corner of the cell occupying the lower-right corner of your table. This handle gives you yet another way to
expand your table. Usually, it’s easier just to add data and let Excel expand the table. But if you want to add
several new rows or columns all at once, the handle is a good way to do it.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 9
Convert a table to a range of data
1) Click anywhere in the table.
a) This displays the Table Tools, adding the Design tab.
2) On the Design tab, in the Tools group, click Convert to Range.
3) Click Yes to answer the confirmation prompt.
Note that after you change a table into a regular range, the formatting turns into regular cell formatting. This
can cause unexpected behavior if you ever turn the range back into a table.
Tip: An easy way to tell whether a range is a table is to select a cell in the range and look at the Ribbon. If you
see a Table Tools tab, then the current list has been converted to a table.
Note: Table features are no longer available after you convert the table back to a range. For example, the row
headers no longer include the sort and filter arrows, and structured references (references that use table names)
that were used in formulas turn into regular cell references.
Tips:
 You can also right-click the table, point to Table, and then click Convert to Range.
 Immediately after you create a table, you can also click Undo on the Quick Access Toolbar to
convert that table back to a range.
Total the data in an Excel table
You can quickly total the data in a Microsoft Office Excel table by displaying a totals row at the end of the
table and then by using the functions that are provided in drop-down lists for each totals row cell.
1) Click anywhere in the table.
2) On the Design tab, in the Table Style Options group, select the
Total Row check box.
a) The total row appears as the last row in the table and displays the
word Total in the leftmost cell.
3) In the total row, click the cell in the column for which you want to calculate a total, and then click the
drop-down list arrow that appears.
4) In the drop-down list, select the function that you want to use to calculate the total.
a) You can toggle the row on or off by selecting or clearing the Total Row check box.
Tip: Formulas that you can use in the total row are not limited to the functions in the list. You can enter any
formula that you want in any total row cell.
By default, the total row applies the SUBTOTAL
function, with a Function_num argument of 109, to
the rightmost column of the table. (Using 109 in the
Function_num argument creates a sum that ignores all
rows hidden by filters.) That generates a sum in the
lower-right corner—which might not be what you
want. When you click the small arrow at the right
edge of a total row cell, a list of alternative functions
appears.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 10
You can make the same list appear in any other total
row cell (not just the rightmost) by selecting the cell
and clicking the arrow that appears. You can also type
directly over any of the total row cells. Here’s how
you might make the total row look if you wanted to
replace the sums with averages:
A few more points to note about the total row:
 The Excel total row does not limit you to the commonplace aggregation functions. With the help of the
More Functions command in the list, you can create any kind of formulas you want.
 Because the choices in the list—AVERAGE, COUNT, COUNT NUMBERS, and so on—generate
formulas based on the SUBTOTAL function (using arguments in the 101–111 range), they ignore rows
that are hidden by filters. If you want to aggregate based on all rows except those you manually hide,
subtract 100 from the first argument function. For example, change SUBTOTAL(101,column) to
SUBTOTAL(1,column). If you want aggregate calculations based on all rows, ignoring the column filter
settings, change the formulas to standard aggregate functions. For example, substitute SUM(column) for
SUBTOTAL(109,column).
 After you’ve customized the formulas in the total row, turning the total row off and then back on retains
your customized formulas. If you frequently toggle the total row off and on, consider putting the command
on your Quick Access Toolbar. (Click the Design tab under Table Tools, right-click the Total Row check
box, and select Add To Quick Access Toolbar.)
Format an Excel table
Microsoft Office Excel provides numerous predefined table styles (or quick styles) that you can use to quickly
format a table. If the predefined table styles don't meet your needs, you can create and apply a custom table
style. Although you can delete only a custom table style, you can remove any table style so that it is no longer
applied to the data.
You can further adjust the table formatting by choosing Quick Styles options for table elements, such as
header and total rows, first and last columns, and banded rows and columns.
Choose a table style when you create a table
1) On the worksheet, select a range of empty cells or cells that contain the data that you want to quickly
format as a table.
2) On the Home tab, in the Styles group, click Format as Table.
a) When you use Format as Table, Office Excel automatically inserts a table. If you don't want to work
with your data in a table, you can convert the table to a regular range while keeping the table style
formatting that you applied.
3) Under Light, Medium, or Dark, click the table style that you want to use.
Note: Custom table styles are available under Custom after you create one or more of them.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 11
Apply a table style to an existing table
1) On the worksheet, select the table to which you want to apply a table style.
2) On the Design tab, in the Table Styles group, do one of the following:
a) Click the table style that you want to use.
 Use the arrow buttons to scroll through the available table
styles.
b) Click the More button , and then under Light, Medium, or
Dark, click the table style that you want to use.
Note: When the Excel window is reduced in size, table styles will be available in the Table Quick Styles
gallery in the Table Styles group.
Remove a table style
1) On the worksheet, select the table from which you want to remove the current table style.
2) On the Design tab, in the Table Styles group, click the More button .
3) Click Clear.
 The table will be displayed in the default table format.
Note: Removing a table style does not remove the table. If you don't want to work with your data in a table,
you can convert the table to a regular range.
Choose table style options to format the table elements
1) On the worksheet, select the table to which you want to apply table style options.
2) On the Design tab, in the Table Style Options group, do one of the following:
a) To turn the header row on or off, select or clear the Header
Row check box.
b) To turn the totals row on or off, select or clear the Totals
Row check box.
c) To display special formatting for the first column of the
table, select the First Column check box.
d) To display special formatting for the last column of the
table, select the Last Column check box.
e) To display odd and even rows differently for ease of reading,
select the Banded Rows check box.
f) To display odd and even columns differently for ease of
reading, select the Banded Columns check box.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 12
Create a custom table style
Important: Custom table styles that you create are stored only in the current workbook and therefore are not
available in other workbooks.
1) On the Home tab, in the Styles group, click Format as Table.
2) Select an existing table to display the Table Tools, and then on the Design tab, in the Table Styles group,
click the More button .
3) Click New Table Style.
4) In the Name box, type a name for the new table style.
5) In the Table Element box, do one of the following:
a) To format an element: click the element, and then click Format.
b) To remove existing formatting from an element: click the element, and then click Clear.
6) On the Font, Border, and Fill tabs, select the formatting options that you want, and then click OK.
Tip: Under Preview, you can see how the formatting changes that you made affect the table.
7) Repeat steps 5 and 6 for all table elements that you want to customize.
8) To use the new table style as the default table style in the current workbook, select the Set as default table
quick style for this document check box.
Delete a custom table style
1) On the Home tab, in the Styles group, click Format as Table.
2) Under Custom, right-click the table style that you want to delete, and then click Delete on the shortcut
menu.
Note: All tables in the current workbook that are using that table style will be displayed in the default table
format.

Filter data in a range or table


Filtering data is a quick and easy way to find and work with a subset of data in a range of cells or table. For
example, you can filter to see only the values that you specify, filter to see the top or bottom values, or filter to
quickly see duplicate values.
After you have filtered data in a range of cells or table, you can either reapply a filter to get up-to-date results,
or clear a filter to redisplay all of the data.
Turn on the Filter button
Selecting at least one cell in a range or in an Excel table, and
then click the Filter button (Data tab, Sort & Filter group).

Filtered data displays only the rows that meet criteria that you specify and hides rows that you don't want
displayed. After you filter data, you can copy, find, edit, format, chart, and print the subset of filtered data
without rearranging or moving it.
You can also filter by more than one column. Filters are additive, which means that each additional filter is
based on the current filter and further reduces the subset of data that is shown.
Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 13
Note: When you use the Find dialog box to search filtered data, only the data that is displayed is searched;
data that is not displayed is not searched. To search all the data, clear all filters.
The three types of filters
Using AutoFilter, you can create three types of filters: by a list of values, by a format, or by criteria. Each of
these filter types is mutually exclusive for each range of cells or column table. For example, you can filter by
cell color or by a list of numbers, but not by both; you can filter by icon or by a custom filter, but not by both.
Reapplying a filter
To determine if a filter is applied, note the icon in the column heading:
 A drop-down arrow means that filtering is enabled but not applied.
Tip: When you hover over the heading of a column with filtering enabled but not applied, a screen tip
displays (Showing All).
 A Filter button means that a filter is applied.
Tip: When you hover over the heading of a filtered column, a screen tip displays the filter that is applied to
that column, such as "Equals a red cell color" or "Larger than 150".
When you reapply a filter, different results can appear for the following reasons:
 Data has been added to, deleted from, or modified in the range of cells or table column.
 The filter is a dynamic date and time filter, such as Today, This Week, or Year to Date.
 Values returned by a formula have changed and the worksheet has been recalculated.
Do not mix storage formats
For best results, do not mix storage formats, such as text and number or number and date, in the same column
because only one type of filter command is available for each column. If there is a mix of storage formats in a
column, the command that is displayed is the storage format that occurs the most. For example, if the column
contains three values stored as number and four as text, the filter command that is displayed is Text Filters.
Filter text
Selecting values from a list and searching are the quickest
ways to filter. When you click the arrow in a column that
has filtering enabled, all values in that column appear in a
list. The following illustration shows three methods for
quickly filtering data.
Use the Search box to enter text or numbers on which
to search
Select and clear the check boxes to show values that are
found in the column of data
Use advanced criteria to find values that meet specific
conditions

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 14
1) Do one of the following:
a) Filter a range of cells:
 Select a range of cells containing alphanumeric data.
 On the Data tab, in the Sort & Filter group, click Filter.
b) Filter a table:
 Make sure that the active cell is in a table column that contains alphanumeric data.
2) Click the arrow in the column header
a) Do one of the following:
 Select from a list of text values:
(1) In the list of text values, select or clear one or more text values to filter by.
The list of text values can be up to 10,000. If the list is large, clear (Select All) at the top, and
then select the specific text values to filter by.
Tip: To make the AutoFilter menu wider or longer, click and drag the grip handle at the bottom.
 Enter criteria in the Search box:
A Search box is available in the AutoFilter menu. You can type characters on which you want to
filter in this box. Note that all search operations in this box ignore the case of the letters you type.
For example, if you type "T," values that contain "T" or "t" are returned. The following list shows
some examples of what values are returned when you type a specific combination of characters.
(1) T returns values that contain the letter "t" in any position.
(2) M* in the box returns values that contain the letter "m" in the first position (such as "Mary").
(3) Four question marks (????) return values that contain exactly four characters, such as "Mary"
or "Ivan."
(4) Jo* returns values that start with "Jo," such as "Jones," "Joseph," or "Johnsen."
(5) *er retuns values that end with "er," such as "Carter" or "Spencer."
 Create criteria:
(1) Point to Text Filters and then click one of the comparison operator commands, or click
Custom Filter.
(a) For example, to filter by text that begins with a specific character, select Begins With, or to
filter by text that has specific characters anywhere in the text, select Contains.
(2) In the Custom AutoFilter dialog box, in the box on the right, enter text or select the text value
from the list.
For example, to filter by text that begins with the letter "J", enter J, or to filter by text that has
"bell" anywhere in the text, enter bell.
If you need to find text that shares some characters but not others, use a wildcard character.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 15
Wildcard characters
The following wildcard characters can be used as comparison criteria for text filters.
Use To find

? (question mark) Any single character


For example, sm?th finds "smith" and "smyth"

* (asterisk) Any number of characters


For example, *east finds "Northeast" and "Southeast"

~ (tilde) followed by ?, *, or ~ A question mark, asterisk, or tilde


For example, fy06~? finds "fy06?"

(3) Optionally, filter by one more criterion.


(a) How to add one more criteria:
(i) Do one of the following:
1. To filter the table column or selection so that both criteria must be true, select
And.
2. To filter the table column or selection so that either or both criteria can be true,
select Or.
(ii) In the second entry, select a comparison operator and then, in the box on the right, enter
text or select a text value from the list.
(4) To reapply a filter after you change the data, click a cell in the range or table and then, on the
Data tab, in the Sort & Filter group, click Reapply.
Filter numbers
1) Do one of the following:
a) Filter a range of cells:
 Select a range of cells containing numeric data.
 On the Data tab, in the Sort & Filter group, click Filter.
b) Filter a table:
 Make sure that the active cell is in a table column that contains numeric data.
2) Click the arrow in the column header.
3) Do one of the following:
a) Select from a list of numbers:
 In the list of numbers, select or clear one or more numbers to filter by.
The list of numbers can be up to 10,000. If the list is large, clear (Select All) at the top, and then
select the specific numbers to filter by.
Tip: To make the AutoFilter menu wider or longer, click and drag the grip handle at the bottom.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 16
b) Create criteria:
 Point to Number Filters and then click one of the comparison commands or click Custom Filter.
For example, to filter by a lower and upper number limit, select Between.
 In the Custom AutoFilter dialog box, in the box or boxes on the right, enter numbers or select
numbers from the list.
For example, to filter by a lower number of 25 and an upper number of 50, enter 25 and 50.
 Optionally, filter by one more criteria.
4) To reapply a filter after you change the data, click a cell in the range or table and then, on the Data tab, in
the Sort & Filter group, click Reapply.
Filter dates or times
1) Do one of the following:
a) Filter a range of cells:
 Select a range of cells containing numeric data.
 On the Data tab, in the Sort & Filter group, click Filter.
b) Filter a table:
 Make sure that the active cell is in a table column that contains dates or times.
2) Click the arrow in the column header.
3) Do one of the following:
a) Select from a list of dates or times:
 In the list of dates or times, select or clear one or more dates or times to filter by.
(1) By default, all dates in the range of cells or table column are grouped by a hierarchy of years,
months, and days. Selecting or clearing a higher level in the hierarchy selects or clears all
nested dates below that level. For example, if you select 2006, months are listed below 2006,
and days are listed below each month.
(2) The list of values can be up to 10,000. If the list of values is large, clear (Select All) at the top,
and then select the values to filter by
Tip: To make the AutoFilter menu wider or longer, click and drag the grip handle at the bottom.
b) Create criteria:
 Point to Date Filters and then do one of the following:
(1) Common filter:
A common filter is a filter that is based on a comparison operator.
(a) Click one of the comparison operator commands (Equals, Before, After, or Between) or
click Custom Filter.
(b) In the Custom AutoFilter dialog box, in the box on the right, enter a date or time, select a
date or time from the list, or click the Calendar button to find and enter a date.
For example, to filter by a lower and upper date or time, select Between.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 17
(c) In the Custom AutoFilter dialog box, in the box or boxes on the right, enter a date or time,
select dates or times from the list, or click the Calendar button to find and enter a date.
For example, to filter by an earlier date of "3/1/2006" and a later date of "6/1/2006", enter
3/1/2006 and 6/1/2006. Or, to filter by an earlier time of "8:00 AM" and a later time of
"12:00 PM", enter 8:00 AM and 12:00 PM.
(2) Dynamic filter:
A dynamic filter is a filter in which the criteria can change when you reapply the filter.
(a) Click one of the pre-defined date commands.
For example, to filter all dates by the current date, select Today, or to filter by the following
month, select Next Month.
(b) Click OK.
Notes:
 The commands under the All Dates in the Period menu, such as January or Quarter 2,
filter by the period, regardless of the year. Filtering this way can be useful; for example,
to compare sales by a period across several years.
 This Year and Year to Date differ in the way that future dates are handled. This Year
can return dates in the future for the current year, whereas Year to Date returns dates
only up to and including the current date.
(3) Optionally, filter by one more criteria.
4) To reapply a filter after you change the data, click a cell in the range or table and then, on the Data tab, in
the Sort & Filter group, click Reapply.
Notes
 All date filters are based on the Gregorian calendar.
 Fiscal years and fiscal quarters always start in January of the calendar year.
 If you want to filter by days of the week, format the cells to show the day of the week. If you want to filter
by the day of the week regardless of the date, convert them to text by using the TEXT function. However,
the TEXT function returns a text value, and so the filter command that is displayed is Text Filters, not
Date Filters.
Filter for top or bottom numbers
1) Do one of the following:
a) Filter a range of cells:
 Select a range of cells containing numeric data.
 On the Data tab, in the Sort & Filter group, click Filter.
b) Filter a table:
 Make sure that the active cell is in a table column that contains numeric data.
2) Click the arrow in the column header.
3) Point to Number Filters and then select Top 10.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 18
4) In the Top 10 AutoFilter dialog box, do the following.
a) In the box on the left, click Top or Bottom.
b) In the box in the middle, enter a number.
c) In the box on the right, do one of the following:
 To filter by number, click Items.
 To filter by percentage, click Percent.
5) To reapply a filter after you change the data, click a cell in the range or table and then, on the Data tab, in
the Sort & Filter group, click Reapply.
Note: Top and bottom values are based on the original range of cells or table column and not the filtered
subset of data.
Filter for above or below average numbers
1) Do one of the following:
a) Filter a range of cells:
 Select a range of cells containing numeric data.
 On the Data tab, in the Sort & Filter group, click Filter.
b) Filter a table:
 Make sure that the active cell is in a table column that contains numeric data.
2) Click the arrow in the column header.
3) Point to Number Filters and then do one or more of the following:
a) To filter by numbers that are above the average, click Above Average.
b) To filter by numbers that are below the average, click Below Average.
4) To reapply a filter after you change the data, click a cell in the range or table and then, on the Data tab, in
the Sort & Filter group, click Reapply.
Note: Above and below average numbers are based on the original range of cells or table column and not the
filtered subset of data.
Filter for blanks or nonblanks
1) Do one of the following:
a) Filter a range of cells:
 Select a range of cells.
 On the Data tab, in the Sort & Filter group, click Filter.
b) Filter a table:
 Make sure that the active cell is in a table column.
2) Click the arrow in the column header.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 19
3) Do one of the following:
a) To filter for nonblanks, in the AutoFilter menu at the top of the list of values, select the (Select All)
check box, and then at the bottom of the list of values, clear the (Blanks) check box.
b) To filter for blanks, in the AutoFilter menu at the top of the list of values, clear the (Select All) check
box, and then at the bottom of the list of values, select the (Blanks) check box.
Note: The (Blanks) check box is available only if the range of cells or table column contains at least one
blank cell.
4) To reapply a filter after you change the data, click a cell in the range or table and then, on the Data tab, in
the Sort & Filter group, click Reapply.
Filter by cell color, font color, or icon set
If you have manually or conditionally formatted a range of cells by cell color or font color, you can also filter
by these colors. You can also filter by an icon set created through a conditional format.
1) Do one of the following:
a) Filter a range of cells:
 Select a range of cells containing formatted by cell color, font color, or an icon set.
 On the Data tab, in the Sort & Filter group, click Filter.
b) Filter a table:
 Make sure that the table column contains data formatted by cell color, font color, or an icon set (no
selection is required).
2) Click the arrow in the column header.
3) Select Filter by Color and then, depending on the type of format, select Filter by Cell Color, Filter by
Font Color, or Filter by Cell Icon.
4) Depending on the type of format, select a color, font color, or cell icon.
5) To reapply a filter after you change the data, click a cell in the range or table and then, on the Data tab, in
the Sort & Filter group, click Reapply.
Filter by selection
You can quickly filter data with criteria that is equal to the contents of the active cell.
1) In a range of cells or table column, right click a cell containing the value, color, font color, or icon that you
want to filter by.
2) Click Filter, and then do one of the following:
a) To filter by text, number, or date or time, click Filter by Selected Cell's Value.
b) To filter by cell color, click Filter by Selected Cell's Color.
c) To filter by font color, click Filter by Selected Cell's Font Color.
d) To filter by icon, click Filter by Selected Cell's Icon.
3) To reapply a filter after you change the data, click a cell in the range or table and then, on the Data tab, in
the Sort & Filter group, click Reapply.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 20
Clear a filter
You can clear a filter for a specific column or clear all filters.
Clear a filter for a column
1) To clear a filter for one column in a multicolumn range of cells or table, click the Filter button on the
column heading, and then click Clear Filter from <"Column Name">.
Clear all filters in a worksheet and redisplay all rows
1) On the Data tab, in the Sort & Filter group, click Clear.
Filter by using advanced criteria
To filter a range of cells by using complex criteria, use the Advanced command in the Sort & Filter group on
the Data tab.
The Advanced command works differently from the Filter command in several important ways.
 It displays the Advanced Filter dialog box instead of the AutoFilter menu.
 You type the advanced criteria in a separate criteria range on the worksheet and above the range of cells or
table you want to filter. Microsoft Office Excel uses the separate criteria range in the Advanced Filter
dialog box as the source for the advanced criteria.
1) Click a cell in the range.
2) On the Data tab, in the Sort & Filter group, click Advanced.
3) Do one of the following:
a) To filter the range by hiding rows that don't match your criteria:
click Filter the list, in-place.
b) To filter the range by copying rows that match your criteria to
another area of the worksheet: click Copy to another location.
 Click in the Copy to box, and then click the upper-left corner
of the spreadsheet area where you want to paste the rows.
4) In the Criteria range box, enter the reference for the criteria range,
including the criteria labels.
a) To move the Advanced Filter dialog box out of the way
temporarily while you select the criteria range, click Collapse
Dialog .
5) Click OK.

Filter for unique values or remove duplicate values


In Microsoft Office Excel, you have several ways to filter for unique values or remove duplicate values:
 To filter for unique values, use the Advanced command in the Sort & Filter group on the Data tab.
 To remove duplicate values, use the Remove Duplicates command in the Data Tools group on the Data
tab.
Filtering for unique values and removing duplicate values are two closely related tasks because the displayed
results are the same — a list of unique values. The difference, however, is important: When you filter for
unique values, you temporarily hide duplicate values, but when you remove duplicate values, you permanently
delete duplicate values.
Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 21
A duplicate value is one where all values in the row are an exact match of all the values in another row.
Duplicate values are determined by the value displayed in the cell and not necessarily the value stored in the
cell. For example, if you have the same date value in different cells, one formatted as "3/8/2006" and the other
as "Mar 8, 2006", the values are unique.
It's a good idea to filter for or conditionally format unique values first to confirm that the results are what you
want before removing duplicate values.
Filter for unique values
1) Select the range of cells, or make sure the active cell is in a table.
2) On the Data tab, in the Sort & Filter group, click Advanced.
3) In the Advanced Filter dialog box, do one of the following:
a) To filter the range of cells or table in place: click Filter the list, in-place.
b) To copy the results of the filter to another location: do the following:
 Click Copy to another location.
 In the Copy to box, enter a cell reference.
(1) Alternatively, click Collapse Dialog to temporarily hide the dialog box, select a cell on the
worksheet, and then press Expand Dialog .
4) Select the Unique records only check box, and click OK.
a) The unique values from the selected range are copied to the new location.
Remove duplicate values
When you remove duplicate values, only the values in the range of cells or table are affected. Any other
values outside the range of cells or table are not altered or moved.
Caution: Because you are permanently deleting data, it's a good idea to copy the original range of cells or
table to another worksheet or workbook before removing duplicate values.
1) Select the range of cells, or make sure that the active cell is in a table.
2) On the Data tab, in the Data Tools group, click Remove Duplicates.
3) Do one or more of the following:
a) Under Columns, select one or more columns.
 To quickly select all columns, click Select All.
 To quickly clear all columns, click Unselect All.
 If the range of cells or table contains many columns and you want to only select a few columns, you
may find it easier to click Unselect All, and then under Columns, select those columns.
b) Click OK.
 A message is displayed indicating how many duplicate values were removed and how many unique
values remain, or if no duplicate values were removed.
4) Click OK.
Note: You cannot remove duplicate values from data that is outlined or that has subtotals. To remove
duplicates, you must remove both the outline and the subtotals.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 22
Using subtotals in a list of data in a worksheet
You can automatically calculate subtotals and grand totals in a list for a
column by using the Subtotal command in the Outline group on the
Data tab.
 Subtotals are calculated with a summary function, such as Sum or
Average, by using the SUBTOTAL function. You can display more
than one type of summary function for each column.
 Grand totals are derived from detail data, not from the values in
the subtotals. For example, if you use the Average summary
function, the grand total row displays an average of all detail rows
in the list, not an average of the values in the subtotal rows.
If the workbook is set to automatically calculate formulas, the Subtotal command recalculates subtotal and
grand total values automatically as you edit the detail data. The Subtotal command also outlines the list so that
you can display and hide the detail rows for each subtotal.
Insert subtotals
1) Make sure that each column has a label in the first row, contains similar facts in each column, and that the
range has no blank rows or columns.
2) Select a cell in the range.
3) Do one of the following:
a) Insert one level of subtotals:
 Sort the column that forms the group.
 On the Data tab, in the Outline group, click
Subtotal.
b) The Subtotal dialog box is displayed.
 In the At each change in box, click the column
to subtotal.
 In the Use function box, click the summary
function that you want to use to calculate the
subtotals.
 In the Add subtotal to box, select the check box
for each column that contains values that you
want to subtotal.
 If you want an automatic page break following
each subtotal, select the Page break between
groups check box.
 To specify a summary row above the details
row, clear the Summary below data check box.
To specify a summary row below the details
row, select the Summary below data check
box.
 Click OK.
Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 23
Note: optionally, you can use the Subtotals
command again by repeating the steps to add more
subtotals with different summary functions. To avoid
overwriting the existing subtotals, clear the Replace
current subtotals check box.
At each change in the Sport column…
…subtotal the Sales column.

Insert nested levels of subtotals:


You can insert subtotals for inner, nested groups within their corresponding outer groups as shown in the
following example.

At each change in the outer, Region column…


…subtotal the Sales for that region and at each change for
the inner, Sport column.

1) Sort the columns that form the groups.


2) On the Data tab, in the Outline group, click Subtotal.
a) In the At each change in box, click the column for the outer subtotals. In the example above, you
would click Region.
b) In the Use function box, click the summary function that you want to use to calculate the subtotals. In
the example above, you would select Sum.
c) In the Add subtotal to box, select the check box for each column that contains values that you want to
subtotal. In the example above, you would select Sales.
d) If you want an automatic page break following each subtotal, select the Page break between groups
check box.
e) To specify a summary row above the details row, clear the Summary below data check box. To
specify a summary row below the details row, select the Summary below data check box.
Note: optionally, you can use the Subtotals command again by repeating the steps to add more
subtotals with different summary functions. To avoid overwriting the existing subtotals, clear the
Replace current subtotals check box.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 24
3) Insert the nested subtotals:
a) On the Data tab, in the Outline group, click Subtotal.
b) In the At each change in box, click the nested subtotal column. In the example above, you would
select Sport.
c) In the Use function box, click the summary function that you want to use to calculate the subtotals. In
the example above, you would select Sum.
d) Select any other options that you want.
e) Clear the Replace current subtotals check box.
f) Repeat the previous step for more nested subtotals, working from the outermost subtotals in.
Tip: To display a summary of just the subtotals and grand totals, click the outline symbols next to the
row numbers. Use the and symbols to display or hide the detail rows for individual subtotals.
Remove subtotals
When you remove subtotals, Microsoft Office Excel also removes the outline and any page breaks that you
inserted into the list along with the subtotals.
1) Click a cell in the list that contains a subtotal.
2) On the Data tab, in the Outline group, click Subtotal.
3) The Subtotal dialog box is displayed.
4) Click Remove All.

Handout: Excel 2010 Working with Tables Topics came directly from Microsoft Excel 2010 Help.
ICT Training, Maxwell School of Syracuse University Page 25

You might also like