Excel Basics
Excel Basics
Content
Get Help ....................................................................................1 Hide Columns/Rows ........................................................ 8
Ask for Help from the Office Assistant ..........................1 Preview Page Breaks ......................................................... 8
Activate the Tip of the Day...............................................2 Set Up Pages for Printing ....................................................... 8
Get Help from the Help menu .........................................2 Repeat Headings ................................................................ 8
Get Help from the Office Update Web Site ...................2 Use Print Preview .............................................................. 9
Create Workbooks ...................................................................2 Print the Worksheet/Workbook ..................................... 9
Create a New Blank Workbook .......................................3 Manage Data............................................................................. 9
Create a Workbook Using a Template............................3 Protect Worksheets and Cells .......................................... 9
Create a Template ..............................................................3 Validate Data Entry ......................................................... 10
Create a Workbook by Copying an Existing Workbook Format Data ............................................................................ 10
...............................................................................................4 Format Cells...................................................................... 10
Open Workbooks .....................................................................4 Use Format Painter .......................................................... 10
Excel Currently is not Open..............................................4 Analyze/Manipulate Data ................................................... 11
Excel Currently is Open ....................................................4 Manage Formulas ............................................................ 11
The Workbook is not a Excel Workbook.........................5 Reference Other Worksheets.......................................... 11
Close/Save Workbooks ..........................................................6 Use Functions ................................................................... 11
Closing Workbooks ...........................................................6 Use Conditional Formatting .......................................... 11
Save Workbooks.................................................................6 Use Named Cells and Ranges.............................................. 13
Control the Saved File Type .............................................7 Remove a Cell or Range Name...................................... 13
Manage the Displayed Worksheet ........................................7 Importing and Exporting Data ............................................ 13
Customize Toolbars ...........................................................7 Import Data from External Sources .............................. 13
Keep Column/Row Headings Displayed......................7 Export to Other Applications......................................... 13
Size Columns and Rows ...................................................8
Get Help
Developing the habit of using the Help function in any application helps you learn more
effective ways to use the application and to become more self-reliant. There are several ways to
get help while working in Excel.
4. Click OK.
Create Workbooks
There are several ways to create a new workbook, including starting from an existing workbook
and making appropriate changes.
Create a Template
The first step in creating a template is finding an existing workbook or template that most
closely resembles the template you want to create. The two most common starting points are:
While viewing an existing Excel workbook or template…
1. Click File t Save As.
2. In the Save As dialog…
a. In the File name: field, change the file name to the name you want to give the
template.
b. In the Save as type: field, select Template (*.xlt)
c. The file folder in the Save in: field changes to the default location for your Excel
templates:
d. Unless you have specific reason to save the new template elsewhere, accept this
location and click Save.
Open Workbooks
Excel Workbooks may be opened many ways—while there is no overall “best” way, there
usually is a more convenient way based on what you are doing when you decide to open the
workbook. Each following suggestion assumes a different starting point.
• With All Microsoft Excel Files… selected, the list is limited to Excel or Excel-like
documents.
• With All Files… selected, the list shows all document types.
• How the workbook actually opens depends on the workbook type (see The Workbook
is not an Excel Workbook on page 5 for more information).
♦ In the Open dialog window, lower right corner, you’ll see an Open dropdown control.
Clicking the dropdown arrow gives you this:
• Clicking Open opens the workbook as-is, as previously
described.
• Clicking Open Read-Only opens the workbook for viewing;
you aren’t allowed to make changes to it.
• Clicking Open as Copy opens a copy of the workbook; the
original workbook is unaffected.
Close/Save Workbooks
Closing Workbooks
When you close a workbook Excel asks you whether you want to save the workbook. Answer
No and you lose all edits you’ve made since time the workbook was saved; answer Yes, and the
modified workbook replaces the original workbook. Typical ways to close the current
workbook:
Click the Exit icon for the workbook (located just below the upper right corner
of the Excel window, boxed in red in this display).
Click File t Close.
Press Alt+F4.
To close all open workbooks…
♦ …and leave Excel open, press and hold Shift while you click File, then click Close All;
♦ …and close Excel as well, click File t Exit or click the Exit icon.
Save Workbooks
There are two types of save processes for Excel workbooks:
You may tell Excel to save the workbook automatically at a specified time interval. You set
the auto save options by clicking Tools t AutoSave tab. In the AutoSave dialog:
♦ Checking the Automatic save every: checkbox activates the auto save function.
♦ The time value you specify should be based on how much you are willing to risk losing.
A shorter duration involves less risk but increases the number of save actions.
♦ Consider also checking the Prompt Before Saving checkbox as well. This allows you to
skip the save if you aren’t ready to have the worksheet modified on disk.
You also may explicitly save the workbook. This is the most reliable type of save because
your changes are captured even in the event the autosave process fails. Typical actions to
explicitly save the workbook include:
♦ Click File t Save (or Save As to save a copy and leave the original unmodified).
♦ Click the Save icon on the Standard toolbar.
♦ Press Ctrl+S.
♦ Close the workbook and respond Yes when prompted about saving it.
♦ To save all open workbooks, press and hold Shift while you click File, then click Save All.
The standard Excel workbook file type (.xls) usually is the default.
3. Select the file type you want and click Save.
Hide Columns/Rows
When you want to collapse the spreadsheet temporarily, bringing non-adjacent columns or
rows closer together, you may hide intervening columns/rows:
1. Select the columns or rows you want to hide.
2. Right-click in the selection and select Hide.
To unhide a group of adjacent columns/rows…
1. Select the columns/rows spanning the hidden columns/rows.
2. Right click the selection.
3. Click Unhide.
To unhide all hidden columns/rows, click Format t [Column or Row] t Unhide.
Manage Data
Protect Worksheets and Cells
It may be useful to create a worksheet-based form, in which only specified cells may be
modified.
1. Select the full worksheet.
2. Click Format t Cells (or right-click in selection and select Format Cells) and select the
Protection tab.
3. Make sure Locked is checked and click OK. This locks all cells.
4. Select individual cells or ranges of cells for which modification is to be allowed, then…
Format Data
There are many ways you may make the worksheet easier to interpret. Think in terms of
association, differentiation and emphasis—and ease of reading.
Format Cells
You control the most rudimentary formatting by selecting one or more cells, then clicking the
Fill Color icon —usually complimented by clicking the Font Color icon and selecting a
font color appropriate to the fill (what you want is high contrast without clashing colors). You
also may click the Borders icon to control cell borders.
Taking it one step further, click Format t Cells (or right-click the selection and select Format
Cells). The tabs provide more formatting options:
Numbers—more than numbers, this allows you to specify formatting for many data types.
Alignment—allows specifying text placement, orientation word wrap and other attributes.
Font—allows selecting the font family and many font attributes.
Border—provides more options for border color and style.
Patterns—provides a larger color palette than the Fill Color icon and patterns for the fill.
Protection—previous discussed in Protect Worksheets and Cells on page 9.
2. Click the Format Painter icon (double-click it to paint more than one target).
3. Click the cell or cells on which you want to impose the formatting attributes. You man
repeat the action if you double-clicked the icon.
4. If you double-clicked the icon, you may turn off the function by clicking the icon again or
pressing the Esc key.
The Format Painter even works across worksheets.
Analyze/Manipulate Data
Manage Formulas
To include a format in a cell, type = as the first character in the cell—for example, typing in
cell C2 the string =B2+1, causes the cell content to display a value one greater than the value
in cell B2. You may include a cell address by clicking it instead of typing it in the formula.
To revise a formula, select the cell and edit the formula in the Formula Bar.
Use Functions
Excel provides many built-in functions you may use. To see the list of available functions, click
Insert t Function or click the Functions icon . One function that is easy to use is AutoSum.
When you click this icon , Excel creates in the current cell an arithmetic sum of columns above
or to the left—making a best guess from the context of surrounding cell content. If Excel’s guess
is not what you want, it’s easy to revise the summary range by modifying the formula.
i. When you return to the Conditional Formatting dialog, click the button.
j. Repeat for Condition 2 and
Condition 3 the steps you did
for Condition 1, changing the
values appropriately. The
result should look like this
example.
k. Click OK.
Now you may experiment by
typing various values in the
affected cells.