Doing More with PivotTables

 Introduction

As you learned in our previous lesson, Intro to PivotTables, PivotTables can be used to summarize and analyze almost any type of data. To help you manipulate your PivotTable—and gain even more insight into your data—Excel offers three additional tools: filtersslicers, and PivotCharts.

Optional: Download our practice workbook.

  • Watch the video below to learn more about enhancing PivotTables.


Introduction

Excel is a spreadsheet program that allows you to storeorganize, and analyze information. While you may believe Excel is only used by certain people to process complicated data, anyone can learn how to take advantage of the program's powerful features. Whether you're keeping a budget, organizing a training log, or creating an invoice, Excel makes it easy to work with different types of data.

Watch the video below to learn more about Excel.

Getting to know Excel

If you've previously used Excel 2010 or Excel 2013, then Excel 2016 should feel familiar. If you are new to Excel or have more experience with older versions, you should first take some time to become familiar with the Excel interface.

The Excel interface

When you open Excel 2016 for the first time, the Excel Start Screen will appear. From here, you'll be able to create a new workbook, choose a template, and access your recently edited workbooks.

  • From the Excel Start Screen, locate and select Blank workbook to access the Excel interface.
    The Excel Start screen

Click the buttons in the elow to become familiar with the Excel interface.


Working with the Excel environment

The Ribbon and Quick Access Toolbar are where you will find the commands to perform common tasks in Excel. The Backstage view gives you various options for saving, opening a file, printing, and sharing your document.

The Ribbon

Excel 2016 uses a tabbed Ribbon system instead of traditional menus. The Ribbon contains multiple tabs, each with several groups of commands. You will use these tabs to perform the most common tasks in Excel.

  • Each tab will have one or more groups.
    Groups on the ribbon
  • Some groups will have an arrow you can click for more options.
    Some groups have a menu for more options
  • Click a tab to see more commands.
    Tabs on the ribbon
  • You can adjust how the Ribbon is displayed with the Ribbon Display Options.
    The Ribbon Display Options menu

Certain programs, such as Adobe Acrobat Reader, may install additional tabs to the Ribbon. These tabs are called add-ins.

To change the Ribbon Display Options:

The Ribbon is designed to respond to your current task, but you can choose to minimize it if you find that it takes up too much screen space. Click the Ribbon Display Options arrow in the upper-right corner of the Ribbon to display the drop-down menu.

The Ribbon Display Options menu

There are three modes in the Ribbon Display Options menu:

  • Auto-hide Ribbon: Auto-hide displays your workbook in full-screen mode and completely hides the Ribbon. To show the Ribbon, click the Expand Ribbon command at the top of screen.
    Auto-hiding the ribbon
  • Show Tabs: This option hides all command groups when they're not in use, but tabs will remain visible. To show the Ribbon, simply click a tab.
    The Show Tabs setting
  • Show Tabs and Commands: This option maximizes the Ribbon. All of the tabs and commands will be visible. This option is selected by default when you open Excel for the first time.

The Quick Access Toolbar

Located just above the Ribbon, the Quick Access Toolbar lets you access common commands no matter which tab is selected. By default, it includes the SaveUndo, and Repeat commands. You can add other commands depending on your preference.

To add commands to the Quick Access Toolbar:

  1. Click the drop-down arrow to the right of the Quick Access Toolbar.
  2. Select the command you want to add from the drop-down menu. To choose from more commands, select More Commands.
    The Customize Quick Access Toolbar menu
  3. The command will be added to the Quick Access Toolbar.
    The New command on the Quick Access Toolbar

How to use Tell me:

The Tell me box works like a search bar to help you quickly find tools or commands you want to use.

The Tell me box on the ribbon
  1. Type in your own words what you want to do.
    Typing a search phrase in the Tell me box
  2. The results will give you a few relevant options. To use one, click it like you would a command on the Ribbon.
    Results from the Tell me bar

Worksheet views

Excel 2016 has a variety of viewing options that change how your workbook is displayed. These views can be useful for various tasks, especially if you're planning to print the spreadsheet. To change worksheet views, locate the commands in the bottom-right corner of the Excel window and select Normal view, Page Layout view, or Page Break view.

The worksheet view commands
  • Normal view is the default view for all worksheets in Excel.
    Normal view
  • Page Layout view displays how your worksheets will appear when printed. You can also add headers and footers in this view.
    Page Layout view
  • Page Break view allows you to change the location of page breaks, which is especially helpful when printing a lot of data from Excel.
    Page Break view

Backstage view

Backstage view gives you various options for saving, opening a file, printing, and sharing your workbooks.

To access Backstage view:

  1. Click the File tab on the RibbonBackstage view will appear.
    Click File on the Ribbon to go to the Backstage view.

Click the buttons in the interactive below to learn more about using Backstage view.

The Backstage view.

Challenge!

  1. Open Excel 2016.
  2. Click Blank Workbook to open a new spreadsheet.
  3. Change the Ribbon Display Options to Show Tabs.
  4. Using the Customize Quick Access Toolbar, click to add New, Quick Print, and Spelling.
  5. In the Tell me bar, type the word Color. Hover over Fill Color and choose a yellow. This will fill a cell with the color yellow.
  6. Change the worksheet view to the Page Layout option.
  7. When you're finished, your screen should look like this:
    Getting To Know Excel Challenge
  8. Change the Ribbon Display Options back to Show Tabs and Commands.
  9. Close Excel and Don't Save changes.

Lesson 2: Understanding OneDrive

Introduction

Many of the features in Office are geared toward saving and sharing files online. OneDrive is Microsoft’s online storage space you can use to save, edit, and share your documents and other files. You can access OneDrive from your computer, smartphone, or any of the devices you use.

To get started with OneDrive, all you need to do is set up a free Microsoft account, if you don’t already have one.

If you don't already have a Microsoft account, you can go to the Creating a Microsoft Account lesson in our Microsoft Account tutorial.

Once you have a Microsoft account, you'll be able to sign in to Office. Just click Sign in in the upper-right corner of the Excel window.

Benefits of using OneDrive

Once you’re signed in to your Microsoft account, here are a few of the things you’ll be able to do with OneDrive:

  • Access your files anywhere: When you save your files to OneDrive, you’ll be able to access them from any computer, tablet, or smartphone that has an Internet connection. You'll also be able to create new documents from OneDrive.
  • Back up your files: Saving files to OneDrive gives them an extra layer of protection. Even if something happens to your computer, OneDrive will keep your files safe and accessible.
  • Share files: It’s easy to share your OneDrive files with friends and coworkers. You can choose whether they can edit or simply read files. This option is great for collaboration because multiple people can edit a document at the same time (this is also known as co-authoring).

Saving and opening files

When you’re signed in to your Microsoft account, OneDrive will appear as an option whenever you save or open a file. You still have the option of saving files to your computer. However, saving files to your OneDrive allows you to access them from any other computer, and it also allows you to share files with friends and coworkers.

For example, when you click Save As, you can select either OneDrive or This PC as the save location.

Lesson 3: Creating and Opening Workbooks

Introduction

Excel files are called workbooks. Whenever you start a new project in Excel, you'll need to create a new workbook. There are several ways to start working with a workbook in Excel. You can choose to create a new workbook—either with a blank workbook or a predesigned template—or open an existing workbook.

Watch the video below to learn more about creating and opening workbooks in Excel.

About OneDrive

Whenever you're opening or saving a workbook, you'll have the option of using your OneDrive, which is the online file storage service included with your Microsoft account. To enable this option, you'll need to sign in to Office. To learn more, visit our lesson on Understanding OneDrive.

OneDrive on the Open tab


To create a new blank workbook:

  1. Select the File tab. Backstage view will appear.
    Click the File tab to go to the Backstage view.
  2. Select New, then click Blank workbook.
    Click Blank workbook in the New tab.
  3. A new blank workbook will appear.

To open an existing workbook:

In addition to creating new workbooks, you'll often need to open a workbook that was previously saved. To learn more about saving workbooks, visit our lesson on Saving and Sharing Workbooks.

  1. Navigate to Backstage view, then click Open.
    Open in the Backstage view
  2. Select Computer, then click Browse. Alternatively, you can choose OneDrive to open files stored on your OneDrive.
    Browse
  3. The Open dialog box will appear. Locate and select your workbook, then click Open.
    The Open dialog

If you've opened the desired workbook recently, you can browse your Recent Workbooks rather than search for the file.

Open a recent workbook

To pin a workbook:

If you frequently work with the same workbook, you can pin it to Backstage view for faster access.

  1. Navigate to Backstage view, then click Open. Your recently edited workbooks will appear.
    Navigate to recently edited workbooks
  2. Hover the mouse over the workbook you want to pin. A pushpin icon will appear next to the workbook. Click the pushpin icon.
    Pin a recent workbook
  3. The workbook will stay in Recent Workbooks. To unpin a workbook, simply click the pushpin icon again.
    A pinned workbook

Using templates

template is a predesigned spreadsheet you can use to create a new workbook quickly. Templates often include custom formatting and predefined formulas, so they can save you a lot of time and effort when starting a new project.

To create a new workbook from a template:

  1. Click the File tab to access Backstage view.
    Click File to go to the Backstage View
  2. Select New. Several templates will appear below the Blank workbook option.
  3. Select a template to review it.
    Selecting a template
  4. preview of the template will appear, along with additional information on how the template can be used.
  5. Click Create to use the selected template.
    Creating a new workbook with a template
  6. A new workbook will appear with the selected template.

You can also browse templates by category or use the search bar to find something more specific.

Searching for a template

It's important to note that not all templates are created by Microsoft. Many are created by third-party providers and even individual users, so some templates may work better than others.

Compatibility Mode

Sometimes you may need to work with workbooks that were created in earlier versions of Microsoft Excel, such as Excel 2003 or Excel 2000. When you open these types of workbooks, they will appear in Compatibility Mode.

Compatibility Mode disables certain features, so you'll only be able to access commands found in the program that was used to create the workbook. For example, if you open a workbook created in Excel 2003, you can only use tabs and commands found in Excel 2003.

In the image below, you can see that the workbook is in Compatibility Mode, which is indicated at the top of the window to the right of the file name. This will disable some Excel 2016 features, and they will be grayed out on the Ribbon.

Disabled commands in Compatibility mode

In order to exit Compatibility Mode, you'll need to convert the workbook to the current version type. However, if you're collaborating with others who only have access to an earlier version of Excel, it's best to leave the workbook in Compatibility Mode so the format will not change.

To convert a workbook:

If you want access to all of the Excel 2016 features, you can convert the workbook to the 2016 file format.

Note that converting a file may cause some changes to the original layout of the workbook.

  1. Click the File tab to access Backstage view.
    Clicking the File tab
  2. Locate and select Convert command.
    Converting the workbook to the newest file type
  3. The Save As dialog box will appear. Select the location where you want to save the workbook, enter a file name for the workbook, and click Save.
    Saving a new version of the workbook
  4. The workbook will be converted to the newest file type.

Challenge!

  1. Open our practice workbook.
  2. Notice that our workbook opens in Compatibility ModeConvert the workbook to the 2016 file format. A dialog box will appear asking if you would like to close and reopen the file in order to see the new features. Choose Yes.
  3. Lastly, in the Backstage view, pin a file or folder.

Lesson 4: Saving and Sharing Workbooks

Introduction

Whenever you create a new workbook in Excel, you'll need to know how to save it in order to access and edit it later. As with previous versions of Excel, you can save files locally to your computer. But unlike older versions, Excel 2016 also lets you save a workbook to the cloud using OneDrive. You can also export and share workbooks with others directly from Excel.

Watch the video below to learn more about saving and sharing workbooks in Excel.

About OneDrive

Whenever you're opening or saving a workbook, you'll have the option of using your OneDrive, which is the online file storage service included with your Microsoft account. To enable this option, you'll need to sign in to Office. To learn more, visit our lesson on Understanding OneDrive.

Accessing OneDrive

Save and Save As

Excel offers two ways to save a file: Save and Save As. These options work in similar ways, with a few important differences:

  • Save: When you create or edit a workbook, you'll use the Save command to save your changes. You'll use this command most of the time. When you save a file, you'll only need to choose a file name and location the first time. After that, you can just click the Save command to save it with the same name and location.
  • Save As: You'll use this command to create a copy of a workbook while keeping the original. When you use Save As, you'll need to choose a different name and/or location for the copied version.

To save a workbook:

It's important to save your workbook whenever you start a new project or make changes to an existing one. Saving early and often can prevent your work from being lost. You'll also need to pay close attention to where you save the workbook so it will be easy to find later.

  1. Locate and select the Save command on the Quick Access Toolbar.
    Clicking the Save command
  2. If you're saving the file for the first time, the Save As pane will appear in Backstage view.
  3. You'll then need to choose where to save the file and give it a file name. To save the workbook to your computer, select Computer, then click Browse. Alternatively, you can click OneDrive to save the file to your OneDrive.
    Saving a workbook locally
  4. The Save As dialog box will appear. Select the location where you want to save the workbook.
  5. Enter a file name for the workbook, then click Save.
    Saving a workbook
  6. The workbook will be saved. You can click the Save command again to save your changes as you modify the workbook.

You can also access the Save command by pressing Ctrl+S on your keyboard.

Using Save As to make a copy

If you want to save a different version of a workbook while keeping the original, you can create a copy. For example, if you have a file named Sales Data, you could save it as Sales Data 2 so you'll be able to edit the new file and still refer back to the original version.

To do this, you'll click the Save As command in Backstage view. Just like when saving a file for the first time, you'll need to choose where to save the file and give it a new file name.

Clicking Save As

To change the default save location:

If you don't want to use OneDrive, you may be frustrated that OneDrive is selected as the default location when saving. If you find it inconvenient to select Computer each time, you can change the default save location so Computer is selected by default.

  1. Click the File tab to access Backstage view.
    Clicking the File tab
  2. Click Options.
    Clicking Options
  3. The Excel Options dialog box will appear. Select Savecheck the box next to Save to Computer by default, then click OK. The default save location will be changed.
    Clicking the default save location

AutoRecover

Excel automatically saves your workbooks to a temporary folder while you are working on them. If you forget to save your changes or if Excel crashes, you can restore the file using AutoRecover.

To use AutoRecover:

  1. Open Excel. If autosaved versions of a file are found, the Document Recovery pane will appear.
  2. Click to open an available file. The workbook will be recovered.
    The Document Recovery pane

By default, Excel autosaves every 10 minutes. If you are editing a workbook for less than 10 minutes, Excel may not create an autosaved version.

If you don't see the file you need, you can browse all autosaved files from Backstage view. Just select the File tab, click Manage Versions, then choose Recover Unsaved Workbooks.

Accessing all auto-saved files

Exporting workbooks

By default, Excel workbooks are saved in the .xlsx file type. However, there may be times when you need to use another file type, such as a PDF or Excel 97-2003 workbook. It's easy to export your workbook from Excel to a variety of file types.

To export a workbook as a PDF file:

Exporting your workbook as an Adobe Acrobat document, commonly known as a PDF file, can be especially useful if you're sharing a workbook with someone who does not have Excel. A PDF will make it possible for recipients to view but not edit the content of your workbook.

  1. Click the File tab to access Backstage view.
  2. Click Export, then select Create PDF/XPS.
    Exporting a PDF file
  3. The Save As dialog box will appear. Select the location where you want to export the workbook, enter a file name, then click Publish.
    Exporting a PDF file

By default, Excel will only export the active worksheet. If you have multiple worksheets and want to save all of them in the same PDF file, click Options in the Save As dialog box. The Options dialog box will appear. Select Entire workbook, then click OK.

Exporting the entire workbook

Whenever you export a workbook as a PDF, you'll also need to consider how your workbook data will appear on each page of the PDF, just like printing a workbook. Visit our Page Layout and Printing lesson to learn more about what to consider before exporting a workbook as a PDF.

To export a workbook to other file types:

You may also find it helpful to export your workbook to other file types, such as an Excel 97-2003 workbook if you need to share with people using an older version of Excel, or a .CSV file if you need a plain-text version of your workbook.

  1. Click the File tab to access Backstage view.
  2. Click Export, then select Change File Type.
    Clicking Change File Type
  3. Select a common file type, then click Save As.
    Choosing another file type
  4. The Save As dialog box will appear. Select the location where you want to export the workbook, enter a file name, then click Save.
    Saving as an Excel 97-2003 workbook

You can also use the Save as type: drop-down menu in the Save As dialog box to save workbooks in a variety of file types.

Using the Save As type menu to choose a file type

Sharing workbooks

Excel makes it easy to share and collaborate on workbooks using OneDrive. In the past, if you wanted to share a file with someone you could send it as an email attachment. While convenient, this system also creates multiple versions of the same file, which can be difficult to organize.

When you share a workbook from Excel, you're actually giving others access to the exact same file. This lets you and the people you share with edit the same workbook without having to keep track of multiple versions.

In order to share a workbook, it must first be saved to your OneDrive.

To share a workbook:

  1. Click the File tab to access Backstage view, then click Share.

    Clicking Share
  2. The Share pane will appear. If you have not already done so, you will be prompted to save your document to OneDrive. Note that you may need to navigate back to the Share pane after saving.
    Clicking Save to Cloud
  3. On the Share pane, if your document is saved to OneDrive, click the Share with People button.
    Clicking Share with People
  4. Excel will return to Normal view and open the Share panel on the right side of the window. From here, you can invite people to share your document, see a list of who has access to the document, and set whether they can edit or only view the document.
    The Share panel

Challenge!

  1. Open our practice workbook.
  2. Using the Save As option, create a copy of the workbook and name it Saving Practice Challenge. You can save the copy to a folder on your computer or to your OneDrive.
  3. Export the workbook as a PDF file.

Lesson 5: Cell Basics

Introduction

Whenever you work with Excel, you'll enter information—or content—into cells. Cells are the basic building blocks of a worksheet. You'll need to learn the basics of cells and cell content to calculate, analyze, and organize data in Excel.

Optional: Download our practice workbook.

Watch the video below to learn more about the basics of working with cells.

Understanding cells

Every worksheet is made up of thousands of rectangles, which are called cells. A cell is the intersection of a row and a column—in other words, where a row and column meet.

