Lesson 1
Formatting Toolbar
The contents of a highlighted cell can be formatted in many ways. Font and cell attributes can be added from shortcut buttons on the formatting bar. If this toolbar is not already visible on the screen, select View|Toolbars|Formatting from the menu bar.
Format Cells Dialog Box
For a complete list of formatting options, right-click on the highlighted cells and choose Format Cells from the shortcut menu or select Format|Cells from the menu bar.
Dates and Times
If you enter the date "January 1, 2001" into a cell on the worksheet, Excel will automatically recognize the text as a date and change the format to "1-Jan-01". To change the date format, select the Number tab from the Format Cells window. Select "Date" from the Category box and choose the format for the date from the Type box. If the field is a time, select "Time" from the Category box and select the type in the right box. Date and time combinations are also listed. Press OK when finished.
Styles
The use of styles in Excel allow you to quickly format your worksheet, provide consistency, and create a professional look. Select the Styles drop-down box from the formatting toolbar (it can be added by customizing the toolbar). Excel provides several preset styles:
Style Dialog Box
Create your own styles from the Style Dialog Box.
Create a New Style
Format Painter
A handy feature on the standard toolbar for formatting text is the Format
Painter. If you have formatted a cell with a certain font style, date format,
border, and other formatting options, and you want to format another cell or
group of cells the same way, place the cursor within the cell containing the
formatting you want to copy. Click the Format Painter button in the
standard toolbar (notice that your pointer now has a paintbrush beside it).
Highlight the cells you want to add the same formatting to.
To copy the formatting to many groups of cells, double-click the Format
Painter button. The format painter remains active until you press the ESC
key to turn it off.
AutoFormat
Excel has many preset table formatting options. Add these styles by following these steps:
Create and Use Templates | ||||||||||||||||||||||||||||
|
The distinguishing feature of a spreadsheet program such as Excel is that it allows you to create mathematical formulas and execute functions. Otherwise, it is not much more than a large table for displaying text. This page will show you how to create these calculations.
Formulas
Formulas are entered in the worksheet cell and must begin with an equal sign "=". The formula then includes the addresses of the cells whose values will be manipulated with appropriate operands placed in between. After the formula is typed into the cell, the calculation executes immediately and the formula itself is visible in the formula bar. See the example below to view the formula for calculating the sub total for a number of textbooks. The formula multiplies the quantity and price of each textbook and adds the subtotal for each book.
Linking Worksheets
You may want to use the value from a cell in another worksheet within the same workbook in a formula. For example, the value of cell A1 in the current worksheet and cell A2 in the second worksheet can be added using the format "sheetname!celladdress". The formula for this example would be "=A1+Sheet2!A2" where the value of cell A1 in the current worksheet is added to the value of cell A2 in the worksheet named "Sheet2".
Relative, Absolute, and Mixed Referencing
Calling cells by just their column and row labels (such as "A1") is called relative referencing. When a formula contains relative referencing and it is copied from one cell to another, Excel does not create an exact copy of the formula. It will change cell addresses relative to the row and column they are moved to. For example, if a simple addition formula in cell C1 "=(A1+B1)" is copied to cell C2, the formula would change to "=(A2+B2)" to reflect the new row. To prevent this change, cells must be called by absolute referencing and this is accomplished by placing dollar signs "$" within the cell addresses in the formula. Continuing the previous example, the formula in cell C1 would read "=($A$1+$B$1)" if the value of cell C2 should be the sum of cells A1 and B1. Both the column and row of both cells are absolute and will not change when copied. Mixed referencing can also be used where only the row OR column fixed. For example, in the formula "=(A$1+$B2)", the row of cell A1 is fixed and the column of cell B2 is fixed.
Basic Functions
Functions can be a more efficient way of performing mathematical operations than formulas. For example, if you wanted to add the values of cells D1 through D10, you would type the formula "=D1+D2+D3+D4+D5+D6+D7+D8+D9+D10". A shorter way would be to use the SUM function and simply type "=SUM(D1:D10)". Several other functions and examples are given in the table below:
Function | Example | Description |
SUM | =SUM(A1:100) | finds the sum of cells A1 through A100 |
AVERAGE | =AVERAGE(B1:B10) | finds the average of cells B1 through B10 |
MAX | =MAX(C1:C100) | returns the highest number from cells C1 through C100 |
MIN | =MIN(D1:D100) | returns the lowest number from cells D1 through D100 |
SQRT | =SQRT(D10) | finds the square root of the value in cell D10 |
TODAY | =TODAY() | returns the current date (leave the parentheses empty) |
Function Wizard
View all functions available in Excel by using the Function Wizard.
Autosum
Use the Autosum function to add the contents of a cluster of adjacent cells.