Columns are identified by letters (A, B, C), while rows are identified by numbers (1, 2, 3). Each cell has its own name—or cell address—based on its column and row. In the example below, the selected cell intersects column C and row 5, so the cell address is C5.

cell C5

Note that the cell address also appears in the Name box in the top-left corner, and that a cell's column and row headings are highlighted when the cell is selected.

You can also select multiple cells at the same time. A group of cells is known as a cell range. Rather than a single cell address, you will refer to a cell range using the cell addresses of the first and last cells in the cell range, separated by a colon. For example, a cell range that included cells A1, A2, A3, A4, and A5 would be written as A1:A5. Take a look at the different cell ranges below:

  • Cell range A1:A8

    cell range A1:A8

  • Cell range A1:F1
    cell range A1:F1
  • Cell range A1:F8
    cell range A1:F8

If the columns in your spreadsheet are labeled with numbers instead of letters, you'll need to change the default reference style for Excel. Review our Extra on What are Reference Styles? to learn how.

To select a cell:

To input or edit cell content, you'll first need to select the cell.

  1. Click a cell to select it. In our example, we'll select cell D9.
  2. A border will appear around the selected cell, and the column heading and row heading will be highlighted. The cell will remain selected until you click another cell in the worksheet.
    selecting cell D9

You can also select cells using the arrow keys on your keyboard.

To select a cell range:

Sometimes you may want to select a larger group of cells, or a cell range.

  1. Click and drag the mouse until all of the adjoining cells you want to select are highlighted. In our example, we'll select the cell range B5:C18.
  2. Release the mouse to select the desired cell range. The cells will remain selected until you click another cell in the worksheet.
    selecting cell range B5:C18

Cell content

Any information you enter into a spreadsheet will be stored in a cell. Each cell can contain different types of content, including textformattingformulas, and functions.

  • Text: Cells can contain text, such as letters, numbers, and dates.
    content entered into cells
  • Formatting attributes: Cells can contain formatting attributes that change the way letters, numbers, and dates are displayed. For example, percentages can appear as 0.15 or 15%. You can even change a cell's text or background color.
    the same cell content with different formatting
  • Formulas and functions: Cells can contain formulas and functions that calculate cell values. In our example, SUM(B2:B8) adds the value of each cell in the cell range B2:B8 and displays the total in cell B9.
    a cell containing a formula

To insert content:

  1. Click a cell to select it. In our example, we'll select cell F9.
    selecting cell F9
  2. Type something into the selected cell, then press Enter on your keyboard. The content will appear in the cell and the formula bar. You can also input and edit cell content in the formula bar.

To delete (or clear) cell content:

  1. Select the cell(s) with content you want to delete. In our example, we'll select the cell range A10:H10.
    selecting cells A10:H10
  2. Select the Clear command on the Home tab, then click Clear Contents.
    selecting the Clear Contents command
  3. The cell contents will be deleted.
    the cleared cell range

You can also use the Delete key on your keyboard to delete content from multiple cells at once. The Backspace key will only delete content from one cell at a time.

To delete cells:

There is an important difference between deleting the content of a cell and deleting the cell itself. If you delete the entire cell, the cells below it will shift to fill in the gaps and replace the deleted cells.

  1. Select the cell(s) you want to delete. In our example, we'll select A10:H10.

    selecting cell range A10:H10

  2. Select the Delete command from the Home tab on the Ribbon.
    clicking the Delete command on the Home tab
  3. The cells below will shift up and fill in the gaps.
    the shifted cells after deleting

To copy and paste cell content:

Excel allows you to copy content that is already entered into your spreadsheet and paste that content to other cells, which can save you time and effort.

  1. Select the cell(s) you want to copy. In our example, we'll select F9.
    selecting cell F9
  2. Click the Copy command on the Home tab, or press Ctrl+C on your keyboard.
    clicking the Copy command on the Home tab
  3. Select the cell(s) where you want to paste the content. In our example, we'll select F12:F17. The copied cell(s) will have a dashed box around them.
    selecting a destination for the copied cell(s)
  4. Click the Paste command on the Home tab, or press Ctrl+V on your keyboard.
    selecting the Paste command
  5. The content will be pasted into the selected cells.
    the pasted content

To access more paste options:

You can also access additional paste options, which are especially convenient when working with cells that contain formulas or formatting. Just click the drop-down arrow on the Paste command to see these options.

clicking the Paste command drop-down menu

Instead of choosing commands from the Ribbon, you can access commands quickly by right-clicking. Simply select the cell(s) you want to format, then right-click the mouse. A drop-down menu will appear, where you'll find several commands that are also located on the Ribbon.

right-clicking to access cut, copy, and paste options

To cut and paste cell content:

Unlike copying and pasting, which duplicates cell content, cutting allows you to move content between cells.

  1. Select the cell(s) you want to cut. In our example, we'll select G5:G6.
  2. Right-click the mouse and select the Cut command. Alternatively, you can use the command on the Home tab, or press Ctrl+X on your keyboard.
    selecting the Cut command from the right-click menu
  3. Select the cells where you want to paste the content. In our example, we'll select F10:F11. The cut cells will now have a dashed box around them.
  4. Right-click the mouse and select the Paste command. Alternatively, you can use the command on the Home tab, or press Ctrl+V on your keyboard.
    pasting the cut cells
  5. The cut content will be removed from the original cells and pasted into the selected cells.
    the pasted cells

To drag and drop cells:

Instead of cutting, copying, and pasting, you can drag and drop cells to move their contents.

  1. Select the cell(s) you want to move. In our example, we'll select H4:H12.
  2. Hover the mouse over the border of the selected cell(s) until the mouse changes to a pointer with four arrows.
    hovering over the border of a selected cell range
  3. Click and drag the cells to the desired location. In our example, we'll move them to G4:G12.
    dragging the cells to a new location
  4. Release the mouse. The cells will be dropped in the selected location.
    the dropped cells in their new location

To use the fill handle:

If you're copying cell content to adjacent cells in the same row or column, the fill handle is a good alternative to the copy and paste commands.

  1. Select the cell(s) containing the content you want to use, then hover the mouse over the lower-right corner of the cell so the fill handle appears.
    the fill handle
  2. Click and drag the fill handle until all of the cells you want to fill are selected. In our example, we'll select G13:G17.
    dragging the fill handle down
  3. Release the mouse to fill the selected cells.
    the filled cells

To continue a series with the fill handle:

The fill handle can also be used to continue a series. Whenever the content of a row or column follows a sequential order, like numbers (1, 2, 3) or days (Monday, Tuesday, Wednesday), the fill handle can guess what should come next in the series. In most cases, you will need to select multiple cells before using the fill handle to help Excel determine the series order. Let's take a look at an example:

  1. Select the cell range that contains the series you want to continue. In our example, we'll select E4:G4.
  2. Click and drag the fill handle to continue the series.
    continuing a series with the fill handle
  3. Release the mouse. If Excel understood the series, it will be continued in the selected cells. In our example, Excel added Part 4Part 5, and Part 6 to H4:J4.
    the finished series

You can also double-click the fill handle instead of clicking and dragging. This can be useful with larger spreadsheets, where clicking and dragging may be awkward.

Watch the video below to see an example of double-clicking the fill handle.


Challenge!

  1. Open our practice workbook.
  2. Select cell D6 and type hlee.
  3. Clear the contents in row 14.
  4. Delete column G.
  5. Using either cut and paste or drag and drop, move the contents of row 18 to row 14.
  6. Use the fill handle to put an X in cells F9:F17.
  7. When you're finished, your workbook should look like this:
    Cell Basics Challenge

Lesson 6: Modifying Columns, Rows, and Cells

Introduction

By default, every row and column of a new workbook is set to the same height and width. Excel allows you to modify column width and row height in different ways, including wrapping text and merging cells.

Optional: Download our practice workbook.

Watch the video below to learn more about modifying columns, rows, and cells.

To modify column width:

In our example below, column C is too narrow to display all of the content in these cells. We can make all of this content visible by changing the width of column C.

  1. Position the mouse over the column line in the column heading so the cursor becomes a double arrow.
    positioning the mouse over the column line
  2. Click and drag the mouse to increase or decrease the column width.
    increasing the column width
  3. Release the mouse. The column width will be changed.
    the resized column

With numerical data, the cell will display pound signs (#######) if the column is too narrow. Simply increase the column width to make the data visible.

To AutoFit column width:

The AutoFit feature will allow you to set a column's width to fit its content automatically.

  1. Position the mouse over the column line in the column heading so the cursor becomes a double arrow.
    autofitting the column width
  2. Double-click the mouse. The column width will be changed automatically to fit the content.
    the autofit column width

You can also AutoFit the width for several columns at the same time. Simply select the columns you want to AutoFit, then select the AutoFit Column Width command from the Format drop-down menu on the Home tab. This method can also be used for row height.

autofitting column width for multiple columns

To modify row height:

  1. Position the cursor over the row line so the cursor becomes a double arrow.
    hovering over a row line
  2. Click and drag the mouse to increase or decrease the row height.
    decreasing the row height
  3. Release the mouse. The height of the selected row will be changed.
    the new row height

To modify all rows or columns:

Instead of resizing rows and columns individually, you can modify the height and width of every row and column at the same time. This method allows you to set a uniform size for every row and column in your worksheet. In our example, we will set a uniform row height.

  1. Locate and click the Select All button just below the name box to select every cell in the worksheet.
    selecting all cells in a worksheet
  2. Position the mouse over a row line so the cursor becomes a double arrow.
  3. Click and drag the mouse to increase or decrease the row height, then release the mouse when you are satisfied. The row height will be changed for the entire worksheet.
    the new, uniform row height

      Inserting, deleting, moving, and hiding

      After you've been working with a workbook for a while, you may find that you want to insert new columns or rows, delete certain rows or columns, move them to a different location in the worksheet, or even hide them.

      To insert rows:

      1. Select the row heading below where you want the new row to appear. In this example, we want to insert a row between rows 4 and 5, so we'll select row 5.
        selecting row 5
      2. Click the Insert command on the Home tab.
        clicking the Insert command
      3. The new row will appear above the selected row.
        the newly inserted row

      When inserting new rows, columns, or cells, you will see a paintbrush icon next to the inserted cells. This button allows you to choose how Excel formats these cells. By default, Excel formats inserted rows with the same formatting as the cells in the row above. To access more options, hover your mouse over the icon, then click the drop-down arrow.

      choosing more insert formatting options

      To insert columns:

      1. Select the column heading to the right of where you want the new column to appear. For example, if you want to insert a column between columns D and E, select column E.
        selecting column E
      2. Click the Insert command on the Home tab.
        clicking the Insert command
      3. The new column will appear to the left of the selected column.
        the newly inserted column

      When inserting rows and columns, make sure you select the entire row or column by clicking the heading. If you select only a cell in the row or column, the Insert command will only insert a new cell.

      To delete a row or column:

      It's easy to delete a row or column that you no longer need. In our example we'll delete a row, but you can delete a column the same way.

      1. Select the row you want to delete. In our example, we'll select row 9.
        selecting row 9
      2. Click the Delete command on the Home tab.
        clicking the delete command
      3. The selected row will be deleted, and those around it will shift. In our example, row 10 has moved up, so it's now row 9.
        the shifted rows after deleting

      It's important to understand the difference between deleting a row or column and simply clearing its contents. If you want to remove the content from a row or column without causing others to shift, right-click a heading, then select Clear Contents from the drop-down menu.

      clearing the contents of a row instead of deleting

      To move a row or column:

      Sometimes you may want to move a column or row to rearrange the content of your worksheet. In our example we'll move a column, but you can move a row in the same way.

      1. Select the desired column heading for the column you want to move.
        selecting a column to move
      2. Click the Cut command on the Home tab, or press Ctrl+X on your keyboard.
        selecting the Cut command
      3. Select the column heading to the right of where you want to move the column. For example, if you want to move a column between columns E and F, select column F.
        selecting an adjacent column to insert the cut cells
      4. Click the Insert command on the Home tab, then select Insert Cut Cells from the drop-down menu.
        inserting the cut cells
      5. The column will be moved to the selected location, and the columns around it will shift.
        the moved column in its new location

      You can also access the Cut and Insert commands by right-clicking the mouse and selecting the desired commands from the drop-down menu.

      accessing commands from the right-click menu

      To hide and unhide a row or column:

      At times, you may want to compare certain rows or columns without changing the organization of your worksheet. To do this, Excel allows you to hide rows and columns as needed. In our example we'll hide a few columns, but you can hide rows in the same way.

      1. Select the columns you want to hide, right-click the mouse, then select Hide from the formatting menu. In our example, we'll hide columns C, D, and E.
        selecting the hide columns command
      2. The columns will be hidden. The green column line indicates the location of the hidden columns.
        the hidden columns
      3. To unhide the columns, select the columns on both sides of the hidden columns. In our example, we'll select columns B and F. Then right-click the mouse and select Unhide from the formatting menu.
        selecting the columns adjacent to the hidden columns
      4. The hidden columns will reappear.
        the unhidden columns

      Wrapping text and merging cells

      Whenever you have too much cell content to be displayed in a single cell, you may decide to wrap the text or merge the cell rather than resize a column. Wrapping the text will automatically modify a cell's row height, allowing cell contents to be displayed on multiple lines. Merging allows you to combine a cell with adjacent empty cells to create one large cell.

      To wrap text in cells:

      1. Select the cells you want to wrap. In this example, we'll select the cells in column C.
      2. Click the Wrap Text command on the Home tab.
        clicking the Wrap text command on the Home tab
      3. The text in the selected cells will be wrapped.
        the text wrapped within column C

      Click the Wrap Text command again to unwrap the text.

      To merge cells using the Merge & Center command:

      1. Select the cell range you want to merge. In our example, we'll select A1:F1.
      2. Click the Merge & Center command on the Home tab. In our example, we'll select the cell range A1:F1.
        selecting cells to merge
      3. The selected cells will be merged, and the text will be centered.
        the newly merged cells

      To access more merge options:

      If you click the drop-down arrow next to the Merge & Center command on the Home tab, the Merge drop-down menu will appear.

      other cell merge options

      From here, you can choose to:

      • Merge & Center: merges the selected cells into one cell and centers the text
      • Merge Across: merges the selected cells into larger cells while keeping each row separate
      • Merge Cells: merges the selected cells into one cell but does not center the text
      • Unmerge Cells: unmerges selected cells

      You'll want to be careful when using this feature. If you merge multiple cells that all contain data, Excel will keep only the contents of the upper-left cell and discard everything else.

      To center across selection:

      Merging can be useful for organizing your data, but it can also create problems later on. For example, it can be difficult to move, copy, and paste content from merged cells. A good alternative to merging is Center Across Selection, which creates a similar effect without actually combining cells.

      Watch the video below to learn why you should use Center Across Selection instead of merging cells.

      1. Select the desired cell range. In our example, we'll select A1:F1Note: If you already merged these cells, you should unmerge them before continuing to step 2.
      2. Click the small arrow in the lower-right corner of the Alignment group on the Home tab.
        clicking the Alignment group pop-out arrow
      3. A dialog box will appear. Locate and select the Horizontal drop-down menu, select Center Across Selection, then click OK.
        selecting Center Across Selection
      4. The content will be centered across the selected cell range. As you can see, this creates the same visual result as merging and centering, but it preserves each cell within A1:F1.
        the text centered across the selection

        Challenge!

        1. Open our practice workbook.
        2. Autofit Column Width for the entire workbook.
        3. Modify the row height for rows 3 to 14 to 22.5 (30 pixels).
        4. Delete row 10.
        5. Insert a column to the left of column C. Type SECONDARY CONTACT in cell C2.
        6. Make sure cell C2 is still selected and choose Wrap Text.
        7. Merge and Center cells A1:F1.
        8. Hide the Billing Address and Phone columns.
        9. When you're finished, your workbook should look something like this:
          Modifying Challenge

        Lesson 7: Formatting Cells

        Introduction

        All cell content uses the same formatting by default, which can make it difficult to read a workbook with a lot of information. Basic formatting can customize the look and feel of your workbook, allowing you to draw attention to specific sections and making your content easier to view and understand.

        Optional: Download our practice workbook.

        Watch the video below to learn more about formatting cells in Excel.

        To change the font size:

        1. Select the cell(s) you want to modify.
          Selecting a cell
        2. On the Home tab, click the drop-down arrow next to the Font Size command, then select the desired font size. In our example, we will choose 24 to make the text larger.
          Selecting a font size in the dropdown menu
        3. The text will change to the selected font size.
          The selected cell is a larger font size now

        You can also use the Increase Font Size and Decrease Font Size commands or enter a custom font size using your keyboard.

        The custom font box, increase font size button, and decrease font size button

        To change the font:

        By default, the font of each new workbook is set to Calibri. However, Excel provides many other fonts you can use to customize your cell text. In the example below, we'll format our title cell to help distinguish it from the rest of the worksheet.

        1. Select the cell(s) you want to modify.
          Selecting a cell
        2. On the Home tab, click the drop-down arrow next to the Font command, then select the desired font. In our example, we'll choose Century Gothic.
          Selecting a font in the dropdown menu
        3. The text will change to the selected font.
          The selected cell is a different font now

        When creating a workbook in the workplace, you'll want to select a font that is easy to read. Along with Calibri, standard reading fonts include Cambria, Times New Roman, and Arial.

        To change the font color:

        1. Select the cell(s) you want to modify.
          Selecting a cell
        2. On the Home tab, click the drop-down arrow next to the Font Color command, then select the desired font color. In our example, we'll choose Green.
          Selecting a color in the dropdown menu
        3. The text will change to the selected font color.
          The selected cell is a different color now

        Select More Colors at the bottom of the menu to access additional color options. We've changed the font color to a bright pink.

        Selecting more colors.

        To use the Bold, Italic, and Underline commands:

        1. Select the cell(s) you want to modify.
          Selecting a cell
        2. Click the Bold (B), Italic (I), or Underline (U) command on the Home tab. In our example, we'll make the selected cells bold.
          Clicking the Bold button
        3. The selected style will be applied to the text.
          The selected cell is now bold

        You can also press Ctrl+B on your keyboard to make selected text boldCtrl+I to apply italics, and Ctrl+U to apply an underline.

        Cell borders and fill colors

        Cell borders and fill colors allow you to create clear and defined boundaries for different sections of your worksheet. Below, we'll add cell borders and fill color to our header cells to help distinguish them from the rest of the worksheet.

        To add a fill color:

        1. Select the cell(s) you want to modify.
          Selecting cells
        2. On the Home tab, click the drop-down arrow next to the Fill Color command, then select the fill color you want to use. In our example, we'll choose a dark gray.
          The Fill Color dropdown menu
        3. The selected fill color will appear in the selected cells. We've also changed the font color to white to make it more readable with this dark fill color.

          The fill color has been applied to the selected cells

        To add a border:

        1. Select the cell(s) you want to modify.
          Selecting cells
        2. On the Home tab, click the drop-down arrow next to the Borders command, then select the border style you want to use. In our example, we'll choose to display All Borders.
          Borders dropdown menu
        3. The selected border style will appear.
          The borders have been applied to the selected cells

        You can draw borders and change the line style and color of borders with the Draw Borders tools at the bottom of the Borders drop-down menu.

        The Draw Borders submenu

        Cell styles

        Instead of formatting cells manually, you can use Excel's predesigned cell styles. Cell styles are a quick way to include professional formatting for different parts of your workbook, such as titles and headers.

        To apply a cell style:

        In our example, we'll apply a new cell style to our existing title and header cells.

        1. Select the cell(s) you want to modify.
          Selecting cells
        2. Click the Cell Styles command on the Home tab, then choose the desired style from the drop-down menu.
          The cell styles dropdown menu
        3. The selected cell style will appear.
          The cell style has been applied to the selected cells

        Applying a cell style will replace any existing cell formatting except for text alignment. You may not want to use cell styles if you've already added a lot of formatting to your workbook.

        Text alignment

        By default, any text entered into your worksheet will be aligned to the bottom-left of a cell, while any numbers will be aligned to the bottom-right. Changing the alignment of your cell content allows you to choose how the content is displayed in any cell, which can make your cell content easier to read.

        Click the arrows in the slideshow below to learn more about the different text alignment options.

        • Screenshot of Excel 2013

          Left Align: Aligns content to the left border of the cell

        • Screenshot of Excel 2013

          Center Align: Aligns content an equal distance from the left and right borders of the cell

        • Screenshot of Excel 2013

          Right Align: Aligns content to the right border of the cell

        • Screenshot of Excel 2013

          Top Align: Aligns content to the top border of the cell

        • Screenshot of Excel 2013

          Middle Align: Aligns content an equal distance from the top and bottom borders of the cell

        • Screenshot of Excel 2013

          Bottom Align: Aligns content to the bottom border of the cell

        To change horizontal text alignment:

        In our example below, we'll modify the alignment of our title cell to create a more polished look and further distinguish it from the rest of the worksheet.

        1. Select the cell(s) you want to modify.
          Selecting cells
        2. Select one of the three horizontal alignment commands on the Home tab. In our example, we'll choose Center Align.
          The alignment command buttons
        3. The text will realign.
          The selected cells are now center aligned.

        To change vertical text alignment:

        1. Select the cell(s) you want to modify.
          Selecting cells
        2. Select one of the three vertical alignment commands on the Home tab. In our example, we'll choose Middle Align.
          The alignment command buttons
        3. The text will realign.
          The selected cells are now middle aligned.

        You can apply both vertical and horizontal alignment settings to any cell.

        Format Painter

        If you want to copy formatting from one cell to another, you can use the Format Painter command on the Home tab. When you click the Format Painter, it will copy all of the formatting from the selected cell. You can then click and drag over any cells you want to paste the formatting to.

        Screenshot of Format Painter command

        Watch the video below to learn two different ways to use the Format Painter.

        Challenge!

        1. Open our practice workbook.
        2. Click the Challenge worksheet tab in the bottom-left of the workbook.
        3. Change the cell style in cells A2:H2 to Accent 3.
        4. Change the font size of row 1 to 36 and the font size for the rest of the rows to 18.
        5. Bold and underline the text in row 2.
        6. Change the font of row 1 to a font of your choice.
        7. Change the font of the rest of the rows to a different font of your choice.
        8. Change the font color of row 1 to a color of your choice.
        9. Select all of the text in the worksheet, and change the horizontal alignment to center align and the vertical alignment to middle align.
        10. When you're finished, your worksheet should look something like this:

          Formatting Cells Challenge

        Lesson 8: Understanding Number Formats

        What are number formats?

        Whenever you're working with a spreadsheet, it's a good idea to use appropriate number formats for your data. Number formats tell your spreadsheet exactly what type of data you're using, like percentages (%), currency ($), times, dates, and so on.

        Watch the video below to learn more about number formats in Excel.

        Why use number formats?

        Number formats don't just make your spreadsheet easier to read—they also make it easier to use. When you apply a number format, you're telling your spreadsheet exactly what types of values are stored in a cell. For example, the date format tells the spreadsheet that you're entering specific calendar dates. This allows the spreadsheet to better understand your data, which can help ensure that your data remains consistent and that your formulas are calculated correctly.

        If you don't need to use a specific number format, the spreadsheet will usually apply the general number format by default. However, the general format may apply some small formatting changes to your data.

        Applying number formats

        Just like other types of formatting, such as changing the font color, you'll apply number formats by selecting cells and choosing the desired formatting option. There are two main ways to choose a number format:

        • Go to the Home tab, click the Number Format drop-down menu in the Number group, and select the desired format.
          The Number Format menu
        • You can also click one of the quick number-formatting commands below the drop-down menu.
          The Number formatting quick commands

        You can also select the desired cells and press Ctrl+1 on your keyboard to access more number-formatting options.

        In this example, we've applied the Currency number format, which adds currency symbols ($) and displays two decimal places for any numerical values.

        Applying the Currency format

        If you select any cells with number formatting, you can see the actual value of the cell in the formula bar. The spreadsheet will use this value for formulas and other calculations.

        The actual value in the formula bar

        Using number formats correctly

        There's more to number formatting than selecting cells and applying a format. Spreadsheets can actually apply a lot of number formatting automatically based on the way you enter data. This means you'll need to enter data in a way the program can understand, and then ensure that those cells are using the proper number format. For example, the image below shows how to use number formats correctly for dates, percentages, and times:

        chart illustration best practices for number formatting in spreadsheets

        Now that you know more about how number formats work, we'll look at a few different number formats in action.

        Percentage formats

        One of the most helpful number formats is the percentage (%) format. It displays values as percentages, such as 20% or 55%. This is especially helpful when calculating things like the cost of sales tax or a tip. When you type a percent sign (%) after a number, the percentage number format will be be applied to that cell automatically.

        screenshot of excel 2013

        As you may remember from math class, a percentage can also be written as a decimal. So 15% is the same thing as 0.15, 7.5% is 0.075, 20% is 0.20, 55% is 0.55, and so on. You can review this lesson from our Math tutorials to learn more about converting percentages to decimals.

        There are many times when percentage formatting will be useful. For example, in the images below, notice how the sales tax rate is formatted differently for each spreadsheet (5, 5%, and 0.05):

        image showing correct and incorrect calculations based on percentage formatting

        As you can see, the calculation in the spreadsheet on the left didn't work correctly. Without the percentage number format, our spreadsheet thinks we want to multiply $22.50 by 5, not 5%. And while the spreadsheet on the right still works without percentage formatting, the spreadsheet in the middle is easier to read.

        Date formats

        Whenever you're working with dates, you'll want to use a date format to tell the spreadsheet that you're referring to specific calendar dates, such as July 15, 2014. Date formats also allow you to work with a powerful set of date functions that use time and date information to calculate an answer.

        Spreadsheets don't understand information the same way a person would. For instance, if you type October into a cell, the spreadsheet won't know you're entering a date so it will treat it like any other text. Instead, when you enter a date, you'll need to use a specific format your spreadsheet understands, such as month/day/year (or day/month/year depending on which country you're in). In the example below, we'll type 10/12/2014 for October 12, 2014. Our spreadsheet will then automatically apply the date number format for the cell.

        screenshot of excel 2013

        Now that we have our date correctly formatted, we can do many different things with this data. For example, we could use the fill handle to continue the dates through the column, so a different day appears in each cell:

        Screenshot of Excel 2013
        Screenshot of Excel 2013

        If the date formatting isn't applied automatically, it means the spreadsheet did not understand the data you entered. In the example below, we've typed March 15th. The spreadsheet did not understand that we were referring to a date, so this cell is still using the general number format.

        screenshot of excel 2013

        On the other hand, if we type March 15 (without the "th"), the spreadsheet will recognize it as a date. Because it doesn't include a year, the spreadsheet will automatically add the current year so the date will have all of the necessary information. We could also type the date several other ways, such as 3/153/15/2014, or March 15 2014, and the spreadsheet would still recognize it as a date.

        Try entering the dates below into a spreadsheet and see if the date format is applied automatically:

        • 10/12
        • October
        • October 12
        • October 2016
        • 10/12/2016
        • October 12, 2016
        • 2016
        • October 12th

        If you want to add the current date to a cell, you can use the Ctrl+; shortcut, as shown in the video below.

        Other date formatting options

        To access other date formatting options, select the Number Format drop-down menu and choose More Number Formats. These are options to display the date differently, like including the day of the week or omitting the year.

        screenshot of excel 2013

        The Format Cells dialog box will appear. From here, you can choose the desired date formatting option.

        screenshot of excel 2013

        As you can see in the formula bar, a custom date format doesn't change the actual date in our cell—it just changes the way it's displayed.

        screenshot of excel 2013

        Number formatting tips

        Here are a few tips for getting the best results with number formatting:

        • Apply number formatting to an entire column: If you're planning to use one column for a certain type of data, like dates or percentages, you may find it easiest to select the entire column by clicking the column letter and applying the desired number formatting. This way, any data you add to this column in the future will already have the correct number format. Note that the header row usually won't be affected by number formatting.
          screenshot of excel 2013
        • Double-check your values after applying number formatting: If you apply number formatting to existing data, you may have unexpected results. For example, applying percentage (%) formatting to a cell with a value of 5 will give you 500%, not 5%. In this case, you'd need to retype the values correctly in each cell.
          Screenshot of Excel 2013
        • If you reference a cell with number formatting in a formula, the spreadsheet may automatically apply the same number formatting to the new cell. For example, if you use a value with currency formatting in a formula, the calculated value will also use the currency number format.
          screenshot of excel 2013
        • If you want your data to appear exactly as entered, you'll need to use the text number format. This format is especially good for numbers you don't want to perform calculations with, such as phone numbers, zip codes, or numbers that begin with 0, like 02415. For best results, you may want to apply the text number format before entering data into these cells.

        Increase and Decrease Decimal

        The Increase Decimal and Decrease Decimal commands allow you to control how many decimal places are displayed in a cell. These commands don't change the value of the cell; instead, they display the value to a set number of decimal places.

        The Increase and Decrease Decimal commands

        Decreasing the decimal will display the value rounded to that decimal place, but the actual value in the cell will still be displayed in the formula bar.

        The number may display rounded

        The Increase/Decrease Decimal commands don't work with some number formats, like Date and Fraction.

        Challenge!

        1. Open our practice workbook.
        2. In cell D2, type today's date and press Enter.
        3. Click cell D2 and verify that it is using a Date number format. Try changing it to a different date format (for example, Long Date).
        4. In cell D2, use the Format Cells dialog box to choose the 14-Mar-12 date format.
        5. Change the sales tax rate in cell D8 to the Percentage format.
        6. Apply the Currency format to all of column B.
        7. In cell D8, use the Increase Decimal or Decrease Decimal command to change the number of decimal places to one. It should now display 7.5%.
        8. When you're finished, your spreadsheet should look like this:
          Number Formats Challenge

        Lesson 9: Working with Multiple Worksheets

        Introduction

        Every workbook contains at least one worksheet by default. When working with a large amount of data, you can create multiple worksheets to help organize your workbook and make it easier to find content. You can also group worksheets to quickly add information to multiple worksheets at the same time.

        Optional: Download our practice workbook.

        Watch the video below to learn more about using multiple worksheets.

        To insert a new worksheet:

        1. Locate and select the New sheet button near the bottom-right corner of the Excel window.
          adding a new worksheet
        2. new blank worksheet will appear.

          the new, blank worksheet added to the workbook

        By default, any new workbook you create in Excel will contain one worksheet, called Sheet1. To change the default number of worksheets, navigate to Backstage view, click Options, then choose the desired number of worksheets to include in each new workbook.

        To copy a worksheet:

        If you need to duplicate the content of one worksheet to another, Excel allows you to copy an existing worksheet.

        1. Right-click the worksheet you want to copy, then select Move or Copy from the worksheet menu.
          selecting the Move or Copy command
        2. The Move or Copy dialog box will appear. Choose where the sheet will appear in the Before sheet: field. In our example, we'll choose (move to end) to place the worksheet to the right of the existing worksheet.
        3. Check the box next to Create a copy, then click OK.
          choosing the copy worksheet options in the dialog box
        4. The worksheet will be copied. It will have the same title as the original worksheet, as well as a version number. In our example, we copied the November worksheet, so our new worksheet is named November (2). All content from the November worksheet has also been copied to the new worksheet.
          the duplicated worksheet

        You can also copy a worksheet to an entirely different workbook. You can select any workbook that is currently open from the To book: drop-down menu.

        To rename a worksheet:

        1. Right-click the worksheet you want to rename, then select Rename from the worksheet menu.
          selecting the Rename worksheet option
        2. Type the desired name for the worksheet.
        3. Click anywhere outside the worksheet tab, or press Enter on your keyboard. The worksheet will be renamed.
          the renamed worksheet

        To move a worksheet:

        1. Click and drag the worksheet you want to move until a small black arrow appears above the desired location.
          moving a worksheet
        2. Release the mouse. The worksheet will be moved.
          the moved worksheet

        To change the worksheet tab color:

        1. Right-click the desired worksheet tab, and hover the mouse over Tab Color. The Color menu will appear.
        2. Select the desired color.
          choosing a worksheet color
        3. The worksheet tab color will be changed.
          the applied worksheet color

        The worksheet tab color is considerably less noticeable when the worksheet is selected. Select another worksheet to see how the color will appear when the worksheet is not selected.

        the worksheet color more obvious when unselected

        To delete a worksheet:

        1. Right-click the worksheet you want to delete, then select Delete from the worksheet menu.
          deleting an empty worksheet
        2. The worksheet will be deleted from your workbook.
          the workbook after deleting the empty worksheet

        If you want to prevent specific worksheets from being edited or deleted, you can protect them by right-clicking the desired worksheet and selecting Protect Sheet from the worksheet menu.

        Switching between worksheets

        If you want to view a different worksheet, you can simply click the tab to switch to that worksheet. However, with larger workbooks this can sometimes become tedious, as it may require scrolling through all of the tabs to find the one you want. Instead, you can simply right-click the scroll arrows in the lower-left corner, as shown below.

        A dialog box will appear with a list of all of the sheets in your workbook. You can then double-click the sheet you want to jump to.

        Watch the video below to see this shortcut in action.

        Grouping and ungrouping worksheets

        You can work with each worksheet individually, or you can work with multiple worksheets at the same time. Worksheets can be combined together into a group. Any changes made to one worksheet in a group will be made to every worksheet in the group.

        To group worksheets:

        1. Select the first worksheet you want to include in the worksheet group.
          selecting the first worksheet in a group
        2. Press and hold the Ctrl key on your keyboard. Select the next worksheet you want in the group.
          adding a worksheet to a group
        3. Continue to select worksheets until all of the worksheets you want to group are selected, then release the Ctrl key. The worksheets are now grouped.
          the grouped worksheets

        While worksheets are grouped, you can navigate to any worksheet within the group. Any changes made to one worksheet will appear on every worksheet in the group. However, if you select a worksheet that is not in the group, all of your worksheets will become ungrouped.

        To ungroup worksheets:

        1. Right-click a worksheet in the group, then select Ungroup Sheets from the worksheet menu.
          ungrouping worksheets
        2. The worksheets will be ungrouped. Alternatively, you can simply click any worksheet not included in the group to ungroup all worksheets.
          the ungrouped worksheets

        Challenge!

        1. Open our practice workbook.
        2. Insert a new worksheet, and rename it Q1 Summary.
        3. Move the Expenses Summary worksheet to the far right, then move the Q1 Summary worksheet so that it is between March and April.
        4. Create a copy of the Expenses Summary worksheet by right-clicking the tab. Do not just copy and paste the content of the worksheet into a new worksheet.
        5. Change the color of the January tab to blue and the color of the February tab to red.
        6. Group the worksheets SeptemberOctober, and November.
        7. When you're finished, your workbook should look something like this:

          Multiple Worksheets

        Lesson 10: Using Find & Replace

        Introduction

        When working with a lot of data in Excel, it can be difficult and time consuming to locate specific information. You can easily search your workbook using the Find feature, which also allows you to modify content using the Replace feature.

        Optional: Download our practice workbook.

        Watch the video below to learn more about using Find & Replace.

        To find content:

        In our example, we'll use the Find command to locate a specific department in this list.

        1. From the Home tab, click the Find and Select command, then select Find from the drop-down menu.
          Selecting the Find feature
        2. The Find and Replace dialog box will appear. Enter the content you want to find. In our example, we'll type the department's name.
        3. Click Find Next. If the content is found, the cell containing that content will be selected.
          Clicking Find Next to locate content
        4. Click Find Next to find further instances or Find All to see every instance of the search term.
          Selecting Find All to locate every instance of the search term
        5. When you are finished, click Close to exit the Find and Replace dialog box.
          Clicking close to exit the dialog box

        You can also access the Find command by pressing Ctrl+F on your keyboard.

        Click Options to see advanced search criteria in the Find and Replace dialog box.

        Clicking options to see advanced search criteria


        To replace cell content:

        At times, you may discover that you've repeatedly made a mistake throughout your workbook (such as misspelling someone's name) or that you need to exchange a particular word or phrase for another. You can use Excel's Find and Replace feature to make quick revisions. In our example, we'll use Find and Replace to correct a list of department names.

        1. From the Home tab, click the Find and Select command, then select Replace from the drop-down menu.
          Selecting Replace from the drop-down menu
        2. The Find and Replace dialog box will appear. Type the text you want to find in the Find what: field.
        3. Type the text you want to replace it with in the Replace with: field, then click Find Next.
          Clicking find next
        4. If the content is found, the cell containing that content will be selected.
        5. Review the text to make sure you want to replace it.
        6. If you want to replace it, select one of the replace optionsChoosing Replace will replace individual instances, while Replace All will replace every instance of the text throughout the workbook. In our example, we'll choose this option to save time.

          Clicking replace all

        7. A dialog box will appear, confirming the number of replacements made. Click OK to continue.

          Clicking ok
        8. The selected cell content will be replaced.

          The selected content has been replaced
        9. When you are finished, click Close to exit the Find and Replace dialog box.
          Clicking close to exit the dialog box

        Generally, it's best to avoid using Replace All because it doesn't give you the option of skipping anything you don't want to change. You should only use this option if you're absolutely sure it won't replace anything you didn't intend it to.

        Challenge!

        1. Open our practice workbook.
        2. Click the Challenge tab in the bottom-left of the workbook.
        3. Crystal Lewis was married and changed her last name to Taylor. Use Find and Replace to change Crystal's last name from Lewis to Taylor. Be careful to only change Crystal's last name!
        4. Find and replace Bio with Biology. Be careful not to change the major Biomedical Engineering!
        5. Use Find and Replace All to replace the Physics major to Physical Science.
        6. When you're finished, your worksheet should look like this:

          Find and Replace Challenge

        Lesson 11: Checking Spelling

        Introduction

        Before sharing a workbook, you'll want to make sure it doesn't include any spelling errors. Fortunately, Excel includes a Spell Check tool you can use to make sure everything in your workbook is spelled correctly.

        If you've used the Spell Check feature in Microsoft Word, just be aware that the Spell Check tool in Excel, while helpful, is not as powerful. For example, it won't check for grammar issues or check spelling as you type.

        Optional: Download our practice workbook.

        To use Spell Check:

        1. From the Review tab, click the Spelling command.
          Selecting the spelling command
        2. The Spelling dialog box will appear. For each spelling error in your worksheet, Spell Check will try to offer suggestions for the correct spelling. Choose a suggestion, then click Change to correct the error.
          Clicking change to correct a spelling error
        3. A dialog box will appear after reviewing all spelling errors. Click OK to close Spell Check.
          Clicking ok to close spell check

        If there are no appropriate suggestions, you can also enter the correct spelling manually.

        Ignoring spelling "errors"

        Spell Check isn't always correct. It will sometimes mark certain words as incorrect even if they're spelled correctly. This often happens with names, which may not be in the dictionary. You can choose not to change a spelling "error" using one of the following three options:

        • Ignore Once: This will skip the word without changing it.
        • Ignore All: This will skip the word without changing it and also skip all other instances of the word in your worksheet.
        • Add: This adds the word to the dictionary so it will never appear as an error again. Make sure the word is spelled correctly before choosing this option.

        Challenge!

        1. Open our practice workbook.
        2. Click the Challenge worksheet tab in the bottom-left of the workbook.
        3. Run the Spell Check to correct any spelling errors in the workbook.
        4. Correct the words coffe and medum using the suggested spelling.
        5. Ignore the spelling suggestion for the word Amanecer.
        6. When you're finished, your worksheet should look like this:
          Spell Check Challenge
        7. Bonus Step! There is one error Spell Check didn't catch. Can you spot it? Hint: It's in one of the item descriptions.

        Lesson 12: Page Layout and Printing

        Introduction

        There may be times when you want to print a workbook to view and share your data offline. Once you've chosen your page layout settings, it's easy to preview and print a workbook from Excel using the Print pane.

        Optional: Download our practice workbook.

        Watch the video below to learn more about page layout and printing.

        To access the Print pane:

        1. Select the File tab. Backstage view will appear.
          The File tab on the ribbon
        2. Select Print. The Print pane will appear.
          Selecting Print on the backstage view

        Click the buttons in the interactive below to learn more about using the Print pane.

        The Print pane

        The Zoom to Page button on the right will zoom in and out in the Preview pane.

        The Show Margins button on the left will show the margins in the Preview pane.

        To print a workbook:

        1. Navigate to the Print pane, then select the desired printer.
          Select the desired printer
        2. Enter the number of copies you want to print.
          Number of copies
        3. Select any additional settings if needed (see above interactive).
          Additional print settings
        4. Click Print.
          Click the Print button

        Choosing a print area

        Before you print an Excel workbook, it's important to decide exactly what information you want to print. For example, if you have multiple worksheets in your workbook, you will need to decide if you want to print the entire workbook or only active worksheets. There may also be times when you want to print only a selection of content from your workbook.

        To print active sheets:

        Worksheets are considered active when selected.

        1. Select the worksheet you want to print. To print multiple worksheets, click the first worksheet, hold the Ctrl key on your keyboard, then click any other worksheets you want to select.
          Selecting multiple worksheets
        2. Navigate to the Print pane.
        3. Select Print Active Sheets from the Print Range drop-down menu.
          Set the Print Range to Print Active Sheets
        4. Click the Print button.
          Click the Print button

        To print the entire workbook:

        1. Navigate to the Print pane.
        2. Select Print Entire Workbook from the Print Range drop-down menu.
        3. Click the Print button.
          Click the Print button

        To print a selection:

        In our example, we'll print the records for the top 40 salespeople on the Central worksheet.

        1. Select the cells you want to print.
          Select a portion of the worksheet to print
        2. Navigate to the Print pane.
        3. Select Print Selection from the Print Range drop-down menu.
          Set the Print Range to Print Selection
        4. preview of your selection will appear in the Preview pane.
          The print preview
        5. Click the Print button to print the selection.
          Click the Print button

        If you prefer, you can also set the print area in advance so you'll be able to visualize which cells will be printed as you work in Excel. Simply select the cells you want to print, click the Page Layout tab, select the Print Area command, then choose Set Print Area. Keep in mind that if you ever need to print the entire workbook, you'll need to clear the print area.

        Set Print Area

        Adjusting content

        On occasion, you may need to make small adjustments from the Print pane to fit your workbook content neatly onto a printed page. The Print pane includes several tools to help fit and scale your content, such as scaling and page margins.

        To change page orientation:

        Excel offers two page orientation options: landscape and portraitLandscape orients the page horizontally, while portrait orients the page vertically. In our example, we'll set the page orientation to landscape.

        1. Navigate to the Print pane.
        2. Select the desired orientation from the Page Orientation drop-down menu. In our example, we'll select Landscape Orientation.
          The Page Orientation menu on the Print pane
        3. The new page orientation will be displayed in the Preview pane.
          The Preview pane shows the document in Landscape orientation

        To fit content before printing:

        If some of your content is being cut off by the printer, you can use scaling to fit your workbook to the page automatically.

        1. Navigate to the Print pane. In our example, we can see in the Preview pane that our content will be cut off when printed.
          Part of the content is cut off in the Preview
        2. Select the desired option from the Scaling drop-down menu. In our example, we'll select Fit All Columns on One Page.
          The Scaling drop-down menu on the Print pane
        3. The worksheet will be condensed to fit onto a single page.
          The new scaling option will be displayed in the Preview pane.

        Keep in mind that worksheets will become more difficult to read as they are scaled down, so you may not want to use this option when printing a worksheet with a lot of information. In our example, we'll change the scaling setting back to No Scaling.

        To include Print Titles:

        If your worksheet uses title headings, it's important to include these headings on each page of your printed worksheet. It would be difficult to read a printed workbook if the title headings appeared only on the first page. The Print Titles command allows you to select specific rows and columns to appear on each page.

        1. Click the Page Layout tab on the Ribbon, then select the Print Titles command.
          The Print Titles command on the Page Layout tab
        2. The Page Setup dialog box will appear. From here, you can choose rows or columns to repeat on each page. In our example, we'll repeat a row first.
        3. Click the Collapse Dialog button next to the Rows to repeat at top: field.
          Click the Collapse Dialog button
        4. The cursor will become a small selection arrow, and the Page Setup dialog box will be collapsed. Select the row(s) you want to repeat at the top of each printed page. In our example, we'll select row 1.
          Selecting row A to repeat
        5. Row 1 will be added to the Rows to repeat at top: field. Click the Collapse Dialog button again.
          Click the collapse button to return to the Page Setup dialog
        6. The Page Setup dialog box will expand. To repeat a column as well, use the same process shown in steps 4 and 5. In our example, we've selected to repeat row 1 and column A.
        7. When you're satisfied with your selections, click OK.
          Click OK
        8. In our example, row 1 appears at the top of every page, and column A appears at the left of every page.
          Row 1 and column A are shown on every page in the print preview.

        To adjust page breaks:

        1. Click the Page Break Preview command to change to Page Break view.
          Page Break Preview at the bottom right of the window
        2. Vertical and horizontal blue dotted lines denote the page breaks. Click and drag one of these lines to adjust that page break.
          Page break view
        3. In our example, we've set the horizontal page break between rows 21 and 22.
          Click and drag the page break
        4. In our example, all the pages now show the same number of rows due to the change in the page break.
          The new page breaks shown in the Print Preview.

        To modify margins in the Preview pane:

        margin is the space between your content and the edge of the page. Sometimes you may need to adjust the margins to make your data fit more comfortably. You can modify page margins from the Print pane.

        1. Navigate to the Print pane.
        2. Select the desired margin size from the Page Margins drop-down menu. In our example, we'll select Narrow Margins.
          The Page Margins menu on the Print pane.
        3. The new page margins will be displayed in the Preview pane.
          The new margins are displayed in the Preview pane.

        You can adjust the margins manually by clicking the Show Margins button in the lower-right corner, then dragging the margin markers in the Preview pane.

        The Show Margins view button.

        Challenge!

        1. Open our practice workbook.
        2. Click the East Coast tab at the bottom of the workbook.
        3. In the Page Layout tab, use the Print Titles feature to repeat row 1 at the top and column A at the left.
        4. Using the Page Break Preview command, move the break between rows 47 and 48 up so it's between rows 40 and 41.
        5. In Backstage view, open the Print Pane.
        6. In the Print pane, change the orientation to Landscape.
        7. Change the margins to Narrow.
        8. Change the scaling to Fit All Columns on One Page.
        9. When you are finished, your print preview should look like this:

          Printing Challenge

        Lesson 13: Intro to Formulas

        Introduction

        One of the most powerful features in Excel is the ability to calculate numerical information using formulas. Just like a calculator, Excel can add, subtract, multiply, and divide. In this lesson, we'll show you how to use cell references to create simple formulas.

        Optional: Download our practice workbook.

        Watch the video below to learn more about creating formulas in Excel.

        Mathematical operators

        Excel uses standard operators for formulas, such as a plus sign for addition (+), a minus sign for subtraction (-), an asterisk for multiplication (*), a forward slash for division (/), and a caret (^) for exponents.

        Mathematical operators in Excel

        All formulas in Excel must begin with an equals sign (=). This is because the cell contains, or is equal to, the formula and the value it calculates.

        Understanding cell references

        While you can create simple formulas in Excel using numbers (for example, =2+2 or =5*5), most of the time you will use cell addresses to create a formula. This is known as making a cell reference. Using cell references will ensure that your formulas are always accurate because you can change the value of referenced cells without having to rewrite the formula.

        In the formula below, cell A3 adds the values of cells A1 and A2 by making cell references:

        A formula in Excel using cell references

        When you press Enter, the formula calculates and displays the answer in cell A3:

        The formula automatically calculates the result.

        If the values in the referenced cells change, the formula automatically recalculates:

        The formula automatically updates if one of the referenced cells changes.

        By combining a mathematical operator with cell references, you can create a variety of simple formulas in Excel. Formulas can also include a combination of cell references and numbers, as in the examples below:

        Illustration of simple formulas

        To create a formula:

        In our example below, we'll use a simple formula and cell references to calculate a budget.

        1. Select the cell that will contain the formula. In our example, we'll select cell D12.
          Selecting cells
        2. Type the equals sign (=). Notice how it appears in both the cell and the formula bar.
          Starting the formula with an equals sign
        3. Type the cell address of the cell you want to reference first in the formula: cell D10 in our example. A blue border will appear around the referenced cell.
          Entering the cell reference for D10
        4. Type the mathematical operator you want to use. In our example, we'll type the addition sign (+).
        5. Type the cell address of the cell you want to reference second in the formula: cell D11 in our example. A red border will appear around the referenced cell.
          Entering the addition operator and the reference for cell D11
        6. Press Enter on your keyboard. The formula will be calculated, and the value will be displayed in the cell. If you select the cell again, notice that the cell displays the result, while the formula bar displays the formula.
          Press enter to complete the formula and display the result

        If the result of a formula is too large to be displayed in a cell, it may appear as pound signs (#######) instead of a value. This means the column is not wide enough to display the cell content. Simply increase the column width to show the cell content.

        Modifying values with cell references

        The true advantage of cell references is that they allow you to update data in your worksheet without having to rewrite formulas. In the example below, we've modified the value of cell D10 from $1,200 to $1,800. The formula in D12 will automatically recalculate and display the new value in cell D12.

        The formula automatically recalculates if a referenced cell is modified.

        Excel will not always tell you if your formula contains an error, so it's up to you to check all of your formulas. To learn how to do this, you can read the Double-Check Your Formulas lesson from our Excel Formulas tutorial.

        To create a formula using the point-and-click method:

        Instead of typing cell addresses manually, you can point and click the cells you want to include in your formula. This method can save a lot of time and effort when creating formulas. In our example below, we'll create a formula to calculate the cost of ordering several boxes of plastic silverware.

        1. Select the cell that will contain the formula. In our example, we'll select cell D4.
          Selecting cells
        2. Type the equals sign (=).
        3. Select the cell you want to reference first in the formula: cell B4 in our example. The cell address will appear in the formula.
          Selecting the first cell to reference in the formula
        4. Type the mathematical operator you want to use. In our example, we'll type the multiplication sign (*).
        5. Select the cell you want to reference second in the formula: cell C4 in our example. The cell address will appear in the formula.
          Selecting the second cell to reference in the formula
        6. Press Enter on your keyboard. The formula will be calculated, and the value will be displayed in the cell.
          Press enter to complete the formula and display the result

        Copying formulas with the fill handle

        Formulas can also be copied to adjacent cells with the fill handle, which can save a lot of time and effort if you need to perform the same calculation multiple times in a worksheet. The fill handle is the small square at the bottom-right corner of the selected cell(s).

        1. Select the cell containing the formula you want to copy. Click and drag the fill handle over the cells you want to fill.
          Drag the fill handle
        2. After you release the mouse, the formula will be copied to the selected cells.
          The formula is copied into the selected cells.


        To edit a formula:

        Sometimes you may want to modify an existing formula. In the example below, we've entered an incorrect cell address in our formula, so we'll need to correct it.

        1. Select the cell containing the formula you want to edit. In our example, we'll select cell D12.
          Selecting cells
        2. Click the formula bar to edit the formula. You can also double-click the cell to view and edit the formula directly within the cell.
          Clicking the formula bar to edit the formula
        3. border will appear around any referenced cells. In our example, we'll change the first part of the formula to reference cell D10 instead of cell D9.
          Editing the formula
        4. When you're finished, press Enter on your keyboard or select the Enter command in the formula bar.
          Press enter to finish editing
        5. The formula will be updated, and the new value will be displayed in the cell.
          The new formula displays its result

        If you change your mind, you can press the Esc key on your keyboard or click the Cancel command in the formula bar to avoid accidentally making changes to your formula.

        Cancel an edit to a formula

        To show all of the formulas in a spreadsheet, you can hold the Ctrl key and press ` (grave accent). The grave accent key is usually located in the top-left corner of the keyboard. You can press Ctrl+` again to switch back to the normal view.

        Challenge!

        1. Open our practice workbook.
        2. Click the Challenge tab in the bottom-left of the workbook.
        3. Create a formula in cell D4 that multiplies the quantity in B4 by the price per unit in cell C4.
        4. Use the fill handle to copy the formula in cell D4 to cells D5:D7.
        5. Change the price per unit for the fried plantains in cell C6 to $2.25. Notice that the line total automatically changes as well.
        6. Edit the formula for the total in cell D8 so it also adds cell D7.
        7. When you're finished, your workbook should look like this:

          Intro Formulas Challenge

        Lesson 14: Creating More Complex Formulas

        Introduction

        You may have experience working with formulas that contain only one operator, such as 7+9. More complex formulas can contain several mathematical operators, such as 5+2*8. When there's more than one operation in a formula, the order of operations tells Excel which operation to calculate first. To write formulas that will give you the correct answer, you'll need to understand the order of operations.

        Optional: Download our practice workbook.

        Watch the video below to learn more about complex formulas.

        The order of operations

        Excel calculates formulas based on the following order of operations:

        1. Operations enclosed in parentheses
        2. Exponential calculations (3^2, for example)
        3. Multiplication and division, whichever comes first
        4. Addition and subtraction, whichever comes first

        A mnemonic that can help you remember the order is PEMDAS, or Please Excuse MDear Aunt Sally.

        Click the arrows in the slideshow below to learn how the order of operations is used to calculate formulas in Excel.

        • PEMDAS, 10+(6-3)/2^2*4-1

          While this formula may look complicated, we can use the order of operations step by step to find the right answer.

        • P parentheses: 10+(6-3)/2^2*4-1

          First, we'll start by calculating anything inside parentheses. In this case, there's only one thing we need to calculate: 6-3=3.

        • E exponents: 10+3/2^2*4-1

          As you can see, the formula already looks simpler. Next, we'll look to see if there are any exponents. There is one: 2^2=4.

        • MD multiplication division, whichever comes first: 10+3/4*4-1

          Next, we'll solve any multiplication and division, working from left to right. Because the division operation comes before the multiplication, it's calculated first: 3/4=0.75.

        • MD multiplication division, whichever comes first: 10+0.75*4-1

          Now, we'll solve our remaining multiplication operation: 0.75*4=3.

        • AS addition subtraction, whichever comes first: 10+3-1

          Next, we'll calculate any addition or subtraction, again working from left to right. Addition comes first: 10+3=13.

        • AS addition subtraction, whichever comes first: 13-1

          Finally, we have one remaining subtraction operation: 13-1=12.

        • answer: 13-1=12

          Now we have our answer: 12. And this is the exact same result you would get if you entered the formula into Excel.

        • GCFLearnFree.org

        Creating complex formulas

        In the example below, we'll demonstrate how Excel uses the order of operations to solve a more complex formula. Here, we want to calculate the cost of sales tax for a catering invoice. To do this, we'll write our formula as =(D3+D4+D5)*0.075 in cell D6. This formula will add the prices of our items, then multiply that value by the 7.5% tax rate (which is written as 0.075) to calculate the answer.

        Creating a complex formula

        Excel follows the order of operations and first adds the values inside the parentheses: (45.80+68.70+159.60) = 274.10. It then multiplies that value by the tax rate: 274.10*0.075. The result will show that the sales tax is $20.56.

        Formula result

        It's especially important to follow the order of operations when creating a formula. Otherwise, Excel won't calculate the results accurately. In our example, if the parentheses are not included, the multiplication is calculated first and the result is incorrect. Parentheses are often the best way to define which calculations will be performed first in Excel.

        Formula without parentheses

        To create a complex formula using the order of operations:

        In the example below, we'll use cell references along with numerical values to create a complex formula that will calculate the subtotal for a catering invoice. The formula will calculate the cost of each menu item first, then add these values.

        1. Select the cell that will contain the formula. In our example, we'll select cell C5.
          Selecting a cell
        2. Enter your formula. In our example, we'll type =B3*C3+B4*C4. This formula will follow the order of operations, first performing the multiplication: 2.79*35 = 97.65 and 2.29*20 = 45.80. It then will add these values to calculate the total: 97.65+45.80.
          Creating a complex formula
        3. Double-check your formula for accuracy, then press Enter on your keyboard. The formula will calculate and display the result. In our example, the result shows that the subtotal for the order is $143.45.
          Formula result

        You can add parentheses to any equation to make it easier to read. While it won't change the result of the formula in this example, we could enclose the multiplication operations within parentheses to clarify that they will be calculated before the addition.

        Formula with parentheses

        Excel will not always tell you if your formula contains an error, so it's up to you to check all of your formulas. To learn how to do this, you can read the Double-Check Your Formulas lesson from our Excel Formulas tutorial.

        Challenge!

        For this challenge, you are going to work with another invoice like the one in our example. In the invoice, you will find the amount of tax for the order, the order's total, and the order's total if you were given a 10% discount.

        1. Open our practice workbook.
        2. Click the Challenge worksheet tab in the bottom-left of the workbook.
        3. In cell D7, create a formula that calculates the tax for the invoice. Use a sales tax rate of 7.5%.
        4. In cell D8, create a formula that finds the total for the order. In other words, this formula should add cells D3:D7.
        5. In cell D9 create a formula that calculates the total after a 10% discount. If you need help understanding how to take a percentage off of a total, check out our lesson on Discounts, Markdowns, and Sales.
        6. When you're finished, your spreadsheet should look like this:
          Complex Formulas Challenge

        Lesson 15: Relative and Absolute Cell References

        Introduction

        There are two types of cell references: relative and absolute. Relative and absolute references behave differently when copied and filled to other cells. Relative references change when a formula is copied to another cell. Absolute references, on the other hand, remain constant no matter where they are copied.

        Optional: Download our practice workbook.

        Watch the video below to learn more about cell references.

        Relative references

        By default, all cell references are relative references. When copied across multiple cells, they change based on the relative position of rows and columns. For example, if you copy the formula =A1+B1 from row 1 to row 2, the formula will become =A2+B2. Relative references are especially convenient whenever you need to repeat the same calculation across multiple rows or columns.

        To create and copy a formula using relative references:

        In the following example, we want to create a formula that will multiply each item's price by the quantity. Instead of creating a new formula for each row, we can create a single formula in cell D4 and then copy it to the other rows. We'll use relative references so the formula calculates the total for each item correctly.

        1. Select the cell that will contain the formula. In our example, we'll select cell D4.
          Selecting a cell
        2. Enter the formula to calculate the desired value. In our example, we'll type =B4*C4.
          Entering a formula
        3. Press Enter on your keyboard. The formula will be calculated, and the result will be displayed in the cell.
        4. Locate the fill handle in the bottom-right corner of the desired cell. In our example, we'll locate the fill handle for cell D4.
          Locating the fill handle
        5. Click and drag the fill handle over the cells you want to fill. In our example, we'll select cells D5:D13.
          Dragging the fill handle
        6. Release the mouse. The formula will be copied to the selected cells with relative references, displaying the result in each cell.
          Formula result

        You can double-click the filled cells to check their formulas for accuracy. The relative cell references should be different for each cell, depending on their rows.

        Checking a formula

        Absolute references

        There may be times when you do not want a cell reference to change when filling cells. Unlike relative references, absolute references do not change when copied or filled. You can use an absolute reference to keep a row and/or column constant.

        An absolute reference is designated in a formula by the addition of a dollar sign ($) before the column and row. If it precedes the column or row (but not both), it's known as a mixed reference.

        Screenshot of Graphic

        You will use the relative (A2) and absolute ($A$2) formats in most formulas. Mixed references are used less frequently.

        When writing a formula in Microsoft Excel, you can press the F4 key on your keyboard to switch between relative, absolute, and mixed cell references, as shown in the video below. This is an easy way to quickly insert an absolute reference.

        To create and copy a formula using absolute references:

        In the example below, we're going to use cell E2 (which contains the tax rate at 7.5%) to calculate the sales tax for each item in column D. To make sure the reference to the tax rate stays constant—even when the formula is copied and filled to other cells—we'll need to make cell $E$2 an absolute reference.

        1. Select the cell that will contain the formula. In our example, we'll select cell D4.
          Selecting a cell
        2. Enter the formula to calculate the desired value. In our example, we'll type =(B4*C4)*$E$2, making $E$2 an absolute reference.
          Entering a formula
        3. Press Enter on your keyboard. The formula will calculate, and the result will display in the cell.
        4. Locate the fill handle in the bottom-right corner of the desired cell. In our example, we'll locate the fill handle for cell D4.
          Locating the fill handle
        5. Click and drag the fill handle over the cells you want to fill (cells D5:D13 in our example).
          Dragging the fill handle
        6. Release the mouse. The formula will be copied to the selected cells with an absolute reference, and the values will be calculated in each cell.
          Formula result

        You can double-click the filled cells to check their formulas for accuracy. The absolute reference should be the same for each cell, while the other references are relative to the cell's row.

        Checking the formula

        Be sure to include the dollar sign ($) whenever you're making an absolute reference across multiple cells. The dollar signs were omitted in the example below. This caused Excel to interpret it as a relative reference, producing an incorrect result when copied to other cells.

        Incorrectly copied formula

        Using cell references with multiple worksheets

        Excel allows you to refer to any cell on any worksheet, which can be especially helpful if you want to reference a specific value from one worksheet to another. To do this, you'll simply need to begin the cell reference with the worksheet name followed by an exclamation point (!). For example, if you wanted to reference cell A1 on Sheet1, its cell reference would be Sheet1!A1.

        Note that if a worksheet name contains a space, you'll need to include single quotation marks (' ') around the name. For example, if you wanted to reference cell A1 on a worksheet named July Budget, its cell reference would be 'July Budget'!A1.

        To reference cells across worksheets:

        In our example below, we'll refer to a cell with a calculated value between two worksheets. This will allow us to use the exact same value on two different worksheets without rewriting the formula or copying data.

        1. Locate the cell you want to reference, and note its worksheet. In our example, we want to reference cell E14 on the Menu Order worksheet.
          Locating a cell
        2. Navigate to the desired worksheet. In our example, we'll select the Catering Invoice worksheet.
          Selecting a worksheet
        3. Locate and select the cell where you want the value to appear. In our example, we'll select cell C4.
          Selecting a cell
        4. Type the equals sign (=), the sheet name followed by an exclamation point (!), and the cell address. In our example, we'll type ='Menu Order'!E14.
          Entering a formula
        5. Press Enter on your keyboard. The value of the referenced cell will appear. Now, if the value of cell E14 changes on the Menu Order worksheet, it will be updated automatically on the Catering Invoice worksheet.
          Formula result

        If you rename your worksheet at a later point, the cell reference will be updated automatically to reflect the new worksheet name.

        If you enter a worksheet name incorrectly, the #REF! error will appear in the cell. In our example below, we've mistyped the name of the worksheet. To edit, ignore, or investigate the error, click the Error button beside the cell and choose an option from the menu.

        Correcting an error

        Challenge!

        1. Open our practice workbook.
        2. Click the Paper Goods tab in the bottom-left of the workbook.
        3. In cell D4, enter a formula that multiplies the unit price in B4, the quantity in C4, and the tax rate in E2. Make sure to use an absolute cell reference for the tax rate because it will be the same in every cell.
        4. Use the fill handle to copy the formula you just created to cells D5:D12.
        5. Change the tax rate in cell E2 to 6.5%. Notice that all of your cells have updated. When you're finished, your workbook should look like this:
          Paper Goods Tab
        6. Click the Catering Invoice tab.
        7. Delete the value in cell C5 and replace it with a reference to the total cost of the paper goods. Hint: The cost of the paper goods is in cell E13 on the Paper Goods worksheet.
        8. Use the same steps from above to calculate the sales tax for each item on the Menu Order worksheet. The total cost in cell E14 should update. Then, in cell C4 of the Catering Invoice worksheet, create a cell reference to the total you just calculated. Note: If you used our practice workbook to follow along during the lesson, you may have already completed this step.
        9. When you're finished, the Catering Invoice worksheet should look something like this:
          cell_references_challenge

        Lesson 16: Functions

        Introduction

        function is a predefined formula that performs calculations using specific values in a particular order. Excel includes many common functions that can be used to quickly find the sumaveragecountmaximum value, and minimum value for a range of cells. In order to use functions correctly, you'll need to understand the different parts of a function and how to create arguments to calculate values and cell references.

        Optional: Download our practice workbook.

        Watch the video below to learn more about working with functions.

        The parts of a function

        In order to work correctly, a function must be written a specific way, which is called the syntax. The basic syntax for a function is the equals sign (=), the function name (SUM, for example), and one or more arguments. Arguments contain the information you want to calculate. The function in the example below would add the values of the cell range A1:A20.

        =SUM(A1:A20)

        Working with arguments

        Arguments can refer to both individual cells and cell ranges and must be enclosed within parentheses. You can include one argument or multiple arguments, depending on the syntax required for the function.

        For example, the function =AVERAGE(B1:B9) would calculate the average of the values in the cell range B1:B9. This function contains only one argument.

        Function with single argument

        Multiple arguments must be separated by a comma. For example, the function =SUM(A1:A3, C1:C2, E1) will add the values of all of the cells in the three arguments.

        Function with multiple arguments

        Creating a function

        There are a variety of functions available in Excel. Here are some of the most common functions you'll use:

        • SUM: This function adds all of the values of the cells in the argument.
        • AVERAGE: This function determines the average of the values included in the argument. It calculates the sum of the cells and then divides that value by the number of cells in the argument.
        • COUNT: This function counts the number of cells with numerical data in the argument. This function is useful for quickly counting items in a cell range.
        • MAX: This function determines the highest cell value included in the argument.
        • MIN: This function determines the lowest cell value included in the argument.

        To create a function using the AutoSum command:

        The AutoSum command allows you to automatically insert the most common functions into your formula, including SUM, AVERAGE, COUNT, MIN, and MAX. In the example below, we'll use the SUM function to calculate the total cost for a list of recently ordered items.

        1. Select the cell that will contain the function. In our example, we'll select cell D13.
          Selecting a cell
        2. In the Editing group on the Home tab, click the arrow next to the AutoSum command. Next, choose the desired function from the drop-down menu. In our example, we'll select Sum.
          Choosing a function
        3. Excel will place the function in the cell and automatically select a cell range for the argument. In our example, cells D3:D12 were selected automatically; their values will be added to calculate the total cost. If Excel selects the wrong cell range, you can manually enter the desired cells into the argument.
          Function argument
        4. Press Enter on your keyboard. The function will be calculated, and the result will appear in the cell. In our example, the sum of D3:D12 is $765.29.
          Function result

        The AutoSum command can also be accessed from the Formulas tab on the Ribbon.

        AutoSum command on Formulas tab

        You can also use the Alt+= keyboard shortcut instead of the AutoSum command. To use this shortcut, hold down the Alt key and then press the equals sign.

        Watch the video below to see this shortcut in action.

        To enter a function manually:

        If you already know the function name, you can easily type it yourself. In the example below (a tally of cookie sales), we'll use the AVERAGE function to calculate the average number of units sold by each troop.

        1. Select the cell that will contain the function. In our example, we'll select cell C10.
          Selecting a cell
        2. Type the equals sign (=), and enter the desired function name. You can also select the desired function from the list of suggested functions that appears below the cell as you type. In our example, we'll type =AVERAGE.
          Entering the function name
        3. Enter the cell range for the argument inside parentheses. In our example, we'll type (C3:C9). This formula will add the values of cells C3:C9, then divide that value by the total number of values in the range.
          Entering the argument
        4. Press Enter on your keyboard. The function will be calculated, and the result will appear in the cell. In our example, the average number of units sold by each troop is 849.
          Function result

        Excel will not always tell you if your formula contains an error, so it's up to you to check all of your formulas. To learn how to do this, read the Double-Check Your Formulas lesson from our Excel Formulas tutorial.

        The Function Library

        While there are hundreds of functions in Excel, the ones you'll use the most will depend on the type of data your workbooks contain. There's no need to learn every single function, but exploring some of the different types of functions will help you as you create new projects. You can even use the Function Library on the Formulas tab to browse functions by category, such as FinancialLogicalText, and Date & Time.

        To access the Function Library, select the Formulas tab on the Ribbon. Look for the Function Library group.

        Click the buttons in the interactive below to learn more about the different types of functions in Excel.

        Functions Library interactive

        The Lookup & Reference category contains functions that will return results for finding and referencing information. For example, you can add a hyperlink to a cell (HYPERLINK) or return the value of a particular row and column intersection (INDEX).

        To insert a function from the Function Library:

        In the example below, we'll use the COUNTA function to count the total number of items in the Items column. Unlike COUNT, COUNTA can be used to tally cells that contain data of any kind, not just numerical data.

        1. Select the cell that will contain the function. In our example, we'll select cell B17.

          Selecting a cell

        2. Click the Formulas tab on the Ribbon to access the Function Library.
        3. From the Function Library group, select the desired function category. In our example, we'll choose More Functions, then hover the mouse over Statistical.
          Selecting the More Functions / Statistical command
        4. Select the desired function from the drop-down menu. In our example, we'll select the COUNTA function, which will count the number of cells in the Items column that are not empty.
          Choosing the COUNTA function
        5. The Function Arguments dialog box will appear. Select the Value1 field, then enter or select the desired cells. In our example, we'll enter the cell range A3:A12. You may continue to add arguments in the Value2 field, but in this case we only want to count the number of cells in the cell range A3:A12.
        6. When you're satisfied, click OK.
          Function argument
        7. The function will be calculated, and the result will appear in the cell. In our example, the result shows that a total of 10 items were ordered.
          Function result

        The Insert Function command

        While the Function Library is a great place to browse for functions, sometimes you may prefer to search for one instead. You can do so using the Insert Function command. It may take some trial and error depending on the type of function you're looking for; however, with practice, the Insert Function command can be a powerful way to find a function quickly.

        To use the Insert Function command:

        In the example below, we want to find a function that will calculate the number of business days it took to receive items after they were ordered. We'll use the dates in columns E and F to calculate the delivery time in column G.

        1. Select the cell that will contain the function. In our example, we'll select cell G3.
          Selecting a cell
        2. Click the Formulas tab on the Ribbon, then click the Insert Function command.
          Insert Function command
        3. The Insert Function dialog box will appear.
        4. Type a few keywords describing the calculation you want the function to perform, then click Go. In our example, we'll type count days, but you can also search by selecting a category from the drop-down list.
          Searching for a function
        5. Review the results to find the desired function, then click OK. In our example, we'll choose NETWORKDAYS, which will count the number of business days between the ordered date and received date.
          Selecting a function
        6. The Function Arguments dialog box will appear. From here, you'll be able to enter or select the cells that will make up the arguments in the function. In our example, we'll enter E3 in the Start_date field and F3 in the End_date field.
        7. When you're satisfied, click OK.
          Function argument
        8. The function will be calculated, and the result will appear in the cell. In our example, the result shows that it took four business days to receive the order.
          Function result

        Like formulas, functions can be copied to adjacent cells. Simply select the cell that contains the function, then click and drag the fill handle over the cells you want to fill. The function will be copied, and values for those cells will be calculated relative to their rows or columns.

        Using the fill handle

        To learn more:

        If you're comfortable with basic functions, you may want to try a more advanced one like VLOOKUP. Check out our article on How to Use Excel's VLOOKUP Function for more information.

        To learn even more about working with functions, visit our Excel Formulas tutorial.

        Challenge!

        1. Open our practice workbook.
        2. Click the Challenge tab in the bottom-left of the workbook.
        3. In cell F3, insert a function to calculate the average of the four scores in cells B3:E3.
        4. Use the fill handle to copy your function in cell F3 to cells F4:F17.
        5. In cell B18, use AutoSum to insert a function that calculates the lowest score in cells B3:B17.
        6. In cell B19, use the Function Library to insert a function that calculates the median of the scores in cells B3:B17Hint: You can find the median function by going to More Functions > Statistical.
        7. In cell B20, create a function to calculate the highest score in cells B3:B17.
        8. Select cells B18:B20, then use the fill handle to copy all three functions you just created to cells C18:F20.
        9. When you're finished, your workbook should look like this:

          Functions Challenge

        Lesson 17: Basic Tips for Working with Data

        Introduction

        Excel workbooks are designed to store a lot of information. Whether you're working with 20 cells or 20,000, Excel has several features to help you organize your data and find what you need. You can see some of the most useful features below. And be sure to check out the other lessons in this tutorial to get step-by-step instructions for each of these features.

        Freezing rows and columns

        You may want to see certain rows or columns all the time in your worksheet, especially header cells. By freezing rows or columns in place, you'll be able to scroll through your content while continuing to view the frozen cells. In this example, we've frozen the top two rows, which allows us to view the dates no matter where we scroll in the spreadsheet.

        freezing rows

        Sorting data

        You can quickly reorganize a worksheet by sorting your data. Content can be sorted alphabetically, numerically, and in many other ways. For example, you could organize a list of contact information by last name.

        sorting a worksheet alphabetically

        Filtering data

        Filters can be used to narrow down the data in your worksheet, allowing you to view only the information you need. In this example, we're filtering the worksheet to show only rows that contain the words Laptop or Projector in column B.

        applying a filter

        Summarizing data

        The Subtotal feature allows you to quickly summarize your data. In our example, we've created a subtotal for each T-shirt size, which makes it easy to see how many we'll need in each size.

        subtotals and groups

        Formatting data as a table

        Just like regular formatting, tables can improve the look and feel of your workbook, but they'll also help you organize your content and make your data easier to use. For example, tables have built-in sorting and filtering options. Excel also includes several predefined table styles, allowing you to create tables quickly.

        data formatted as a table in Excel

        Visualizing data with charts

        It can be difficult to interpret Excel workbooks that contain a lot of data. Charts allow you to illustrate your workbook data graphically, which makes it easy to visualize comparisons and trends.

        a chart inserted into a worksheet

        Adding conditional formatting

        Let's say you have a worksheet with thousands of rows of data. It would be extremely difficult to see patterns and trends just from examining the raw information. Conditional formatting allows you to automatically apply cell formatting—such as colorsicons, and data bars—to one or more cells based on the cell value.

        conditional formatting applied to a cell range

        Using Find and Replace

        When working with a lot of data, it can be difficult and time consuming to locate specific information. You can easily search your workbook using the Find feature, which also allows you to modify content using the Replace feature.

        using the find and replace feature

        Lesson 18: Freezing Panes and View Options

        Introduction

        Whenever you're working with a lot of data, it can be difficult to compare information in your workbook. Fortunately, Excel includes several tools that make it easier to view content from different parts of your workbook at the same time, including the ability to freeze panes and split your worksheet.

        Optional: Download our practice workbook.

        Watch the video below to learn more about freezing panes in Excel.

        To freeze rows:

        You may want to see certain rows or columns all the time in your worksheet, especially header cells. By freezing rows or columns in place, you'll be able to scroll through your content while continuing to view the frozen cells.

        1. Select the row below the row(s) you want to freeze. In our example, we want to freeze rows 1 and 2, so we'll select row 3.
          Selecting cells
        2. On the View tab, select the Freeze Panes command, then choose Freeze Panes from the drop-down menu.
          The Freeze Rows dropdown menu
        3. The rows will be frozen in place, as indicated by the gray line. You can scroll down the worksheet while continuing to view the frozen rows at the top. In our example, we've scrolled down to row 18.
          The top two rows are now frozen data

        To freeze columns:

        1. Select the column to the right of the column(s) you want to freeze. In our example, we want to freeze column A, so we'll select column B.
        2. On the View tab, select the Freeze Panes command, then choose Freeze Panes from the drop-down menu.
          /content/561fbc87287fc10e146dbf44_10_15_2015/freeze-rows-dropdown-menu.png
        3. The column will be frozen in place, as indicated by the gray line. You can scroll across the worksheet while continuing to view the frozen column on the left. In our example, we've scrolled across to column E.
          The first column is now frozen

        If you only need to freeze the top row (row 1) or first column (column A) in the worksheet, you can simply select Freeze Top Row or Freeze First Column from the drop-down menu.

        The Freeze Top Row command

        To unfreeze panes:

        If you want to select a different view option, you may first need to reset the spreadsheet by unfreezing panes. To unfreeze rows or columns, click the Freeze Panes command, then select Unfreeze Panes from the drop-down menu.

        The Unfreeze Panes command

        Other view options

        If your workbook contains a lot of content, it can sometimes be difficult to compare different sections. Excel includes additional options to make your workbooks easier to view and compare. For example, you can choose to open a new window for your workbook or split a worksheet into separate panes.

        To open a new window for the current workbook:

        Excel allows you to open multiple windows for a single workbook at the same time. In our example, we'll use this feature to compare two different worksheets from the same workbook.

        1. Click the View tab on the Ribbon, then select the New Window command.
          The New Window button on the View tab
        2. new window for the workbook will appear.
          Two windows for the same workbook
        3. You can now compare different worksheets from the same workbook across windows. In our example, we'll select the 2013 Sales Detailed View worksheet to compare 2012 and 2013 sales.
          You can compare different parts of the same workbook

        If you have several windows open at the same time, you can use the Arrange All command to rearrange them quickly.

        The Arrange All button on the View tab

        To split a worksheet:

        Sometimes you may want to compare different sections of the same workbook without creating a new window. The Split command allows you to divide the worksheet into multiple panes that scroll separately.

        1. Select the cell where you want to split the worksheet. In our example, we'll select cell D6.

          Selecting cells

        2. Click the View tab on the Ribbon, then select the Split command.
          The Split command on the View tab
        3. The workbook will be split into different panes. You can scroll through each pane separately using the scroll bars, allowing you to compare different sections of the workbook.
          Scrolling through split panes
        4. After creating a split, you can click and drag the vertical and horizontal dividers to change the size of each section.

        To remove the split, click the Split command again.

        Challenge!

        Within our example file, there is A LOT of sales data. For this challenge, we want to be able to compare data for different years side by side. To do this:

        1. Open our practice workbook.
        2. Open a new window for your workbook.
        3. Freeze First Column and use the horizontal scroll bar to look at sales from 2015.
        4. Unfreeze the first column.
        5. Select cell G17 and click Split to split the worksheet into multiple panes. Hint: This should split the worksheet between rows 16 and 17 and columns F and G.
        6. Use the horizontal scroll bar in the bottom right of the window to move the worksheet so that Column N, which contains data for January 2015, is next to Column F.
        7. Open a new window for your workbook, and select the 2012-2013 Sales tab.
        8. Move your windows so they are side by side. Now you're able to compare data for similar months from several different years. Your screen should look something like this:
          Freezing Panes Challenge

        Lesson 19: Sorting Data

        Introduction

        As you add more content to a worksheet, organizing this information becomes especially important. You can quickly reorganize a worksheet by sorting your data. For example, you could organize a list of contact information by last name. Content can be sorted alphabetically, numerically, and in many other ways.

        Optional: Download our practice workbook.

        Watch the video below to learn more about sorting data in Excel.

        Types of sorting

        When sorting data, it's important to first decide if you want the sort to apply to the entire worksheet or just a cell range.

        • Sort sheet organizes all of the data in your worksheet by one column. Related information across each row is kept together when the sort is applied. In the example below, the Contact Name column (column A) has been sorted to display the names in alphabetical order.
          A sorted worksheet
        • Sort range sorts the data in a range of cells, which can be helpful when working with a sheet that contains several tables. Sorting a range will not affect other content on the worksheet.
          Sorting a range

        To sort a sheet:

        In our example, we'll sort a T-shirt order form alphabetically by Last Name (column C).

        1. Select a cell in the column you want to sort by. In our example, we'll select cell C2.
        2. Select the Data tab on the Ribbon, then click the A-Z command to sort A to Z, or the Z-A command to sort Z to A. In our example, we'll sort A to Z.
        3. The worksheet will be sorted by the selected column. In our example, the worksheet is now sorted by last name.

        To sort a range:

        In our example, we'll select a separate table in our T-shirt order form to sort the number of shirts that were ordered in each grade.

        1. Select the cell range you want to sort. In our example, we'll select cell range G2:H6.
          Selecting cells
        2. Select the Data tab on the Ribbon, then click the Sort command.
          The Sort button on the Data tab
        3. The Sort dialog box will appear. Choose the column you want to sort by. In our example, we want to sort the data by the number of T-shirt orders, so we'll select Orders.
          The Sort dialog box
        4. Decide the sorting order (either ascending or descending). In our example, we'll use Largest to Smallest.
        5. Once you're satisfied with your selection, click OK.
          The Sort dialog box
        6. The cell range will be sorted by the selected column. In our example, the Orders column will be sorted from highest to lowest. Notice that the other content in the worksheet was not affected by the sort.
          The range has been sorted

        If your data isn't sorting properly, double-check your cell values to make sure they are entered into the worksheet correctly. Even a small typo could cause problems when sorting a large worksheet. In the example below, we forgot to include a hyphen in cell A18, causing our sort to be slightly inaccurate.

        A typo can ruin a sort

        Custom sorting

        Sometimes you may find that the default sorting options can't sort data in the order you need. Fortunately, Excel allows you to create a custom list to define your own sorting order.

        To create a custom sort:

        In our example below, we want to sort the worksheet by T-Shirt Size (column D). A regular sort would organize the sizes alphabetically, which would be incorrect. Instead, we'll create a custom list to sort from smallest to largest.

        1. Select a cell in the column you want to sort by. In our example, we'll select cell D2.
          Selecting cells
        2. Select the Data tab, then click the Sort command.
          The Sort button on the Data tab
        3. The Sort dialog box will appear. Select the column you want to sort by, then choose Custom List... from the Order field. In our example, we will choose to sort by T-Shirt Size.
          The Sort dialog box
        4. The Custom Lists dialog box will appear. Select NEW LIST from the Custom Lists: box.
        5. Type the items in the desired custom order in the List entries: box. In our example, we want to sort our data by T-shirt size from smallest to largest, so we'll type Small, Medium, Large, and X-Large, pressing Enter on the keyboard after each item.
          The Custom Lists dialog box
        6. Click Add to save the new sort order. The new list will be added to the Custom lists: box. Make sure the new list is selected, then click OK.
          Clicking OK
        7. The Custom Lists dialog box will close. Click OK in the Sort dialog box to perform the custom sort.
          Clicking OK
        8. The worksheet will be sorted by the custom order. In our example, the worksheet is now organized by T-shirt size from smallest to largest.
          The sheet has now been sorted with our custom criteria.

        Sorting levels

        If you need more control over how your data is sorted, you can add multiple levels to any sort. This allows you to sort your data by more than one column.

        To add a level:

        In our example below, we'll sort the worksheet by T-Shirt Size (Column D), and then by Homeroom Number (column A).

        1. Select a cell in the column you want to sort by. In our example, we'll select cell A2.
          Select cells
        2. Click the Data tab, then select the Sort command.
          The Sort button on the Data tab
        3. The Sort dialog box will appear. Select the first column you want to sort by. In this example, we will sort by T-Shirt Size (column D) with the custom list we previously created for the Order field.
        4. Click Add Level to add another column to sort by.
          The Sort dialog box
        5. Select the next column you want to sort by, then click OK. In our example, we'll sort by Homeroom # (column A).
          The Sort dialog box
        6. The worksheet will be sorted according to the selected order. In our example, the orders are sorted by T-shirt size. Within each group of T-shirt sizes, students are sorted by homeroom number.
          The multi-level sort is applied to the worksheet

        If you need to change the order of a multilevel sort, it's easy to control which column is sorted first. Simply select the desired column, then click the Move Up or Move Down arrow to adjust its priority.

        Move levels up or down

        Challenge!

        1. Open our practice workbook.
        2. Click the Challenge tab in the bottom-left of the workbook.
        3. For the main table, create a custom sort that sorts by Grade from Smallest to Largest and then by Camper Name from A to Z.
        4. Create a sort for the Additional Information section. Sort by Counselor (Column H) from A to Z.
        5. When you're finished, your workbook should look like this:

          Sorting Challenge

        Lesson 20: Filtering Data

        Introduction

        If your worksheet contains a lot of content, it can be difficult to find information quickly. Filters can be used to narrow down the data in your worksheet, allowing you to view only the information you need.

        Optional: Download our practice workbook.

        Watch the video below to learn more about filtering data in Excel.

        To filter data:

        In our example, we'll apply a filter to an equipment log worksheet to display only the laptops and projectors that are available for checkout.

        1. In order for filtering to work correctly, your worksheet should include a header row, which is used to identify the name of each column. In our example, our worksheet is organized into different columns identified by the header cells in row 1: ID#TypeEquipment Detail, and so on.
          The header row in a spreadsheet
        2. Select the Data tab, then click the Filter command.
          The Filter button on the Data tab
        3. A drop-down arrow will appear in the header cell for each column.
        4. Click the drop-down arrow for the column you want to filter. In our example, we will filter column B to view only certain types of equipment.
          Dropdown arrows in the header row
        5. The Filter menu will appear.
        6. Uncheck the box next to Select All to quickly deselect all data.
          The dropdown menu for sorting and filtering
        7. Check the boxes next to the data you want to filter, then click OK. In this example, we will check Laptop and Projector to view only these types of equipment.
          Selecting filter categories
        8. The data will be filtered, temporarily hiding any content that doesn't match the criteria. In our example, only laptops and projectors are visible.
          The worksheet is now filtered

        Filtering options can also be accessed from the Sort & Filter command on the Home tab.

        The Filter menu on the Home tab

        To apply multiple filters:

        Filters are cumulative, which means you can apply multiple filters to help narrow down your results. In this example, we've already filtered our worksheet to show laptops and projectors, and we'd like to narrow it down further to only show laptops and projectors that were checked out in August.

        1. Click the drop-down arrow for the column you want to filter. In this example, we will add a filter to column to view information by date.
          Dropdown arrows in the header row
        2. The Filter menu will appear.
        3. Check or uncheck the boxes depending on the data you want to filter, then click OK. In our example, we'll uncheck everything except for August.
          The dropdown menu for sorting and filtering
        4. The new filter will be applied. In our example, the worksheet is now filtered to show only laptops and projectors that were checked out in August.
          The worksheet now has two filters

        To clear a filter:

        After applying a filter, you may want to remove—or clear—it from your worksheet so you'll be able to filter content in different ways.

        1. Click the drop-down arrow for the filter you want to clear. In our example, we'll clear the filter in column D.
          The dropdown button for the filter applied in this column
        2. The Filter menu will appear.
        3. Choose Clear Filter From [COLUMN NAME] from the Filter menu. In our example, we'll select Clear Filter From "Checked Out".
          The Clear Filter menu option
        4. The filter will be cleared from the column. The previously hidden data will be displayed.
          The filter has been cleared

        To remove all filters from your worksheet, click the Filter command on the Data tab.

        The Filter button on the Data tab

        Advanced filtering

        If you need a filter for something specific, basic filtering may not give you enough options. Fortunately, Excel includes many advanced filtering tools, including searchtextdate, and number filtering, which can narrow your results to help find exactly what you need.

        To filter with search:

        Excel allows you to search for data that contains an exact phrase, number, date, and more. In our example, we'll use this feature to show only Saris brand products in our equipment log.

        1. Select the Data tab, then click the Filter command. A drop-down arrow will appear in the header cell for each column. Note: If you've already added filters to your worksheet, you can skip this step.
        2. Click the drop-down arrow for the column you want to filter. In our example, we'll filter column C.
          Dropdown arrows in the header row
        3. The Filter menu will appear. Enter a search term into the search box. Search results will appear automatically below the Text Filters field as you type. In our example, we'll type saris to find all Saris brand equipment. When you're done, click OK.
          Applying a search filter
        4. The worksheet will be filtered according to your search term. In our example, the worksheet is now filtered to show only Saris brand equipment.
          The search filter has been applied to the worksheet

        To use advanced text filters:

        Advanced text filters can be used to display more specific information, like cells that contain a certain number of characters or data that excludes a specific word or number. In our example, we'd like to exclude any item containing the word laptop.

        1. Select the Data tab, then click the Filter command. A drop-down arrow will appear in the header cell for each column. Note: If you've already added filters to your worksheet, you can skip this step.
        2. Click the drop-down arrow for the column you want to filter. In our example, we'll filter column C.
          Dropdown arrows in the header row
        3. The Filter menu will appear. Hover the mouse over Text Filters, then select the desired text filter from the drop-down menu. In our example, we'll choose Does Not Contain to view data that does not contain specific text.
          Adding a custom filter in the dropdown menu
        4. The Custom AutoFilter dialog box will appear. Enter the desired text to the right of the filter, then click OK. In our example, we'll type laptop to exclude any items containing this word.
          The custom filter dialog box
        5. The data will be filtered by the selected text filter. In our example, our worksheet now displays items that do not contain the word laptop.
          The custom filter has been applied to the worksheet

        To use advanced number filters:

        Advanced number filters allow you to manipulate numbered data in different ways. In this example, we'll display only certain types of equipment based on the range of ID numbers.

        1. Select the Data tab on the Ribbon, then click the Filter command. A drop-down arrow will appear in the header cell for each column. Note: If you've already added filters to your worksheet, you can skip this step.
        2. Click the drop-down arrow for the column you want to filter. In our example, we'll filter column A to view only a certain range of ID numbers.
          Dropdown arrows in the header row
        3. The Filter menu will appear. Hover the mouse over Number Filters, then select the desired number filter from the drop-down menu. In our example, we'll choose Between to view ID numbers between a specific number range.
          Adding a number filter in the dropdown menu
        4. The Custom AutoFilter dialog box will appear. Enter the desired number(s) to the right of each filter, then click OK. In our example, we want to filter for ID numbers greater than or equal to 3000 but less than or equal to 6000, which will display ID numbers in the 3000-6000 range.
          The number filter dialog box
        5. The data will be filtered by the selected number filter. In our example, only items with an ID number between 3000 and 6000 are visible.
          The number filter has been applied to the worksheet

        To use advanced date filters:

        Advanced date filters can be used to view information from a certain time period, such as last year, next quarter, or between two dates. In this example, we'll use advanced date filters to view only equipment that has been checked out between July 15 and August 15.

        1. Select the Data tab, then click the Filter command. A drop-down arrow will appear in the header cell for each column. Note: If you've already added filters to your worksheet, you can skip this step.
        2. Click the drop-down arrow for the column you want to filter. In our example, we'll filter column D to view only a certain range of dates.
          Dropdown arrows in the header row
        3. The Filter menu will appear. Hover the mouse over Date Filters, then select the desired date filter from the drop-down menu. In our example, we'll select Between to view equipment that has been checked out between July 15 and August 15.
          Adding a date filter in the dropdown menu
        4. The Custom AutoFilter dialog box will appear. Enter the desired date(s) to the right of each filter, then click OK. In our example, we want to filter for dates after or equal to July 15, 2015, and before or equal to August 15, 2015, which will display a range between these dates.
          The date filter dialog box
        5. The worksheet will be filtered by the selected date filter. In our example, we can now see which items have been checked out between July 15 and August 15.
          The date filter has been applied to the worksheet

        Challenge!

        1. Open our practice workbook.
        2. Click the Challenge tab in the bottom-left of the workbook.
        3. Apply a filter to show only Electronics and Instruments.
        4. Use the Search feature to filter item descriptions that contain the word Sansei. After you do this, you should have six entries showing.
        5. Clear the Item Description filter.
        6. Using a number filter, show loan amounts greater than or equal to $100.
        7. Filter to show only items that have deadlines in 2016.
        8. When you're finished, your workbook should look like this:

          Filtering Challenge

        Lesson 21: Groups and Subtotals

        Introduction

        Worksheets with a lot of content can sometimes feel overwhelming and even become difficult to read. Fortunately, Excel can organize data into groups, allowing you to easily show and hide different sections of your worksheet. You can also summarize different groups using the Subtotal command and create an outline for your worksheet.

        Optional: Download our practice workbook.

        Watch the video below to learn more about groups and subtotals in Excel.

        To group rows or columns:

        1. Select the rows or columns you want to group. In this example, we'll select columns BC, and D.
          Selecting cells
        2. Select the Data tab on the Ribbon, then click the Group command.
          The Group button on the Data tab
        3. The selected rows or columns will be grouped. In our example, columns BC, and D are grouped.
          The selected cells are now grouped

        To ungroup data, select the grouped rows or columns, then click the Ungroup command.

        The Ungroup button on the Data tab

        To hide and show groups:

        1. To hide a group, click the minus sign, also known as the Hide Detail button.
          The Hide Detail button
        2. The group will be hidden. To show a hidden group, click the plus sign, also known as the Show Detail button.
          The Show Detail button

        Creating subtotals

        The Subtotal command allows you to automatically create groups and use common functions like SUM, COUNT, and AVERAGE to help summarize your data. For example, the Subtotal command could help to calculate the cost of office supplies by type from a large inventory order. It will create a hierarchy of groups, known as an outline, to help organize your worksheet.

        Your data must be correctly sorted before using the Subtotal command, so you may want to review our lesson on Sorting Data to learn more.

        To create a subtotal:

        In our example, we'll use the Subtotal command with a T-shirt order form to determine how many T-shirts were ordered in each size (Small, Medium, Large, and X-Large). This will create an outline for our worksheet with a group for each T-shirt size and then count the total number of shirts in each group.

        1. First, sort your worksheet by the data you want to subtotal. In this example, we'll create a subtotal for each T-shirt size, so our worksheet has been sorted by T-shirt size from smallest to largest.
          Selecting cells
        2. Select the Data tab, then click the Subtotal command.
          The Subtotal button on the Data tab
        3. The Subtotal dialog box will appear. Click the drop-down arrow for the At each change in: field to select the column you want to subtotal. In our example, we'll select T-Shirt Size.
        4. Click the drop-down arrow for the Use function: field to select the function you want to use. In our example, we'll select COUNT to count the number of shirts ordered in each size.
        5. In the Add subtotal to: field, select the column where you want the calculated subtotal to appear. In our example, we'll select T-Shirt Size. When you're satisfied with your selections, click OK.
        6. The worksheet will be outlined into groups, and the subtotal will be listed below each group. In our example, the data is now grouped by T-shirt size, and the number of shirts ordered in that size appears below each group.
          Subtotal rows and groups have been applied to the worksheet

        To view groups by level:

        When you create subtotals, your worksheet it is divided into different levels. You can switch between these levels to quickly control how much information is displayed in the worksheet by clicking the Level buttons to the left of the worksheet. In our example, we'll switch between all three levels in our outline. While this example contains only three levels, Excel can accommodate up to eight.

        1. Click the lowest level to display the least detail. In our example, we'll select level 1, which contains only the grand count, or total number of T-shirts ordered.
          Setting the group detail to level 1
        2. Click the next level to expand the detail. In our example, we'll select level 2, which contains each subtotal row but hides all other data from the worksheet.
          Setting the group detail to level 2
        3. Click the highest level to view and expand all of your worksheet data. In our example, we'll select level 3.
          Setting the group detail to level 3

        You can also use the Show and Hide Detail buttons to show and hide the groups within the outline.

        Using the Show and Hide Detail buttons in a subtotal


        To remove subtotals:

        Sometimes you may not want to keep subtotals in your worksheet, especially if you want to reorganize data in different ways. If you no longer want to use subtotaling, you'll need remove it from your worksheet.

        1. Select the Data tab, then click the Subtotal command.
          The Subtotal button on the Data tab
        2. The Subtotal dialog box will appear. Click Remove All.
          Removing subtotals in the Subtotal dialog
        3. All worksheet data will be ungrouped, and the subtotals will be removed.

        To remove all groups without deleting the subtotals, click the Ungroup command drop-down arrow, then choose Clear Outline.

        Clear Outline in the Ungroup menu on the Data tab

        Challenge!

        1. Open our practice workbook.
        2. Click on the Challenge tab in the bottom-left of the workbook.
        3. Sort the workbook by Grade from smallest to largest.
        4. Use the Subtotal command to group at each change in Grade. Use the SUM function and add subtotals to Amount Raised.
        5. Select Level 2 so that you only see the subtotals and grand total.
        6. When you're finished, your workbook should look like this:

          Grouping and Subtotals Challenge

        Lesson 22: Tables

        Introduction

        Once you've entered information into your worksheet, you may want to format your data as a table. Just like regular formatting, tables can improve the look and feel of your workbook, and they'll also help you organize your content and make your data easier to use. Excel includes several tools and predefined table styles, allowing you to create tables quickly and easily.

        Optional: Download our practice workbook.

        Watch the video below to learn more about working with tables.

        To format data as a table:

        1. Select the cells you want to format as a table. In our example, we'll select the cell range A2:D9.
          selecting a range
        2. From the Home tab, click the Format as Table command in the Styles group.
          format as table command
        3. Select a table style from the drop-down menu.
          choosing a table style
        4. A dialog box will appear, confirming the selected cell range for the table.
        5. If your table has headers, check the box next to My table has headers, then click OK.
          confirmating cell range
        6. The cell range will be formatted in the selected table style.
          table

        Tables include filtering by default. You can filter your data at any time using the drop-down arrows in the header cells. To learn more, review our lesson on Filtering Data.

        Modifying tables

        It's easy to modify the look and feel of any table after adding it to a worksheet. Excel includes many different options for customizing a table, including adding rows or columns and changing the table style.

        To add rows or columns to a table:

        If you need to fit more content into your table, Excel allows you to modify the table size by including additional rows and columns. There are two simple ways to change the table size:

        • Enter new content into any adjacent row or column. The row or column will be roped into the table automatically.
          adding a row
        • Click and drag the bottom-right corner of the table to create additional rows or columns.
          adding several rows

        To change the table style:

        1. Select any cell in your table, then click the Design tab.
          navigating to the design tab
        2. Locate the Table Styles group, then click the More drop-down arrow to see all available table styles.
          more tables styles
        3. Select the desired table style.
          choosing a table style
        4. The table style will be applied.

          table

        To modify table style options:

        You can turn various options on or off to change the appearance of any table. There are several options: Header RowTotal RowBanded RowsFirst ColumnLast ColumnBanded Columns, and Filter Button.Select any cell in your table, then click the Design tab.

        1. Check or uncheck the desired options in the Table Style Options group. In our example, we'll check Total Row to automatically include a total for our table.
          table style options
        2. The table style will be modified. In our example, a new row has been added to the table with a formula that automatically calculates the total value of the cells in column D.
          total row

        Depending on the type of content you have—and the table style you've chosen—these options can affect your table's appearance in various ways. You may need to experiment with a few different options to find the exact style you want.

        To remove a table:

        It's possible to remove a table from your workbook without losing any of your data. However, this can cause issues with certain types of formatting, including colors, fonts, and banded rows. Before you use this option, make sure you're prepared to reformat your cells if necessary.

        1. Select any cell in your table, then click the Design tab.
        2. Click the Convert to Range command in the Tools group.
          convert to range command
        3. A dialog box will appear. Click Yes.
          convert to range confirmation
        4. The range will no longer be a table, but the cells will retain their data and formatting.
          converted table

        To restart your formatting from scratch, click the Clear command on the Home tab. Next, choose Clear Formats from the menu.

        clear command

        Challenge!

        1. Open our practice workbook.
        2. Click the Challenge tab in the bottom-left of the workbook.
        3. Select cells A2:D9 and format as table. Choose one of the light styles.
        4. Insert a row between rows 4 and 5. In the row you just created, type Empanadas: Banana and Nutella, with a unit price of $3.25, and a quantity of 12.
        5. Change the table style to Table Style Medium 10.
        6. In Table Style Options, uncheck banded rows and check banded columns.
        7. When you're finished, your workbook should look like this:

          Tables Challenge

        Lesson 23: Charts

        Introduction

        It can be difficult to interpret Excel workbooks that contain a lot of data. Charts allow you to illustrate your workbook data graphically, which makes it easy to visualize comparisons and trends.

        Optional: Download our practice workbook.

        Watch the video below to learn more about charts.

        Understanding charts

        Excel has several different types of charts, allowing you to choose the one that best fits your data. In order to use charts effectively, you'll need to understand how different charts are used.

        Click the arrows in the slideshow below to learn more about the types of charts in Excel.

        • Slide 1

          Excel has a variety of chart types, each with its own advantages. Click the arrows to see some of the different types of charts available in Excel.

        • Slide 1

          Column charts use vertical bars to represent data. They can work with many different types of data, but they're most frequently used for comparing information.

        • Slide 1

          Line charts are ideal for showing trends. The data points are connected with lines, making it easy to see whether values are increasing or decreasing over time.

        • Slide 1

          Pie charts make it easy to compare proportions. Each value is shown as a slice of the pie, so it's easy to see which values make up the percentage of a whole.

        • Slide 1

          Bar charts work just like column charts, but they use horizontal rather than vertical bars.

        • Slide 1

          Area charts are similar to line charts, except the areas under the lines are filled in.

        • Slide 1

          Surface charts allow you to display data across a 3D landscape. They work best with large data sets, allowing you to see a variety of information at the same time.

        • Slide 1

        In addition to chart types, you'll need to understand how to read a chart. Charts contain several different elements, or parts, that can help you interpret the data.

        Click the buttons in the interactive below to learn about the different parts of a chart.

        Book sales chart

        To insert a chart:

        1. Select the cells you want to chart, including the column titles and row labels. These cells will be the source data for the chart. In our example, we'll select cells A1:F6.
          Selecting cells
        2. From the Insert tab, click the desired Chart command. In our example, we'll select Column.
          Selecting Column charts from the Insert tab
        3. Choose the desired chart type from the drop-down menu.
          Selecting a chart type
        4. The Selected chart will be inserted into the worksheet.
          Chart inserted into worksheet

        If you're not sure which type of chart to use, the Recommended Charts command will suggest several different charts based on the source data.

        Selecting recommended charts command


        Chart and layout style

        After inserting a chart, there are several things you may want to change about the way your data is displayed. It's easy to edit a chart's layout and style from the Design tab.

        • Excel allows you to add chart elements—such as chart titleslegends, and data labels—to make your chart easier to read. To add a chart element, click the Add Chart Element command on the Design tab, then choose the desired element from the drop-down menu.
          Selecting Add Chart Element command from the Design tab
        • To edit a chart element, like a chart title, simply double-click the placeholder and begin typing.
          Editing the chart title
        • If you don't want to add chart elements individually, you can use one of Excel's predefined layouts. Simply click the Quick Layout command, then choose the desired layout from the drop-down menu.
          Selecting the quick layout command
        • Excel also includes several chart styles, which allow you to quickly modify the look and feel of your chart. To change the chart style, select the desired style from the Chart styles group. You can also click the drop-down arrow on the right to see more styles.
          Selecting a chart style

        You can also use the chart formatting shortcut buttons to quickly add chart elements, change the chart style, and filter the chart data.

        Chart formatting shortcut buttons

        Other chart options

        There are many other ways to customize and organize your charts. For example, Excel allows you to rearrange a chart's data, change the chart type, and even move the chart to a different location in a workbook.

        To switch row and column data:

        Sometimes you may want to change the way charts group your data. For example, in the chart below Book Sales data is grouped by genre, with columns for each month. However, we could switch the rows and columns so the chart will group the data by month, with columns for each genre. In both cases, the chart contains the same data—it's just organized differently.

        1. Select the chart you want to modify.
        2. From the Design tab, select the Switch Row/Column command.
          Selecting the Switch Column Row command
        3. The rows and columns will be switched. In our example, the data is now grouped by month, with columns for each genre.

        To change the chart type:

        If you find that your data isn't well suited to a certain chart, it's easy to switch to a new chart type. In our example, we'll change our chart from a column chart to a line chart.

        1. From the Design tab, click the Change Chart Type command.
          Selecting the Change Chart type command from the Design tab
        2. The Change Chart Type dialog box will appear. Select a new chart type and layout, then click OK. In our example, we'll choose a Line chart.
          Selecting a line chart
        3. The selected chart type will appear. In our example, the line chart makes it easier to see trends in sales data over time.
          Line chart

        To move a chart:

        Whenever you insert a new chart, it will appear as an object on the same worksheet that contains its source data. Alternatively, you can move the chart to a new worksheet to help keep your data organized.

        1. Select the chart you want to move.
        2. Click the Design tab, then select the Move Chart command.
          Selecting the move chart command
        3. The Move Chart dialog box will appear. Select the desired location for the chart. In our example, we'll choose to move it to a New sheet, which will create a new worksheet.
        4. Click OK.
          Selecting OK button to close dialog box
        5. The chart will appear in the selected location. In our example, the chart now appears on a new worksheet.

        Keeping charts up to date

        By default, when you add more data to your spreadsheet, the chart may not include the new data. To fix this, you can adjust the data range. Simply click the chart, and it will highlight the data range in your spreadsheet. You can then click and drag the handle in the lower-right corner to change the data range.

        Screenshot of adjusting a data range

        If you frequently add more data to your spreadsheet, it may become tedious to update the data range. Luckily, there is an easier way. Simply format your source data as a table, then create a chart based on that table. When you add more data below the table, it will automatically be included in both the table and the chart, keeping everything consistent and up to date.

        Watch the video below to learn how to use tables to keep charts up to date.

        Challenge!

        1. Open our practice workbook.
        2. Click the Challenge tab in the bottom-left of the workbook.
        3. Select cells A1:E6 and insert a 2D Clustered Column chart.
        4. Change the chart title to September to December Sales.
        5. Use the Switch Row/Column command. The columns should now be grouped by month, with a different color for each salesperson.
        6. Move the chart to a new sheet.
        7. Change the chart type to line with markers.
        8. Use the Quick Layout command to change the layout of the chart.
        9. When you're finished, your workbook should look something like this:

          Charts Challenge

        Lesson 24: Conditional Formatting

        Introduction

        Let's say you have a worksheet with thousands of rows of data. It would be extremely difficult to see patterns and trends just from examining the raw information. Similar to charts and sparklines, conditional formatting provides another way to visualize data and make worksheets easier to understand.

        Optional: Download our practice workbook.

        Watch the video below to learn more about conditional formatting in Excel.

        Understanding conditional formatting

        Conditional formatting allows you to automatically apply formatting—such as colorsicons, and data bars—to one or more cells based on the cell value. To do this, you'll need to create a conditional formatting rule. For example, a conditional formatting rule might be: If the value is less than $2000, color the cell red. By applying this rule, you'd be able to quickly see which cells contain values less than $2000.

        Conditional Formatting in Excel

        To create a conditional formatting rule:

        In our example, we have a worksheet containing sales data, and we'd like to see which salespeople are meeting their monthly sales goals. The sales goal is $4000 per month, so we'll create a conditional formatting rule for any cells containing a value higher than 4000.

        1. Select the desired cells for the conditional formatting rule.
          Selecting cells
        2. From the Home tab, click the Conditional Formatting command. A drop-down menu will appear.
        3. Hover the mouse over the desired conditional formatting type, then select the desired rule from the menu that appears. In our example, we want to highlight cells that are greater than $4000.
          The Conditional Formatting menu on the Home tab
        4. A dialog box will appear. Enter the desired value(s) into the blank field. In our example, we'll enter 4000 as our value.
        5. Select a formatting style from the drop-down menu. In our example, we'll choose Green Fill with Dark Green Text, then click OK.
          The Greater Than dialog box
        6. The conditional formatting will be applied to the selected cells. In our example, it's easy to see which salespeople reached the $4000 sales goal for each month.
          A conditional formatting rule is now applied to the worksheet

        You can apply multiple conditional formatting rules to a cell range or worksheet, allowing you to visualize different trends and patterns in your data.

        Multiple conditional formatting rules on the same area of a worksheet

        Conditional formatting presets

        Excel has several predefined styles—or presets—you can use to quickly apply conditional formatting to your data. They are grouped into three categories:

        • Data Bars are horizontal bars added to each cell, much like a bar graph.
          Data bars
        • Color Scales change the color of each cell based on its value. Each color scale uses a two- or three-color gradient. For example, in the Green-Yellow-Red color scale, the highest values are green, the average values are yellow, and the lowest values are red.
          Color scales
        • Icon Sets add a specific icon to each cell based on its value.
          Icon sets

        To use preset conditional formatting:

        1. Select the desired cells for the conditional formatting rule.
          Select cells
        2. Click the Conditional Formatting command. A drop-down menu will appear.
        3. Hover the mouse over the desired preset, then choose a preset style from the menu that appears.
          The presets on the Conditional Formatting menu
        4. The conditional formatting will be applied to the selected cells.
          The preset has been applied to the worksheet

        Removing conditional formatting

        To remove conditional formatting:

        1. Click the Conditional Formatting command. A drop-down menu will appear.
        2. Hover the mouse over Clear Rules, and choose which rules you want to clear. In our example, we'll select Clear Rules from Entire Sheet to remove all conditional formatting from the worksheet.
          Clear Rules on the Conditional Formatting menu
        3. The conditional formatting will be removed.
          The conditional formatting has been removed

        Click Manage Rules to edit or delete individual rules. This is especially useful if you've applied multiple rules to a worksheet.

        The Conditional Formatting Rules Manager

        Challenge!

        1. Open our practice workbook.
        2. Click the Challenge worksheet tab in the bottom-left of the workbook.
        3. Select cells B3:J17.
        4. Let's say you're the teacher and want to easily see all of the grades that are below passing. Apply Conditional Formatting so it Highlights Cells containing values Less Than 70 with a light red fill.
        5. Now you want to see how the grades compare to each other. Under the Conditional Formatting tab, select the Icon Set called 3 Symbols (Circled)Hint: The names of the icon sets will appear when you hover over them.
        6. Your spreadsheet should look like this:
        7. Using the Manage Rules feature, remove the light red fill, but keep the icon set.

        Lesson 25: Track Changes and Comments

        Introduction

        Let's say someone asked you to proofread or collaborate on a workbook. If you had a printed copy, you might use a red pen to edit cell data, mark spelling errors, or add comments in the margins. Excel allows you to do all of these things electronically using the Track Changes and Comments features.

        Alert! The Track Changes command has been removed from the Review Tab in Excel 2016.

        Optional: Download our practice workbook.

        Watch the video below to learn more about track changes and comments.

        Understanding Track Changes

        When you turn on the Track Changes feature, every cell you edit will be highlighted with a unique border and indicator. Selecting a marked cell will show the details of the change. This allows you and other reviewers to see what's been changed before accepting the revisions permanently.

        In the image below, each edited cell has a blue border and a small triangle in the upper-left corner.

        Changes in an Excel worksheet

        There are some changes Excel cannot track. Before using this feature, you may want to review Microsoft's list of changes that Excel does not track or highlight.

        You cannot use Track Changes if your workbook includes tables. To remove a table, select it, click the Design tab, then click Convert to Range.

        To turn on Track Changes:

        1. From the Review tab, click the Track Changes command, then select Highlight Changes from the drop-down menu.
          The Track Changes menu on the Review tab.
        2. The Highlight Changes dialog box will appear. Check the box next to Track changes while editing. Verify that the box is checked for Highlight changes on screen, then click OK.
          The Highlight Changes dialog box
        3. If prompted, click OK to allow Excel to save your workbook.
          Excel may prompt to save the workbook.
        4. Track Changes will be turned on. A triangle and border color will appear in any cell you edit. If there are multiple reviewers, each person will be assigned a different color.
        5. Select the edited cell to see a summary of the tracked changes. In our example below, we've changed the content of cell D14 from ? to Getting to know your team.
          The change made in this cell is tracked.

        When you turn on Track Changes, your workbook will be shared automatically. Shared workbooks are designed to be stored where other users can access and edit the workbook at the same time, such as a network. However, you can also track changes in a local or personal copy, as seen throughout this lesson.

        To list changes on a separate worksheet:

        You can also view changes on a new worksheet, sometimes called the Tracked Changes history. The history lists everything in your worksheet that has been changed, including the old value (previous cell content) and the new value (current cell content).

        1. Save your workbook.
        2. From the Review tab, click the Track Changes command, then select Highlight Changes from the drop-down menu.
          Selecting Highlight Changes...
        3. The Highlight Changes dialog box will appear. Check the box next to List changes on a new sheet, then click OK.
          Listing changes on a new worksheet and clicking OK
        4. The tracked changes will be listed on their own worksheet, called History.
          A summary of all changes on their own worksheet

        To remove the History worksheet from your workbook, you can either save your workbook again or uncheck the box next to List changes on a new sheet in the Highlight Changes dialog box.

        Reviewing changes

        Tracked changes are really just suggested changes. To become permanent, the changes must be accepted. On the other hand, the original author may disagree with some of the tracked changes and choose to reject them.

        To review tracked changes:

        1. From the Review tab, click Track Changes, then select Accept/Reject Changes from the drop-down menu.
          Selecting Accept/Reject Changes
        2. If prompted, click OK to save your workbook.
        3. A dialog box will appear. Make sure the box next to the When: field is checked and set to Not yet reviewed, then click OK.
          Clicking OK
        4. A dialog box will appear. Click Accept or Reject for each change in the workbook. Excel will move through each change automatically until you have reviewed them all.
          Accepting a change
        5. Even after accepting or rejecting changes, the tracked changes will still appear in your workbook. To remove them completely, you'll need to turn off Track Changes. From the Review tab, click Track Changes, then select Highlight Changes from the drop-down menu.
          Clicking Highlight Changes...
        6. A dialog box will appear. Uncheck the box next to Track changes while editing, then click OK.
          Turning off Track Changes
        7. Click Yes to confirm that you want to turn off Track Changes and stop sharing your workbook.
          Confirming that Track Changes will be turned off

        To accept or reject all changes at once, click Accept All or Reject All in the Accept or Reject Changes dialog box.

        Turning off Track Changes will remove any tracked changes in your workbook. You will not be able to view, accept, or reject changes; instead, all changes will be accepted automatically. Always review the changes in your worksheet before turning off Track Changes.

        Comments

        Sometimes you may want to add a comment to provide feedback instead of editing the contents of a cell. While often used in combination with Track Changes, you don't necessarily need to have Track Changes turned on to use comments.

        To add a comment:

        1. Select the cell where you want the comment to appear. In our example, we'll select cell D17.
          Selecting cell E8
        2. From the Review tab, click the New Comment command.
          Clicking the New Comment command
        3. comment box will appear. Type your comment, then click anywhere outside the box to close the comment.
          Adding a comment
        4. The comment will be added to the cell, represented by the red triangle in the top-right corner.
          Comment indicator
        5. Select the cell again to view the comment.
          Selecting a cell to view a comment

        To edit a comment:

        1. Select the cell containing the comment you want to edit.
        2. From the Review tab, click the Edit Comment command.
          Clicking the Edit Comment command
        3. The comment box will appear. Edit the comment as desired, then click anywhere outside the box to close the comment.
          Editing a comment

        To show or hide comments:

        1. From the Review tab, click the Show All Comments command to view every comment in your worksheet at the same time.
          Clicking the Show All Comments command
        2. All comments in the worksheet will appear. Click the Show All Comments command again to hide them.
          Viewing all comments at the same time

        You can also choose to show and hide individual comments by selecting the desired cell and clicking the Show/Hide Comment command.

        Showing and hiding individual comments

        To delete a comment:

        1. Select the cell containing the comment you want to delete. In our example, we'll select cell E13.
          Selecting cell E8
        2. From the Review tab, click the Delete command in the Comments group.
          Clicking the Delete command
        3. The comment will be deleted.
          After deleting the comment

        Challenge!

        1. Open our practice workbook.
        2. Turn on Track Changes.
        3. Replace the value in cell D14 with Rope Bridge Activity.
        4. Change cell E15 to say Julia.
        5. Save your workbook.
        6. List changes on a new sheet. After you do this, the worksheet should look like this:
          Changes on Separate Sheet
        7. Return to the Agenda Planner tab.
        8. Add a comment to cell E16 that says snacks will be provided by the exec team.
        9. When you're finished, your workbook should look like this:
          Track Changes Challenge
        10. Accept All Changes, then turn off Track Changes.

        Lesson 26: Inspecting and Protecting Workbooks

        Introduction

        Before sharing a workbook, you'll want to make sure it doesn't include any spelling errors or information you want to keep private. Fortunately, Excel includes several tools to help finalize and protect your workbook, including Document Inspector and the Protect Workbook feature.

        Optional: Download our practice workbook.

        Watch the video below to learn more about inspecting and protecting workbooks.

        Document Inspector

        Whenever you create or edit a workbook, certain personal information may be added to the file automatically. You can use Document Inspector to remove this information before sharing a workbook with others.

        Because some changes may be permanent, it's a good idea to save an additional copy of your workbook before using the Document Inspector to remove information.

        To use Document Inspector:

        1. Click the File tab to access Backstage view.
        2. From the Info pane, click Check for Issues, then select Inspect Document from the drop-down menu.
          Clicking Inspect Document
        3. You may be prompted to save your file before running Document Inspector.
        4. Document Inspector will appear. Check or uncheck boxes, depending on the content you want to review, then click Inspect. In our example, we'll leave everything selected.
          Inspecting the workbook
        5. The inspection results will appear. In our example, we can see that our workbook contains comments and some personal information, so we'll click Remove All on both items to remove this information from the workbook.
          Removing personal information from the workbook
        6. When you're done, click Close.
          Closing the Document Inspector

        Protecting your workbook

        By default, anyone with access to your workbook will be able to open, copy, and edit its content unless you protect it. There are many different ways to protect a workbook, depending on your needs.

        To protect your workbook:

        1. Click the File tab to access Backstage view.
        2. From the Info pane, click the Protect Workbook command.
        3. In the drop-down menu, choose the option that best suits your needs. In our example, we'll select Mark as Final. Marking your workbook as final is a good way to discourage others from editing the workbook, while the other options give you even more control if needed.
          Selecting Mark as Final
        4. A dialog box will appear, prompting you to save. Click OK.
          Clicking OK to save the workbook
        5. Another dialog box will appear. Click OK.
          Clicking OK
        6. The workbook will be marked as final.
          A workbook marked as final

        Marking a workbook as final will not prevent others from editing it. If you want to prevent people from editing it, you can use the Restrict Access option instead.

        Challenge!

        1. Open our practice workbook.
        2. Use Document Inspector to check the workbook and remove anything it finds.
        3. Protect the workbook by Marking As Final.
        4. When you're finished, your workbook should look something like this:

          Inspecting and Protecting

        Lesson 27: Intro to PivotTables

        Introduction

        When you have a lot of data, it can sometimes be difficult to analyze all of the information in your worksheet. PivotTables can help make your worksheets more manageable by summarizing your data and allowing you to manipulate it in different ways.

        Optional: Download our practice workbook.

        Watch the video below to learn more about PivotTables.

        Using PivotTables to answer questions

        Consider the example below. Let's say we wanted to answer the question What is the amount sold by each salesperson? Answering it could be time consuming and difficult; each salesperson appears on multiple rows, and we would need to total all of their different orders individually. We could use the Subtotal command to help find the total for each salesperson, but we would still have a lot of data to work with.

        worksheet of sales data

        Fortunately, a PivotTable can instantly calculate and summarize the data in a way that will make it much easier to read. When we're done, the PivotTable will look something like this:

        sales total by salesperson

        Once you've created a PivotTable, you can use it to answer different questions by rearranging—or pivoting—the data. For example, let's say we wanted to answer What is the total amount sold in each month? We could modify our PivotTable to look like this:

        sales total by month

        To create a PivotTable:

        1. Select the table or cells (including column headers) you want to include in your PivotTable.
          selecting a table
        2. From the Insert tab, click the PivotTable command.
          pivottable command
        3. The Create PivotTable dialog box will appear. Choose your settings, then click OK. In our example, we'll use Table1 as our source data and place the PivotTable on a new worksheet.
          pivottable dialog box
        4. A blank PivotTable and Field List will appear on a new worksheet.
          blank pivottable
        5. Once you create a PivotTable, you'll need to decide which fields to add. Each field is simply a column header from the source data. In the PivotTable Field List, check the box for each field you want to add. In our example, we want to know the total amount sold by each salesperson, so we'll check the Salesperson and Order Amount fields.
          selecting fields
        6. The selected fields will be added to one of the four areas below. In our example, the Salesperson field has been added to the Rows area, while Order Amount has been added to Values. Alternatively, you can drag and drop fields directly into the desired area.
          fields added to areas
        7. The PivotTable will calculate and summarize the selected fields. In our example, the PivotTable shows the amount sold by each salesperson.
          finished pivottable

        Just like with normal spreadsheets, you can sort the data in a PivotTable using the Sort & Filter command on the Home tab. You can also apply any type of number formatting you want. For example, you may want to change the number format to Currency. However, be aware that some types of formatting may disappear when you modify the PivotTable.

        sorted and formatted

        If you change any of the data in your source worksheet, the PivotTable will not update automatically. To manually update it, select the PivotTable and then go to AnalyzeRefresh.

        Pivoting data

        One of the best things about PivotTables is that they can quickly pivot—or reorganize—your data, allowing you to examine your worksheet in several ways. Pivoting data can help you answer different questions and even experiment with your data to discover new trends and patterns.

        To add columns:

        So far, our PivotTable has only shown one column of data at a time. In order to show multiple columns, you'll need to add a field to the Columns area.

        1. Drag a field from the Field List into the Columns area. In our example, we'll use the Month field.
          adding a column
        2. The PivotTable will include multiple columns. In our example, there is now a column for each person's monthly sales, in addition to the grand total.
          finished pivottable

        To change a row or column:

        Changing a row or column can give you a completely different perspective on your data. All you have to do is remove the field in question, then replace it with another.

        1. Drag the field you want to remove out of its current area. You can also uncheck the appropriate box in the Field List. In this example, we've removed the Month and Salesperson fields.
          removing fields
        2. Drag a new field into the desired area. In our example, we'll place the Region field under Rows.
          dragging a field
        3. The PivotTable will adjust—or pivot—to show the new data. In our example, it now shows the amount sold by each region.
          finished pivottable

        To learn more

        Once you're comfortable with PivotTables, check out our Doing More with PivotTables lesson for even more ways to customize and manipulate them.

        Challenge!

        1. Open our practice workbook.
        2. Create a PivotTable in a separate sheet.
        3. We want to answer the question What is the total amount sold in each region? To do this, select Region and Order Amount. When you're finished, your workbook should look like this:
          PivotTable 1
        4. In the Rows area, remove Region and replace it with Salesperson.
        5. Add Month to the Columns area.
        6. Change the number format of cells B5:E13 to CurrencyNote: You might have to make columns C and D wider in order to see the values.
        7. When you're finished, your workbook should look like this:

          Intro to PivotTables

        Lesson 28: Doing More with PivotTables

        Introduction

        As you learned in our previous lesson, Intro to PivotTables, PivotTables can be used to summarize and analyze almost any type of data. To help you manipulate your PivotTable—and gain even more insight into your data—Excel offers three additional tools: filtersslicers, and PivotCharts.

        Optional: Download our practice workbook.

        Watch the video below to learn more about enhancing PivotTables.

        Filters

        Sometimes you may want focus on a certain section of your data. Filters can be used to narrow down the data in your PivotTable, so you can view only the information you need.

        To add a filter:

        In the example below, we'll filter out certain salespeople to determine how their individual sales are impacting each region.

        1. Drag a field from the Field List to the Filters area. In this example, we'll use the Salesperson field.
          dragging a field
        2. The filter will appear above the PivotTable. Click the drop-down arrow, then check the box next to Select Multiple Items.
          enabling select multiple items
        3. Uncheck the box next to any item you don't want to include in the PivotTable. In our example, we'll uncheck the boxes for a few salespeople, then click OK.
          unchecking/deselecting items
        4. The PivotTable will adjust to reflect the changes.
          filtered pivottable

        Slicers

        Slicers make filtering data in PivotTables even easier. Slicers are basically just filters but are easier and faster to use, allowing you to instantly pivot your data. If you frequently filter your PivotTables, you may want to consider using slicers instead of filters.

        To add a slicer:

        1. Select any cell in the PivotTable.
        2. From the Analyze tab, click the Insert Slicer command.
          insert slicer command
        3. A dialog box will appear. Check the box next to the desired field. In our example, we'll select Salesperson, then click OK.
          field dialog box
        4. The slicer will appear next to the PivotTable. Each selected item will be highlighted in blue. In the example below, the slicer contains all eight salespeople, but only five of them are currently selected.
          slicer and pivottable
        5. Just like filters, only selected items are used in the PivotTable. When you select or deselect an item, the PivotTable will instantly reflect the change. Try selecting different items to see how they affect the PivotTable. Press and hold the Ctrl key on your keyboard to select multiple items at once.
          adjusting the pivottable

        You can also click the Filter icon in the top-right corner of the slicer to select all items at once.

        PivotCharts

        PivotCharts are like regular charts, except they display data from a PivotTable. Just like regular charts, you'll be able to select a chart typelayout, and style that will best represent the data.

        To create a PivotChart:

        In the example below, our PivotTable is showing a portion of each region's sales figures. We'll use a PivotChart so we can see the information more clearly.

        1. Select any cell in your PivotTable.
        2. From the Insert tab, click the PivotChart command.
          pivotchart command
        3. The Insert Chart dialog box will appear. Select the desired chart type and layout, then click OK.
          chart dialog box
        4. The PivotChart will appear.
          pivottable, slicer, and pivotchart

        Try using filters or slicers to narrow down the data in your PivotChart. To view different subsets of information, change the columns or rows in your PivotTable. In the example below, we've changed the PivotTable to view the monthly sales for each salesperson.

        adjusted pivotchart

        Challenge!

        1. Open our practice workbook.
        2. In the Rows area, remove Region and replace it with Salesperson.
        3. Insert a PivotChart, and choose the type Line with Markers.
        4. Insert a slicer for Regions.
        5. Use the slicer to only show the South and East regions.
        6. Change the PivotChart type to Stacked Column.
        7. In the PivotChart Fields pane to the right, add Month to the Legend (Series) area. Note: You can also click the PivotTable and then add Month to the Columns area; the result will be the same.
        8. When you're finished, your workbook should look something like this:

          More PivotTables