Simulation Lab
Simulation Lab
INSTITUTIONS
THIRD SEMESTER
M.B.A. – MASTER OF BUSINESS
ADMINISTRATION
The Quick Access Toolbar is a customizable toolbar that contains a set of commands that are
independent of the tab that is currently displayed. You can add buttons that represent commands to
the Quick Access Toolbar, and you can move the Quick Access Toolbar from one of the two possible
locations.
Add a command to the Quick Access Toolbar by using the Program Name Options dialog box
Add a command to the Quick Access Toolbar directly from the Ribbon
If you don't want the Quick Access Toolbar to be displayed in its current location, you can move it to
the other location. If you find that the default location next to the Microsoft Office Button is too
far from your work area to be convenient, you may want to move it closer to your work area. The
location below the Ribbon encroaches on the work area. Therefore, if you want to maximize the work
area, you may want to keep the Quick Access Toolbar in its default location.
1. Click Customize Quick Access Toolbar .
Top of Page
You can add a command to the Quick Access Toolbar from a list of commands in the Program Name
Options dialog box, where Program Name is the name of the program you are in, for example, Word
Options
1. Click the Microsoft Office Button , and then click Program Name Options,
where Program Name is the name of the program you are in, for example, Word
Options.
2. Click Customize.
2. In the Program Name Options dialog box, in the Choose commands from list
3. In the list of commands in the selected category, click the command that you want to add to
4. After you finish adding any other command that you want, click OK.
Top of Page
Add a command to the Quick Access Toolbar
directly from the Ribbon
You can also add a command to the Quick Access Toolbar directly from commands that are displayed
on the Ribbon.
1. On the Ribbon, click the appropriate tab or group to display the command that you want to
2. Right-click the command, and then click Add to Quick Access Toolbar on the shortcut
menu.
NOTE Only commands can be added to the Quick Access Toolbar. The contents of most lists, such as
indent and spacing values and individual styles, which also appear on the Ribbon, cannot be added to
2. Type the numbers or text that you want, and then press ENTER or TAB.
TIP To start data on a new line within a cell, enter a line break by pressing ALT+ENTER.
NOTES
By default, pressing ENTER moves the selection down one cell, and pressing TAB moves the
selection one cell to the right. You cannot change the direction of the move for the TAB key,
but you can specify a different direction for the ENTER key.
1. Click the Microsoft Office Button , and then click Excel Options.
2. In the Advanced category, under Edit, select the After pressing Enter, move
selection check box, and then click the direction that you want in the Direction box.
When you press TAB to enter data in several cells in a row and then press ENTER at the end of
that row, the selection moves to the beginning of the next row.
A cell may display ##### when it contains data that has a number format that is wider than
the column width. To see all text, you must increase the width of the column.
1. Click the cell for which you want to change the column width.
To specify a larger column width, click Column Width, and then type the width
You can display multiple lines of text inside a cell by wrapping the text.
NOTE If the text is a single long word, the characters won't wrap; you can widen the
column or decrease the font size to see all of the text. If not all of the text is visible after
you wrap the text, you may need to adjust the height of the row. On the Home tab, in
the Cells group, click Format, and then under Cell Size click AutoFit Row.
In Microsoft Office Excel, the appearance of a number in a cell is separate from the number
that is stored in the cell. When a number that you enter is rounded, in most circumstances,
only the displayed number is rounded. Calculations use the actual number stored in the cell,
After you type numbers in a cell, you can change the format in which they are displayed.
1. Click the cell that contains the numbers that you want to format.
2. On the Home tab, in the Number group, point to General, and then click the format
TIP To select a number format from the list of available formats, click More, and then
click the format that you want to use in the Category list.
For numbers that do not need to be calculated in Excel, such as phone numbers, you can
format them as text by applying the Text format to empty cells before typing the numbers.
2. On the Home tab, in the Number group, point to General, and then click Text.
NOTE Numbers that you typed before you applied the Text format to the cells need to
be reentered in the formatted cells. To quickly reenter numbers as text, select each cell,
Top of Page
Enter numbers with a fixed decimal point
1. Click the Microsoft Office Button , and then click Excel Options.
2. Click Advanced, and then under Editing options, select the Automatically insert a
3. In the Places box, enter a positive number for digits to the right of the decimal point or a
For example, if you enter 3 in the Places box and then type 2834 in a cell, the value will be
2.834. If you enter -3 in the Places box and then type 283, the value will be 283000.
4. On the worksheet, click a cell, and then enter the number that you want.
NOTE Data that you typed in cells before selecting the Fixed decimal option is not
affected.
TIP To temporarily override the Fixed decimal option, type a decimal point when you enter
the number.
Top of Page
For a date, use a slash mark or a hyphen to separate the parts of a date; for example,
For a time that is based on the 12-hour clock, type a space, and then type a or p after
the time; for example, 9:00 p. Otherwise, Excel enters the time as AM.
To enter a date or time that stays current when you reopen a worksheet, you can use the
When a date or time is typed in a cell, it appears either in a default date or time format or in a
format that was applied to the cell before the date or time was entered. The default date or
time format is based on the date and time settings in the Regional and Language Options
dialog box (Control Panel). If these date and time settings have changed, any existing dates
or times in your workbooks that have not been formatted by using the Format Cells
If you want to use the default date or time format, click the cell that contains the date or time,
Top of Page
1. Select the cells into which you want to enter the same data. The cells do not have to be
adjacent.
To select Do this
A single cell Click the cell, or press the arrow keys to move to the cell.
A range of cells Click the first cell in the range, and then drag to the last cell, or hold down SHIFT while you press the arrow
keys to extend the selection.
You can also select the first cell in the range, and then press F8 to extend the selection by using the arrow
keys. To stop extending the selection, press F8 again.
A large range of cells Click the first cell in the range, and then hold down SHIFT while you click the last cell in the range. You can
scroll to make the last cell visible.
NOTE If the worksheet contains data, CTRL+A selects the current region. Pressing CTRL+A a second
time selects the entire worksheet.
Nonadjacent cells or cell Select the first cell or range of cells, and then hold down CTRL while you select the other cells or ranges.
ranges
You can also select the first cell or range of cells, and then press SHIFT+F8 to add another nonadjacent
cell or range to the selection. To stop adding cells or ranges to the selection, press SHIFT+F8 again.
NOTE You cannot cancel the selection of a cell or range of cells in a nonadjacent selection without
canceling the entire selection.
Row heading
Column heading
You can also select cells in a row or column by selecting the first cell and then pressing
CTRL+SHIFT+ARROW key (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN ARROW for
columns).
NOTE If the row or column contains data, CTRL+SHIFT+ARROW key selects the row or column to the
last used cell. Pressing CTRL+SHIFT+ARROW key a second time selects the entire row or column.
Adjacent rows or columns Drag across the row or column headings. Or select the first row or column; then hold down SHIFT while you
select the last row or column.
Nonadjacent rows or Click the column or row heading of the first row or column in your selection; then hold down CTRL while
columns you click the column or row headings of other rows or columns that you want to add to the selection.
The first or last cell in a Select a cell in the row or column, and then press CTRL+ARROW key (RIGHT ARROW or LEFT ARROW for
row or column rows, UP ARROW or DOWN ARROW for columns).
The first or last cell on a Press CTRL+HOME to select the first cell on the worksheet or in an Excel list.
worksheet or in a
Microsoft Office Excel
Press CTRL+END to select the last cell on the worksheet or in an Excel list that contains data or
table
formatting.
Cells to the last used cell Select the first cell, and then press CTRL+SHIFT+END to extend the selection of cells to the last used cell
on the worksheet (lower- on the worksheet (lower-right corner).
right corner)
Cells to the beginning of Select the first cell, and then press CTRL+SHIFT+HOME to extend the selection of cells to the beginning of
the worksheet the worksheet.
More or fewer cells than Hold down SHIFT while you click the last cell that you want to include in the new selection. The rectangular
the active selection range between the active cell (active cell: The selected cell in which data is entered when you begin
typing. Only one cell is active at a time. The active cell is bounded by a heavy border.) and the cell that
you click becomes the new selection.
In the active cell, type the data, and then press CTRL+ENTER.
TIP You can also enter the same data into several cells by using the fill handle (fill handle:
The small black square in the lower-right corner of the selection. When you point to the fill
handle, the pointer changes to a black cross.) to automatically fill data in worksheet
Top of Page
If you already entered data on one worksheet, you can quickly fill this data into corresponding cells on
other worksheets.
1. Click the tab of the worksheet that contains the data. Then hold down CTRL while you click the
tabs of the worksheets into which you want to fill the data.
NOTE If you don't see the tab that you want, click the tab scrolling buttons to display the
2. In the worksheet, select the cells that contain the data that you entered.
3. On the Home tab, in the Editing group, click Fill, and then click Across Worksheets.
NOTES
Data that you type appears in all selected worksheets, and may inadvertently replace existing
data. To avoid replacing existing data, view worksheets at the same time.
2. Switch to the new window, and then click the sheet tab of the worksheet that you want
to view.
Repeat steps 1 and 2 for each worksheet that you want to view.
worksheet is not visible, right-click the sheet tab of a selected worksheet, and then click
Ungroup Sheets.
You can edit the contents of a cell directly in the cell. You can also edit the contents of a cell in the
formula bar (formula bar: A bar at the top of the Excel window that you use to enter or edit values or
formulas in cells or charts. Displays the constant value or formula stored in the active cell.).
NOTE When you are in editing mode, many Ribbon commands will be inactive, and you will not be
Double-click the cell that contains the data that you want to edit.
Click the cell that contains the data that you want to edit, and then click anywhere in the
formula bar.
2. Tip To move the insertion point to the end of the cell contents, click the cell and press F2.
To insert characters, click where you want to insert them, and then type the new
characters.
To replace specific characters, select them, and then type the new characters.
To turn on Overtype mode so that existing characters are replaced by new characters
NOTE Overtype mode can be turned on or off only when you are in editing mode.
When Overtype mode is turned on, the character to the right of the insertion point is
highlighted in the formula bar, and it will be overwritten when you type.
To start a new line of text at a specific point in a cell, click where you want to break the
Tip Before you press ENTER, you can cancel any changes that you made by pressing ESC.
After you press ENTER, you can cancel any changes that you made by clicking Undo on the
NOTES
A cell may display ##### when it contains data that has a number format and that is wider
than the column width. To see all text, you must increase the width of the column.
1. Click the cell for which you want to change the column width.
To specify a larger column width, click Column Width, and then type the width
You can display multiple lines of text inside a cell by wrapping the text.
NOTE If the text is a single long word, the characters won't wrap; you can widen the
column or decrease the font size to see all the text. If not all text is visible after you wrap
the text, you may need to adjust the height of the row. On the Home tab, in the Cells
group, click Format, and then under Cell Size click AutoFit Row.
Hide All
Using the Cut, Copy, and Paste commands in Microsoft Office Excel, you can move
or copy entire cells or their contents. You can also copy specific contents or
attributes from the cells. For example, you can copy the resulting value of a formula
without copying the formula itself, or you can copy only the formula.
Note Excel displays an animated moving border around cells that have been cut
or copied. To cancel a moving border, press ESC.
When you move or copy a cell, Excel moves or copies the entire cell, including
formulas and their resulting values, cell formats, and comments.
To select Do this
A single cell Click the cell, or press the arrow keys to move to the cell.
A range of cells Click the first cell in the range, and then drag to the last cell, or hold
down SHIFT while you press the arrow keys to extend the selection.
You can also select the first cell in the range, and then press F8 to
extend the selection by using the arrow keys. To stop extending the
selection, press F8 again.
A large range of cells Click the first cell in the range, and then hold down SHIFT while you
click the last cell in the range. You can scroll to make the last cell
visible.
You can also select the first cell or range of cells, and then press
SHIFT+F8 to add another nonadjacent cell or range to the selection.
To stop adding cells or ranges to the selection, press SHIFT+F8 again.
Row heading
Column heading
You can also select cells in a row or column by selecting the first cell
and then pressing CTRL+SHIFT+ARROW key (RIGHT ARROW or LEFT
ARROW for rows, UP ARROW or DOWN ARROW for columns).
Adjacent rows or Drag across the row or column headings. Or select the first row or
columns column; then hold down SHIFT while you select the last row or
column.
Nonadjacent rows or Click the column or row heading of the first row or column in your
columns selection; then hold down CTRL while you click the column or row
headings of other rows or columns that you want to add to the
selection.
The first or last cell in Select a cell in the row or column, and then press CTRL+ARROW key
a row or column (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN
ARROW for columns).
The first or last cell on Press CTRL+HOME to select the first cell on the worksheet or in an
a worksheet or in a Excel list.
Microsoft Office Excel
table Press CTRL+END to select the last cell on the worksheet or in an
Excel list that contains data or formatting.
Cells to the last used Select the first cell, and then press CTRL+SHIFT+END to extend the
cell on the worksheet selection of cells to the last used cell on the worksheet (lower-right
(lower-right corner) corner).
Cells to the beginning Select the first cell, and then press CTRL+SHIFT+HOME to extend the
of the worksheet selection of cells to the beginning of the worksheet.
More or fewer cells Hold down SHIFT while you click the last cell that you want to include
than the active in the new selection. The rectangular range between the active
selection cell (active cell: The selected cell in which data is entered when you
begin typing. Only one cell is active at a time. The active cell is
bounded by a heavy border.) and the cell that you click becomes the
new selection.
Notes
To choose specific options when you paste cells, you can click the arrow below
Paste , and then click the option that you want. For example, you can click Paste
Special or Paste As Picture.
By default, Excel displays the Paste Options button on the worksheet to provide you
with special options when you paste cells, such as Keep Source Formatting and
Match Destination Formatting. If you don't want to display this button every time
that you paste cells, you can turn this option off. Click the Microsoft Office Button
, and then click Excel Options. In the Advanced category, under Cut, Copy, and
Paste, clear the Show Paste Options buttons check box.
Excel replaces existing data in the paste area when you cut and paste cells to move
them.
When you copy cells, cell references are automatically adjusted. When you move
cells, however, cell references are not adjusted, and the contents of those cells and
of any cells that point to them may be displayed as reference errors. In this case,
you will need to adjust the references manually.
If the selected copy area includes hidden cells, Excel also copies the hidden cells.
You may need to temporarily unhide cells that you don't want to include when you
copy information.
If the paste area contains hidden rows or columns, you might need to unhide the
paste area to see all of the copied cells.
Top of Page
By default, drag-and-drop editing is turned on so that you can use the mouse to
move and copy cells.
Select the cells or range (range: Two or more cells on a sheet. The cells in a range
can be adjacent or nonadjacent.) of cells that you want to move or copy.
To select Do this
A single cell Click the cell, or press the arrow keys to move to the cell.
A range of cells Click the first cell in the range, and then drag to the last cell, or hold
down SHIFT while you press the arrow keys to extend the selection.
You can also select the first cell in the range, and then press F8 to
extend the selection by using the arrow keys. To stop extending the
selection, press F8 again.
A large range of cells Click the first cell in the range, and then hold down SHIFT while you
click the last cell in the range. You can scroll to make the last cell
visible.
Nonadjacent cells or Select the first cell or range of cells, and then hold down CTRL while
cell ranges you select the other cells or ranges.
You can also select the first cell or range of cells, and then press
SHIFT+F8 to add another nonadjacent cell or range to the selection.
To stop adding cells or ranges to the selection, press SHIFT+F8 again.
Row heading
Column heading
You can also select cells in a row or column by selecting the first cell
and then pressing CTRL+SHIFT+ARROW key (RIGHT ARROW or LEFT
ARROW for rows, UP ARROW or DOWN ARROW for columns).
Adjacent rows or Drag across the row or column headings. Or select the first row or
columns column; then hold down SHIFT while you select the last row or
column.
Nonadjacent rows or Click the column or row heading of the first row or column in your
columns selection; then hold down CTRL while you click the column or row
headings of other rows or columns that you want to add to the
selection.
The first or last cell in Select a cell in the row or column, and then press CTRL+ARROW key
a row or column (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN
ARROW for columns).
The first or last cell on Press CTRL+HOME to select the first cell on the worksheet or in an
a worksheet or in a Excel list.
Microsoft Office Excel
table Press CTRL+END to select the last cell on the worksheet or in an
Excel list that contains data or formatting.
Cells to the last used Select the first cell, and then press CTRL+SHIFT+END to extend the
cell on the worksheet selection of cells to the last used cell on the worksheet (lower-right
(lower-right corner) corner).
Cells to the beginning Select the first cell, and then press CTRL+SHIFT+HOME to extend the
of the worksheet selection of cells to the beginning of the worksheet.
More or fewer cells Hold down SHIFT while you click the last cell that you want to include
than the active in the new selection. The rectangular range between the active
selection cell (active cell: The selected cell in which data is entered when you
begin typing. Only one cell is active at a time. The active cell is
bounded by a heavy border.) and the cell that you click becomes the
new selection.
To move a cell or range of cells, point to the border of the selection. When the
pointer becomes a move pointer , drag the cell or range of cells to another
location.
To copy a cell or range of cells, hold down CTRL while you point to the border of the
selection. When the pointer becomes a copy pointer , drag the cell or range of
cells to another location.
Notes
Excel replaces existing data in the paste area when you move cells.
When you copy cells, cell references are automatically adjusted. When you move
cells, however, cell references are not adjusted, and the contents of those cells and
of any cells that point to them may be displayed as reference errors. In this case,
you will need to adjust the references manually.
If the selected copy area includes hidden cells, Excel also copies the hidden cells.
You may need to temporarily unhide cells that you don't want to include when you
copy information.
If the paste area contains hidden rows or columns, you might need to unhide the
paste area to see all of the copied cells.
Top of Page
Select the cell or range (range: Two or more cells on a sheet. The cells in a range
can be adjacent or nonadjacent.) of cells that contains the data that you want to
move or copy.
To select Do this
A single cell Click the cell, or press the arrow keys to move to the cell.
A range of cells Click the first cell in the range, and then drag to the last cell, or hold
down SHIFT while you press the arrow keys to extend the selection.
You can also select the first cell in the range, and then press F8 to
extend the selection by using the arrow keys. To stop extending the
selection, press F8 again.
A large range of cells Click the first cell in the range, and then hold down SHIFT while you
click the last cell in the range. You can scroll to make the last cell
visible.
Nonadjacent cells or Select the first cell or range of cells, and then hold down CTRL while
cell ranges
you select the other cells or ranges.
You can also select the first cell or range of cells, and then press
SHIFT+F8 to add another nonadjacent cell or range to the selection.
To stop adding cells or ranges to the selection, press SHIFT+F8 again.
Row heading
Column heading
You can also select cells in a row or column by selecting the first cell
and then pressing CTRL+SHIFT+ARROW key (RIGHT ARROW or LEFT
ARROW for rows, UP ARROW or DOWN ARROW for columns).
Adjacent rows or Drag across the row or column headings. Or select the first row or
columns column; then hold down SHIFT while you select the last row or
column.
Nonadjacent rows or Click the column or row heading of the first row or column in your
columns selection; then hold down CTRL while you click the column or row
headings of other rows or columns that you want to add to the
selection.
The first or last cell in Select a cell in the row or column, and then press CTRL+ARROW key
a row or column (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN
ARROW for columns).
The first or last cell on Press CTRL+HOME to select the first cell on the worksheet or in an
a worksheet or in a Excel list.
Microsoft Office Excel
table Press CTRL+END to select the last cell on the worksheet or in an
Excel list that contains data or formatting.
Cells to the last used Select the first cell, and then press CTRL+SHIFT+END to extend the
cell on the worksheet selection of cells to the last used cell on the worksheet (lower-right
(lower-right corner) corner).
Cells to the beginning Select the first cell, and then press CTRL+SHIFT+HOME to extend the
of the worksheet selection of cells to the beginning of the worksheet.
More or fewer cells Hold down SHIFT while you click the last cell that you want to include
than the active in the new selection. The rectangular range between the active
selection cell (active cell: The selected cell in which data is entered when you
begin typing. Only one cell is active at a time. The active cell is
bounded by a heavy border.) and the cell that you click becomes the
new selection.
Right-click the upper-left cell of the paste area, and then click Insert Cut Cells or
Insert Copied Cells on the shortcut menu.
In the Insert Paste dialog box, click the direction in which you want to shift the
surrounding cells.
Note If you insert entire rows or columns, the surrounding rows and columns are
shifted down and to the left.
Top of Page
To select Do this
A single cell Click the cell, or press the arrow keys to move to the cell.
A range of cells Click the first cell in the range, and then drag to the last cell, or hold
down SHIFT while you press the arrow keys to extend the selection.
You can also select the first cell in the range, and then press F8 to
extend the selection by using the arrow keys. To stop extending the
selection, press F8 again.
A large range of cells Click the first cell in the range, and then hold down SHIFT while you
click the last cell in the range. You can scroll to make the last cell
visible.
Nonadjacent cells or Select the first cell or range of cells, and then hold down CTRL while
cell ranges you select the other cells or ranges.
You can also select the first cell or range of cells, and then press
SHIFT+F8 to add another nonadjacent cell or range to the selection.
To stop adding cells or ranges to the selection, press SHIFT+F8 again.
Row heading
Column heading
You can also select cells in a row or column by selecting the first cell
and then pressing CTRL+SHIFT+ARROW key (RIGHT ARROW or LEFT
ARROW for rows, UP ARROW or DOWN ARROW for columns).
Adjacent rows or Drag across the row or column headings. Or select the first row or
columns column; then hold down SHIFT while you select the last row or
column.
Nonadjacent rows or Click the column or row heading of the first row or column in your
columns selection; then hold down CTRL while you click the column or row
headings of other rows or columns that you want to add to the
selection.
The first or last cell in Select a cell in the row or column, and then press CTRL+ARROW key
a row or column (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN
ARROW for columns).
The first or last cell on Press CTRL+HOME to select the first cell on the worksheet or in an
a worksheet or in a Excel list.
Microsoft Office Excel
table Press CTRL+END to select the last cell on the worksheet or in an
Excel list that contains data or formatting.
Cells to the last used Select the first cell, and then press CTRL+SHIFT+END to extend the
cell on the worksheet selection of cells to the last used cell on the worksheet (lower-right
(lower-right corner) corner).
Cells to the beginning Select the first cell, and then press CTRL+SHIFT+HOME to extend the
of the worksheet selection of cells to the beginning of the worksheet.
More or fewer cells Hold down SHIFT while you click the last cell that you want to include
than the active in the new selection. The rectangular range between the active
selection cell (active cell: The selected cell in which data is entered when you
begin typing. Only one cell is active at a time. The active cell is
bounded by a heavy border.) and the cell that you click becomes the
new selection.
On the Home tab, in the Editing group, click Find & Select, and then click Go To.
Under Select, click Visible cells only, and then click OK.
Notes
Excel pastes the copied data into consecutive rows or columns. If the paste area
contains hidden rows or columns, you might need to unhide the paste area to see
all of the copied cells.
If you click the arrow below Paste , you can choose from several paste options to
apply to your selection.
When you copy or paste hidden or filtered (filter: To display only the rows in a list
that satisfy the conditions you specify. You use the AutoFilter command to display
rows that match one or more specific values, calculated values, or conditions.) data
to another application or another instance of Excel, only visible cells are copied.
Top of Page
Select the range (range: Two or more cells on a sheet. The cells in a range can be
adjacent or nonadjacent.) of cells that contains blank cells.
To select Do this
A single cell Click the cell, or press the arrow keys to move to the cell.
A range of cells Click the first cell in the range, and then drag to the last cell, or hold
down SHIFT while you press the arrow keys to extend the selection.
You can also select the first cell in the range, and then press F8 to
extend the selection by using the arrow keys. To stop extending the
selection, press F8 again.
A large range of cells Click the first cell in the range, and then hold down SHIFT while you
click the last cell in the range. You can scroll to make the last cell
visible.
Nonadjacent cells or Select the first cell or range of cells, and then hold down CTRL while
cell ranges you select the other cells or ranges.
You can also select the first cell or range of cells, and then press
SHIFT+F8 to add another nonadjacent cell or range to the selection.
To stop adding cells or ranges to the selection, press SHIFT+F8 again.
Row heading
Column heading
You can also select cells in a row or column by selecting the first cell
and then pressing CTRL+SHIFT+ARROW key (RIGHT ARROW or LEFT
ARROW for rows, UP ARROW or DOWN ARROW for columns).
Adjacent rows or Drag across the row or column headings. Or select the first row or
columns column; then hold down SHIFT while you select the last row or
column.
Nonadjacent rows or Click the column or row heading of the first row or column in your
columns selection; then hold down CTRL while you click the column or row
headings of other rows or columns that you want to add to the
selection.
The first or last cell in Select a cell in the row or column, and then press CTRL+ARROW key
a row or column (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN
ARROW for columns).
The first or last cell on Press CTRL+HOME to select the first cell on the worksheet or in an
a worksheet or in a Excel list.
Microsoft Office Excel
table Press CTRL+END to select the last cell on the worksheet or in an
Excel list that contains data or formatting.
Cells to the last used Select the first cell, and then press CTRL+SHIFT+END to extend the
cell on the worksheet selection of cells to the last used cell on the worksheet (lower-right
(lower-right corner) corner).
Cells to the beginning Select the first cell, and then press CTRL+SHIFT+HOME to extend the
of the worksheet selection of cells to the beginning of the worksheet.
More or fewer cells Hold down SHIFT while you click the last cell that you want to include
than the active in the new selection. The rectangular range between the active
selection cell (active cell: The selected cell in which data is entered when you
begin typing. Only one cell is active at a time. The active cell is
bounded by a heavy border.) and the cell that you click becomes the
new selection.
On the Home tab, in the Clipboard group, click the arrow below Paste , and then
click Paste Special.
Top of Page
Double-click the cell that contains the data that you want to move or copy.
Note By default, you can edit and select cell data directly in the cell by double-
clicking it, but you can also edit and select cell data in the formula bar (formula bar:
A bar at the top of the Excel window that you use to enter or edit values or formulas
in cells or charts. Displays the constant value or formula stored in the active cell.).
In the cell, select the characters that you want to move or copy.
In the cell Double-click the cell, and then drag across the contents of the
cell that you want to select.
In the formula bar (formula Click the cell, and then drag across the contents of the cell that
bar: A bar at the top of the you want to select in the formula bar.
Excel window that you use
to enter or edit values or
formulas in cells or charts.
Displays the constant value
or formula stored in the
active cell.)
By using the keyboard Press F2 to edit the cell, use the arrow keys to position the
insertion point, and then press SHIFT+ARROW key to select the
contents.
In the cell, click where you want to paste the characters, or double-click another cell
to move or copy the data.
Press ENTER.
Note When you double-click a cell or press F2 to edit the active cell, the arrow
keys work only within that cell. To use the arrow keys to move to another cell, first
press ENTER to complete your editing changes to the active cell.
Top of Page
When you paste copied data, you can do any of the following:
Convert any formulas in the cell to the calculated values without overwriting the
existing formatting.
Paste only the cell formatting, such as font color or fill color (and not the contents of
the cells).
Paste only the formulas (and not the calculated values).
Select the cell or range of cells that contains the values, cell formats, or formulas
that you want to copy.
To select Do this
A single cell Click the cell, or press the arrow keys to move to the cell.
A range of cells Click the first cell in the range, and then drag to the last cell, or hold
down SHIFT while you press the arrow keys to extend the selection.
You can also select the first cell in the range, and then press F8 to
extend the selection by using the arrow keys. To stop extending the
selection, press F8 again.
A large range of cells Click the first cell in the range, and then hold down SHIFT while you
click the last cell in the range. You can scroll to make the last cell
visible.
Nonadjacent cells or Select the first cell or range of cells, and then hold down CTRL while
cell ranges you select the other cells or ranges.
You can also select the first cell or range of cells, and then press
SHIFT+F8 to add another nonadjacent cell or range to the selection.
To stop adding cells or ranges to the selection, press SHIFT+F8 again.
Column heading
You can also select cells in a row or column by selecting the first cell
and then pressing CTRL+SHIFT+ARROW key (RIGHT ARROW or LEFT
ARROW for rows, UP ARROW or DOWN ARROW for columns).
Adjacent rows or Drag across the row or column headings. Or select the first row or
columns column; then hold down SHIFT while you select the last row or
column.
Nonadjacent rows or Click the column or row heading of the first row or column in your
columns selection; then hold down CTRL while you click the column or row
headings of other rows or columns that you want to add to the
selection.
The first or last cell in Select a cell in the row or column, and then press CTRL+ARROW key
a row or column (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN
ARROW for columns).
The first or last cell on Press CTRL+HOME to select the first cell on the worksheet or in an
a worksheet or in a Excel list.
Microsoft Office Excel
table Press CTRL+END to select the last cell on the worksheet or in an
Excel list that contains data or formatting.
Cells to the last used Select the first cell, and then press CTRL+SHIFT+END to extend the
cell on the worksheet selection of cells to the last used cell on the worksheet (lower-right
(lower-right corner) corner).
Cells to the beginning Select the first cell, and then press CTRL+SHIFT+HOME to extend the
of the worksheet selection of cells to the beginning of the worksheet.
More or fewer cells Hold down SHIFT while you click the last cell that you want to include
than the active in the new selection. The rectangular range between the active
selection cell (active cell: The selected cell in which data is entered when you
begin typing. Only one cell is active at a time. The active cell is
bounded by a heavy border.) and the cell that you click becomes the
new selection.
Select the upper-left cell of the paste area or the cell where you want to paste the
value, cell format, or formula.
On the Home tab, in the Clipboard group, click the arrow below Paste , and then
do one of the following:
To paste cell formats only, click Paste Special, and then click Formats under Paste.
Note If the copied formulas contain relative cell references, Excel adjusts the
references (and the relative parts of mixed cell references) in the duplicate
formulas. For example, suppose that cell B8 contains the formula =SUM(B1:B7). If
you copy the formula to cell C8, the duplicate formula refers to the corresponding
cells in that column: =SUM(C1:C7). If the copied formulas contain absolute cell
references (absolute cell reference: In a formula, the exact address of a cell,
regardless of the position of the cell that contains the formula. An absolute cell
reference takes the form $A$1.), the references in the duplicate formulas are not
changed. If you don't get the results that you want, you can also change the
references in the original formulas to either relative or absolute cell references and
then recopy the cells.
To select Do this
A single cell Click the cell, or press the arrow keys to move to the cell.
A range of cells Click the first cell in the range, and then drag to the last cell, or hold down SHIFT while you press the arrow
keys to extend the selection.
You can also select the first cell in the range, and then press F8 to extend the selection by using the arrow
keys. To stop extending the selection, press F8 again.
A large range of cells Click the first cell in the range, and then hold down SHIFT while you click the last cell in the range. You can
scroll to make the last cell visible.
NOTE If the worksheet contains data, CTRL+A selects the current region. Pressing CTRL+A a second
time selects the entire worksheet.
Nonadjacent cells or cell Select the first cell or range of cells, and then hold down CTRL while you select the other cells or ranges.
ranges
You can also select the first cell or range of cells, and then press SHIFT+F8 to add another nonadjacent
cell or range to the selection. To stop adding cells or ranges to the selection, press SHIFT+F8 again.
NOTE You cannot cancel the selection of a cell or range of cells in a nonadjacent selection without
canceling the entire selection.
Row heading
Column heading
You can also select cells in a row or column by selecting the first cell and then pressing
CTRL+SHIFT+ARROW key (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN ARROW for
columns).
NOTE If the row or column contains data, CTRL+SHIFT+ARROW key selects the row or column to the
last used cell. Pressing CTRL+SHIFT+ARROW key a second time selects the entire row or column.
Adjacent rows or columns Drag across the row or column headings. Or select the first row or column; then hold down SHIFT while you
select the last row or column.
Nonadjacent rows or Click the column or row heading of the first row or column in your selection; then hold down CTRL while
columns you click the column or row headings of other rows or columns that you want to add to the selection.
The first or last cell in a Select a cell in the row or column, and then press CTRL+ARROW key (RIGHT ARROW or LEFT ARROW for
row or column rows, UP ARROW or DOWN ARROW for columns).
The first or last cell on a Press CTRL+HOME to select the first cell on the worksheet or in an Excel list.
worksheet or in a
Microsoft Office Excel
Press CTRL+END to select the last cell on the worksheet or in an Excel list that contains data or
table
formatting.
Cells to the last used cell Select the first cell, and then press CTRL+SHIFT+END to extend the selection of cells to the last used cell
on the worksheet (lower- on the worksheet (lower-right corner).
right corner)
Cells to the beginning of Select the first cell, and then press CTRL+SHIFT+HOME to extend the selection of cells to the beginning of
the worksheet the worksheet.
More or fewer cells than Hold down SHIFT while you click the last cell that you want to include in the new selection. The rectangular
the active selection range between the active cell (active cell: The selected cell in which data is entered when you begin
typing. Only one cell is active at a time. The active cell is bounded by a heavy border.) and the cell that
you click becomes the new selection.
To move rows or columns, on the Home tab, in the Clipboard group, click Cut .
To copy rows or columns, on the Home tab, in the Clipboard group, click Copy .
2. Right-click a row or column below or to the right of where you want to move or copy your
When you are moving rows or columns, click Insert Cut Cells on the shortcut menu.
When you are copying rows or columns, click Insert Copied Cells on the shortcut
menu.
NOTE If you click Paste on the Home tab, in the Clipboard group (or press CTRL+V)
instead of clicking a command on the shortcut menu, you will replace any contents of the
destination cells.
Top of Page
To select Do this
A single cell Click the cell, or press the arrow keys to move to the cell.
A range of cells Click the first cell in the range, and then drag to the last cell, or hold down SHIFT while you press the arrow
keys to extend the selection.
You can also select the first cell in the range, and then press F8 to extend the selection by using the arrow
keys. To stop extending the selection, press F8 again.
A large range of cells Click the first cell in the range, and then hold down SHIFT while you click the last cell in the range. You can
scroll to make the last cell visible.
NOTE If the worksheet contains data, CTRL+A selects the current region. Pressing CTRL+A a second
time selects the entire worksheet.
Nonadjacent cells or cell Select the first cell or range of cells, and then hold down CTRL while you select the other cells or ranges.
ranges
You can also select the first cell or range of cells, and then press SHIFT+F8 to add another nonadjacent
cell or range to the selection. To stop adding cells or ranges to the selection, press SHIFT+F8 again.
NOTE You cannot cancel the selection of a cell or range of cells in a nonadjacent selection without
canceling the entire selection.
Row heading
Column heading
You can also select cells in a row or column by selecting the first cell and then pressing
CTRL+SHIFT+ARROW key (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN ARROW for
columns).
NOTE If the row or column contains data, CTRL+SHIFT+ARROW key selects the row or column to the
last used cell. Pressing CTRL+SHIFT+ARROW key a second time selects the entire row or column.
Adjacent rows or columns Drag across the row or column headings. Or select the first row or column; then hold down SHIFT while you
select the last row or column.
Nonadjacent rows or Click the column or row heading of the first row or column in your selection; then hold down CTRL while
columns you click the column or row headings of other rows or columns that you want to add to the selection.
The first or last cell in a Select a cell in the row or column, and then press CTRL+ARROW key (RIGHT ARROW or LEFT ARROW for
row or column rows, UP ARROW or DOWN ARROW for columns).
The first or last cell on a Press CTRL+HOME to select the first cell on the worksheet or in an Excel list.
worksheet or in a
Microsoft Office Excel
Press CTRL+END to select the last cell on the worksheet or in an Excel list that contains data or
table
formatting.
Cells to the last used cell Select the first cell, and then press CTRL+SHIFT+END to extend the selection of cells to the last used cell
on the worksheet (lower- on the worksheet (lower-right corner).
right corner)
Cells to the beginning of Select the first cell, and then press CTRL+SHIFT+HOME to extend the selection of cells to the beginning of
the worksheet the worksheet.
More or fewer cells than Hold down SHIFT while you click the last cell that you want to include in the new selection. The rectangular
the active selection range between the active cell (active cell: The selected cell in which data is entered when you begin
typing. Only one cell is active at a time. The active cell is bounded by a heavy border.) and the cell that
you click becomes the new selection.
To move rows or columns, point to the border of the selection. When the pointer
To copy rows or columns, hold down CTRL while you point to the border of the selection.
When the pointer becomes a copy pointer , drag the rows or columns to another
location.
IMPORTANT Make sure that you hold down CTRL during the entire drag-and-drop
operation. If you release CTRL before you release the mouse button, you will move the
NOTES
When you use the mouse to insert copied or cut columns or rows, the existing contents of the
destination cells is replaced. To insert copied or cut rows and columns without replacing the
existing contents, you should right-click the row or column below or to the right of where you
want to move or copy your selection, and then click Insert Cut Cells or Insert Copied Cells
You cannot move or copy nonadjacent rows and columns by using the mouse.
and paste them into the same worksheet or another Excel worksheet using only specific
attributes of the copied data, or a mathematical operation that you want to apply to the
copied data.
In this article
Paste
Operation
Paste
All Pastes all cell contents and formatting of the copied data.
Formulas Pastes only the formulas of the copied data as entered in the formula bar.
Values Pastes only the values of the copied data as displayed in the cells.
Validation Pastes data validation rules for the copied cells to the paste area.
All using Source theme Pastes all cell contents in the document theme formatting that is
All except borders Pastes all cell contents and formatting applied to the copied cell except
borders.
Column widths Pastes the width of one copied column or range of columns to another
Formulas and number formats Pastes only formulas and all number formatting options
Top of Page
Operation
Specify which mathematical operation, if any, that you want to apply to the copied data.
None Specifies that no mathematical operation will be applied to the copied data.
Add Specifies that the copied data will be added to the data in the destination cell or range
of cells.
Subtract Specifies that the copied data will be subtracted from the data in the destination
Multiply Specifies that the copied data will be multiplied with the data in the destination
Divide Specifies that the copied data will be divided by the data in the destination cell or
range of cells.
Skip blanks Avoids replacing values in your paste area when blank cells occur in the copy
Transpose Changes columns of copied data to rows, and vice versa when you select this
check box.
Paste Link Links the pasted data on the active worksheet to the copied data.
Save a file
Show All
When you save a file, you can save it to a folder on your hard disk drive, a network location, disk,
CD, the desktop, or another storage location. You need to identify the target location in the Save in
list. Otherwise, the saving process is the same, no matter what location you choose.
Save a file
Save a file
Do the following in these 2007 Microsoft Office system programs:
NOTE If you are saving the file for the first time, you are asked to give it a name.
Top of Page
Click the Microsoft Office Button , and then click Save As.
2. In the Save in list, click the folder or drive to which you want to save.
TIP To save the copy in a different folder, click a different drive in the Save in list or a
different folder in the folder list. To save the copy in a new folder, click Create New Folder
3. In the File name box, enter a new name for the file.
4. Click Save.
Top of Page
Click the Microsoft Office Button , and then click Save As.
2. In the File name box, enter a new name for the file.
3. In the Save as type list, click the file format that you want to save the file in.
4. Click Save.
1. On the Page Layout tab, in the Page Setup group, click the Page Setup Dialog
Box Launcher.
2. In the Page Setup dialog box, click the Sheet tab.
3. Click Options.
4. On the Paper/Quality tab, under Tray Selection, click the paper source that you
want.
The following are the buttons and other options in the Print dialog box:
Name In the list, click a printer that you have installed and want to use.
Status For the selected printer, tells the status of the printer, such as idle, busy, or the
Type For the selected printer, tells the type of printer that you selected, such as laser.
Where For the selected printer, tells the location of the printer or which port that the printer
is connected to.
Comment For the selected printer, tells any additional information that you might need to
Find Printer Click this button to find a printer that you have access to.
Print to file Select this check box to create a file from the document instead of routing it
directly to a printer. The file is saved with print formatting, such as font selection and color
Number of copies In this list, click the number of copies that you want printed.
Collate Select this check box if you want your print job to be kept in the order that you
created in your document when printed. This check box is available if you are printing multiple
copies.
Selection Click this option to print only what you have selected.
Active sheet(s) Click this option to print only the active worksheets.
Entire workbook Click this option to print the entire workbook, including all the worksheets
in the workbook.
Table Click this option to print only the table in the worksheet.
Ignore print areas Select this check box to ignore any print areas that you might
have specified.
All Click this option if you want to print all pages in your file.
Pages Click this option and add the page numbers or page ranges in the box.
Preview Click this button to preview your worksheet before printing it and select other
Cancel Click this button to go back to your document without printing it.
such as chart sheets (chart sheet: A sheet in a workbook that contains only a chart. A chart sheet is
beneficial when you want to view a chart or a PivotChart report separately from worksheet data or a
PivotTable report.), or for embedded charts (embedded chart: A chart that is placed on a worksheet
rather than on a separate chart sheet. Embedded charts are beneficial when you want to view or print
a chart or a PivotChart report with its source data or other information in a worksheet.), you can work
1. Click the worksheet to which you want to add headers or footers, or that contains headers or
2. On the Insert tab, in the Text group, click Header & Footer.
NOTE Excel displays the worksheet in Page Layout view. You can also click Page Layout
To add a header or footer, click the left, center, or right header or footer text box at the
To change a header or footer, click the header or footer text box at the top or at the
bottom of the worksheet page that contains header or footer text, and then select the
TIP To return to Normal view, on the View tab, in the Workbook Views group, click
NOTES
To start a new line in a header or footer text box, press ENTER.
To delete a portion of a header or footer, select the portion that you want to delete in the
header or footer text box, and then press DELETE or BACKSPACE. You can also click in the text
To include a single ampersand (&) within the text of a header or footer, use two ampersands.
For example, to include "Subcontractors & Services" in a header, type Subcontractors &&
Services.
To close the headers or footers, click anywhere in the worksheet, or press ESC.
1. Click the chart sheet or embedded chart to which you want to add headers or footers, or that
2. On the Insert tab, in the Text group, click Header & Footer.
4. Click in the Left section, Center section, or Right section box, and then click the buttons
to insert the header or footer information that you want in that section.
5. To add or change the header or footer text, type additional text or edit the existing text in the
NOTES
section box, and then press DELETE or BACKSPACE. You can also click in the text and then
To include a single ampersand (&) within the text of a header or footer, use two ampersands.
For example, to include "Subcontractors & Services" in a header, type Subcontractors &&
Services.
To base a custom header or footer on an existing header or footer, click the header or footer
Top of Page
For worksheets, you can work with headers and footers in Page Layout view. For other sheet types,
such as chart sheets (chart sheet: A sheet in a workbook that contains only a chart. A chart sheet is
beneficial when you want to view a chart or a PivotChart report separately from worksheet data or a
PivotTable report.), or for embedded charts (embedded chart: A chart that is placed on a worksheet
rather than on a separate chart sheet. Embedded charts are beneficial when you want to view or print
a chart or a PivotChart report with its source data or other information in a worksheet.), you can work
with the headers and footers in the Page Setup dialog box.
1. Click the worksheet to which you want to add a predefined header or footer.
2. On the Insert tab, in the Text group, click Header & Footer.
NOTE Excel displays the worksheet in Page Layout view. You can also click Page Layout
worksheet page.
TIP Clicking any text box selects the header or footer and displays the Header and Footer
4. On the Design tab, in the Header & Footer group, click Header or Footer, and then click
TIP To return to Normal view, on the View tab, in the Workbook Views group, click
1. Click the chart sheet or embedded chart to which you want to add a predefined header or
footer.
2. On the Insert tab, in the Text group, click Header & Footer.
Top of Page
For worksheets, you can work with headers and footers in Page Layout view. For other sheet types,
such as chart sheets (chart sheet: A sheet in a workbook that contains only a chart. A chart sheet is
beneficial when you want to view a chart or a PivotChart report separately from worksheet data or a
PivotTable report.), or for embedded charts (embedded chart: A chart that is placed on a worksheet
rather than on a separate chart sheet. Embedded charts are beneficial when you want to view or print
a chart or a PivotChart report with its source data or other information in a worksheet.), you can work
1. Click the worksheet to which you want to add specific header or footer elements.
2. On the Insert tab, in the Text group, click Header & Footer.
NOTE Excel displays the worksheet in Page Layout view. You can also click Page Layout
3. Click the left, center, or right header or footer text box at the top or at the bottom of the
worksheet page.
TIP Clicking any text box selects the header or footer and displays the Header and Footer
4. On the Design tab, in the Header & Footer Elements group, click the element that you
want.
TIP To return to Normal view, on the View tab, in the Workbook Views group, click
1. Click the chart sheet or embedded chart to which you want to add a predefined header or
footer.
2. On the Insert tab, in the Text group, click Header & Footer.
elements.
TIP When you rest the mouse pointer on a button, a ScreenTip displays the name of the
Top of Page
For worksheets, you can work with headers and footers in Page Layout view. For other sheet types,
such as chart sheets (chart sheet: A sheet in a workbook that contains only a chart. A chart sheet is
beneficial when you want to view a chart or a PivotChart report separately from worksheet data or a
PivotTable report.), or for embedded charts (embedded chart: A chart that is placed on a worksheet
rather than on a separate chart sheet. Embedded charts are beneficial when you want to view or print
a chart or a PivotChart report with its source data or other information in a worksheet.), you can work
1. Click the worksheet for which you want to choose header and footer options.
2. On the Insert tab, in the Text group, click Header & Footer.
NOTE Excel displays the worksheet in Page Layout view. You can also click Page Layout
3. Click the left, center, or right header or footer text box at the top or at the bottom of the
worksheet page.
TIP Clicking any text box selects the header or footer and displays the Header and Footer
4. On the Design tab, in the Options group, select one or more of the following:
To insert a different header or footer for odd pages on an odd page and for even pages
on an even page, select the Different Odd & Even Pages check box.
To remove headers and footers from the first printed page, select the Different First
To use the same font size and scaling as the worksheet, select the Scale with
Document check box. To make the font size and scaling of the headers or footers
independent of the worksheet scaling for a consistent display on multiple pages, clear
To make sure that the header margin or footer margin is aligned with the left and right
margins of the worksheet, select the Align with Page Margins check box. To set the
left and right margins of the headers and footers to a specific value that is independent
of the left and right margins of the worksheet, clear this check box.
TIP To return to Normal view, on the View tab, in the Workbook Views group, click
1. Click the chart sheet or embedded chart to which you want to add a predefined header or
footer.
2. On the Insert tab, in the Text group, click Header & Footer.
To insert a different header or footer for odd pages on an odd page and for even pages
on an even page, select the Different Odd & Even Pages check box.
To remove headers and footers from the first printed page, select the Different First
To use the same font size and scaling as the worksheet, select the Scale with
Document check box. To make the font size and scaling of the headers or footers
independent of the worksheet scaling for a consistent display on multiple pages, clear
To make sure that the header margin or footer margin is aligned with the left and right
margins of the worksheet, select the Align with Page Margins check box. To set the
left and right margins of the headers and footers to a specific value that is independent
of the left and right margins of the worksheet, clear this check box.
TIP When you hover over the heading of a column with filtering enabled but not applied, a
TIP When you hover over the heading of a filtered column, a screen tip displays the filter
applied to that column, such as "Equals a red cell color" or "Larger than 150".
When you reapply a filter or sort, different results appear for the following reasons:
Data has been added, modified, or deleted to the range of cells or table column.
The filter is a dynamic date and time filter, such as Today, This Week, or Year to Date.
Values returned by a formula have changed and the worksheet has been recalculated.
NOTE When you use the Find dialog box to search filtered data, only the data that is displayed is
searched; data that is not displayed is not searched. To search all the data, clear all filters.
Top of Page
Reapply a filter or sort
NOTE For a table, filter and sort criteria are saved with the workbook so that you can reapply both
the filter and sort each time that you open the workbook. However, for a range of cells, only filter
criteria are saved with a workbook, not sort criteria. If you want to save sort criteria so that you can
periodically reapply a sort when you open a workbook, then it's a good idea to use a table. This is
especially important for multicolumn sorts or for sorts that take a long time to create.
To reapply a filter or sort, on the Home tab, in the Editing group, click Sort & Filter, and
Top of Page
To clear a filter for one column in a multicolumn range of cells or table, click the Filter button
on the heading, and then click Clear Filter from <Column Name>.
Top of Page
On the Home tab, in the Editing group, click Sort & Filter, and then click Clear.
Microsoft Office provides drivers that you can use to retrieve data from the following data
sources (data source: A stored set of "source" information used to connect to a database. A data
source can include the name and location of the database server, the name of the database driver,
and information that the database needs when you log on.):
Microsoft SQL Server Analysis Services (OLAP provider (OLAP provider: A set of software that
provides access to a particular type of OLAP database. This software can include a data source
dBASE
Microsoft FoxPro
Oracle
Paradox
You can also use ODBC drivers (Open Database Connectivity (ODBC) driver: A program file used to
connect to a particular database. Each database program, such as Access or dBASE, or database
management system, such as SQL Server, requires a different driver.) or data source drivers (data
source driver: A program file used to connect to a specific database. Each database program or
management system requires a different driver.) from other manufacturers to retrieve information
from data sources that are not listed here, including other types of OLAP databases. For information
about installing an ODBC driver or data source driver that is not listed here, check the documentation
You can use the Data Connection Wizard to connect to an external data source that has already been
defined. To open the Data Connection Wizard, on the Data tab, in the Get External Data group, click
From Other Sources, and then click From Data Connection Wizard.
To make managing and analyzing a group of related data easier, you can turn a range (range: Two
or more cells on a sheet. The cells in a range can be adjacent or nonadjacent.) of cells into a Microsoft
Office Excel table (previously known as an Excel list). A table is a series of rows and columns that
contains related data that is managed independently from the data in other rows and columns on the
worksheet (worksheet: The primary document that you use in Excel to store and work with data. Also
called a spreadsheet. A worksheet consists of cells that are organized into columns and rows; a
By default, every column in the table has filtering enabled in the header row so that you can filter or
sort your table data quickly. You can add a total row (total row: A special row in a list that provides a
selection of aggregate functions useful for working with numerical data.) to your table that provides a
drop-down list of aggregate functions for each total row cell. A sizing handle in the lower-right corner
of the table allows you to drag the table to the size that you want.
To manage several groups of data, you can insert more than one table in the same worksheet. You
cannot create a table in a shared workbook (shared workbook: A workbook set up to allow multiple
users on a network to view and make changes at the same time. Each user who saves the workbook
If you have access to and authoring permission on a Microsoft Windows SharePoint Services site, you
can use it to share a table with other users. By exporting table data to a SharePoint list, other people
can view, edit, and update the table data in the SharePoint list, and you can synchronize your table
data with these changes to keep the Excel table up to date. After exporting the table data to a
SharePoint list, you can open a SharePoint list in Excel as read-only — any changes that you want to
Sorting and filtering Filter drop-down lists (drop-down list box: A control on a menu,
toolbar, or dialog box that displays a list of options when you click the small arrow next to the
list box.) are automatically added in the header row of a table. You can sort tables in
ascending or descending order or by color, or you can create a custom sort order. You can
filter tables to show only the data that meets the criteria that you specify, or you can filter by
color. For more information on how to filter or sort data, see Filter data or Sort data.
Formatting table data You can quickly format table data by applying a predefined or
custom table style. You can also choose Quick Styles options to display a table with or without
a header or a totals row, to apply row or column banding to make a table easier to read, or to
distinguish between the first or last columns and other columns in the table. For more
Inserting and deleting table rows and columns You can use one of several ways to add
rows and columns to a table. You can quickly add a blank row at the end of the table, include
adjacent worksheet rows or worksheet columns in the table, or insert table rows and table
columns anywhere that you want. You can delete rows and columns as needed. You can also
quickly remove rows that contain duplicate data from a table. For more information about
adding and deleting table rows and columns, see Add or remove Excel table rows and
columns.
Using a calculated column To use a single formula that adjusts for each row in a table,
you can create a calculated column. A calculated column automatically expands to include
additional rows so that the formula is immediately extended to those rows. For more
information on how to create a calculated column, see Create, edit, or remove a calculated
Displaying and calculating table data totals You can quickly total the data in a table by
displaying a totals row at the end of the table and then using the functions that are provided
in drop-down lists for each totals row cell. For more information on how to display and
calculate table data totals, see Total the data in an Excel table.
Using structured references Instead of using cell references, such as A1 and R1C1, you
Ensuring data integrity For tables that are not linked to SharePoint lists, you can use the
built-in data validation features in Excel. For example, you may choose to allow only numbers
or dates in a column of a table. For more information on how to ensure data integrity, see
Exporting to a SharePoint list You can export a table to a SharePoint list so that other
Overview of charting
Show All
In Microsoft Office Excel 2007, it is easy to create professional looking charts. Simply by choosing a
chart type, a chart layout, and a chart style—all of which are within easy reach on the new Office Excel
2007 Ribbon—you will have instant professional results every time that you create a chart. You can
make it even easier by saving your favorite charts as a chart template that you can then quickly apply
If you have Excel installed, you can also take advantage of the powerful Excel charting functionality in
other 2007 Microsoft Office system programs, such as Microsoft Office PowerPoint 2007 and Microsoft
In this article
Modifying charts
Using predefined chart styles and chart layouts for a professional look
To create a basic chart in Excel that you can modify and format later, you start by entering the data for
the chart on a worksheet. Then you simply select that data and choose the chart type that you want to
Excel supports numerous types of charts to help you display data in ways that are meaningful to your
audience. When you create a chart or change an existing chart, you can choose from a wide range of
chart types (such as a column chart or a pie chart) and their subtypes (such as a stacked column chart
or a pie in 3-D chart). You can also create a combination chart by using more than one chart type in
your chart.
Example of a combination chart that uses a column and line chart type.
For more information about how to create a chart in Excel, see Create a chart.
Charts are fully integrated with other 2007 Office release programs, such as Office PowerPoint 2007
and Office Word 2007. Both programs provide the same chart tools that are available in Excel. When
you have Excel installed, you can create Excel charts in PowerPoint and Word by clicking the Chart
button on the Ribbon (Insert tab, Illustrations group), and then by using the chart tools to modify or
format the chart. Charts that you create will be embedded in Office PowerPoint 2007 and Office Word
2007, and the chart data is stored in an Excel worksheet that is incorporated in the PowerPoint or Word
file.
NOTE If you work in Compatibility Mode in Word, you can insert a chart by using Microsoft Graph
instead of Excel. In PowerPoint, you can always use Excel to create a chart.
You can also copy a chart from Excel to PowerPoint 2007 and Word 2007. When you copy a chart, it
can either be embedded as static data or linked to the workbook. For a chart that is linked to a
workbook that you have access to, you can specify that it automatically checks for changes in the
For more information about how to create a chart in PowerPoint 2007 or Office Word 2007, see Use
Top of Page
Modifying charts
After you create a chart, you can modify it. For example, you may want to change the way that
axes (axis: A line bordering the chart plot area used as a frame of reference for measurement. The y
axis is usually the vertical axis and contains data. The x-axis is usually the horizontal axis and contains
categories.) are displayed, add a chart title, move or hide the legend, or display additional chart
elements.
Change the display of chart axes You can specify the scale of axes and adjust the interval
between the values or categories that are displayed. To make your chart easier to read, you
can also add tick marks (tick marks and tick-mark labels: Tick marks are small lines of
measurement, similar to divisions on a ruler, that intersect an axis. Tick-mark labels identify
the categories, values, or series in the chart.) to an axis, and specify the interval at which they
will appear.
Add titles and data labels to a chart To help clarify the information that appears in your
chart, you can add a chart title, axis titles, and data labels (data label: A label that provides
additional information about a data marker, which represents a single data point or value that
Add a legend or data table You can show or hide a legend (legend: A box that identifies
the patterns or colors that are assigned to the data series or categories in a chart.) or change
its location. In some charts, you can also show a data table (data table: A range of cells that
shows the results of substituting different values in one or more formulas. There are two types
of data tables: one-input tables and two-input tables.) that displays the legend keys (legend
keys: Symbols in legends that show the patterns and colors assigned to the data series (or
categories) in a chart. Legend keys appear to the left of legend entries. Formatting a legend
key also formats the data marker that's associated with it.) and the values that are presented
in the chart.
Apply special options for each chart type Special lines (such as high-low lines and
trendlines (trendline: A graphic representation of trends in data series, such as a line sloping
upward to represent increased sales over a period of months. Trendlines are used for the
study of problems of prediction, also called regression analysis.)), bars (such as up-down bars
and error bars), data markers (data marker: A bar, area, dot, slice, or other symbol in a chart
that represents a single data point or value that originates from a worksheet cell. Related data
markers in a chart constitute a data series.), and other options are available for different chart
types.
Top of Page
Instead of manually adding or changing chart elements or formatting the chart, you can quickly apply
a predefined chart layout and chart style to your chart. Excel provides a variety of useful predefined
layouts and styles that you can choose from, but you can fine-tune a layout or style further if needed
by making manual changes to the layout and format of individual chart elements, such as the chart
area (chart area: The entire chart and all its elements.), plot area (plot area: In a 2-D chart, the area
bounded by the axes, including all data series. In a 3-D chart, the area bounded by the axes, including
the data series, category names, tick-mark labels, and axis titles.), data series (data series: Related
data points that are plotted in a chart. Each data series in a chart has a unique color or pattern and is
represented in the chart legend. You can plot one or more data series in a chart. Pie charts have only
one data series.), or legend (legend: A box that identifies the patterns or colors that are assigned to
When you apply a predefined chart layout, a specific set of chart elements (such as titles (titles in
charts: Descriptive text that is automatically aligned to an axis or centered at the top of a chart.), a
legend, a data table (data table: A range of cells that shows the results of substituting different values
in one or more formulas. There are two types of data tables: one-input tables and two-input tables.), or
data labels (data label: A label that provides additional information about a data marker, which
represents a single data point or value that originates from a datasheet cell.)) are displayed in a
specific arrangement in your chart. You can choose from a variety of layouts that are provided for each
chart type.
When you apply a predefined chart style, the chart is formatted based on the document
theme (theme: A combination of theme colors, theme fonts, and theme effects. A theme may be
applied to a file as a single selection.) that you have applied, so that your chart matches your
organization's or your own theme colors (theme colors: A set of colors that is used in a file. Theme
colors, theme fonts, and theme effects compose a theme.) (a set of colors), theme fonts (theme fonts:
A set of major and minor fonts that is applied to a file. Theme fonts, theme colors, and theme effects
compose a theme.) (a set of heading and body text fonts), and theme effects (theme effects: A set of
visual attributes that is applied to elements in a file. Theme effects, theme colors, and theme fonts
NOTE You cannot create your own chart layouts or styles, but you can create chart templates that
include the chart layout and formatting that you want. For more information about chart templates,
For more information about how to change the look of a chart, see Change the layout or style of a
chart.
Top of Page
In addition to applying a predefined chart style, you can easily apply formatting to individual chart
elements such as data markers (data marker: A bar, area, dot, slice, or other symbol in a chart that
represents a single data point or value that originates from a worksheet cell. Related data markers in a
chart constitute a data series.), the chart area, the plot area, and the numbers and text in titles and
labels to give your chart a custom, eye-catching look. You can apply specific shape styles and WordArt
styles, but you can also format the shapes and text of chart elements manually.
Fill chart elements You can use colors, textures, pictures, and gradient fills to help draw
Change the outline of chart elements You can use colors, line styles, and line weights to
Add special effects to chart elements You can apply special effects, such as shadow,
reflection, glow, soft edges, bevel, and 3-D rotation to chart element shapes, which gives your
Format text and numbers You can format text and numbers in titles, labels, and text
boxes on a chart as you would text and numbers on a worksheet. To make text and numbers
For more information about how to format chart elements, see Format chart elements.
Top of Page
If you want to reuse a chart that you customized to meet your needs, you can save that chart as a
chart template (*.crtx) in the chart templates folder. When you create a chart, you can then apply the
chart template just like you would any other built-in chart type. In fact, chart templates are true chart
types, and you can also use them to change the chart type of an existing chart.
If you use a chart template frequently, you can save it as the default chart type.
NOTE Chart templates are not based on document themes (theme: A combination of theme colors,
theme fonts, and theme effects. A theme may be applied to a file as a single selection.). To use theme
colors (theme colors: A set of colors that is used in a file. Theme colors, theme fonts, and theme
effects compose a theme.), theme fonts (theme fonts: A set of major and minor fonts that is applied to
a file. Theme fonts, theme colors, and theme effects compose a theme.), and theme effects (theme
effects: A set of visual attributes that is applied to elements in a file. Theme effects, theme colors, and
theme fonts compose a theme.) in a chart that you create by using a chart template, you can apply a
style to the chart. A chart style resets the theme of a chart to the document theme. For more
information, see Using predefined chart styles and chart layouts for a professional look.
To allow only authorized reviewers to view or modify your data, you can help secure your entire
1. Click the Microsoft Office Button , and then click Save As.
If you want reviewers to enter a password before they can view the workbook, type a
If you want reviewers to enter a password before they can save changes to the
NOTES
Password to modify This feature does not use any encryption method. It is designed
so you can collaborate with content reviewers you trust. Is not designed to help make
Both passwords You can assign both passwords — one to access the file and one to
provide specific reviewers with permission to modify its content. Make sure each
IMPORTANT
Use strong passwords that combine uppercase and lowercase letters, numbers, and symbols.
Weak passwords don't mix these elements. Strong password: Y6dh!et5. Weak password:
House27. Passwords should be 8 or more characters in length. A pass phrase that uses 14 or
more characters is better. For more information, see Help protect your personal information
It is critical that you remember your password. If you forget your password, Microsoft cannot
retrieve it. Store the passwords that you write down in a secure place away from the
4. If you don't want content reviewers to accidentally modify the file, select the Read-only
recommended check box. When opening the file, reviewers will be asked whether or not
5. Click OK.
6. When prompted, retype your passwords to confirm them, and then click OK.
7. Click Save.
NOTE Securing an entire workbook with a password is separate from the workbook and
worksheet protection that you can set on the Review tab in the Changes group. For more
information about workbook and worksheet protection, see Change or remove protection of
Formulas are equations that perform calculations on values in your worksheet. A formula starts with
an equal sign (=). For example, the following formula multiplies 2 by 3 and then adds 5 to the result.
=5+2*3
A formula can also contain any or all of the following: functions (function: A prewritten formula that
takes a value or values, performs an operation, and returns a value or values. Use functions to simplify
and shorten formulas on a worksheet, especially those that perform lengthy or complex calculations.),
references, operators (operator: A sign or symbol that specifies the type of calculation to perform
within an expression. There are mathematical, comparison, logical, and reference operators.), and
constants (constant: A value that is not calculated and, therefore, does not change. For example, the
number 210, and the text "Quarterly Earnings" are constants. An expression, or a value resulting from
Parts of a formula
Operators: The ^ (caret) operator raises a number to a power, and the * (asterisk) operator
multiplies.
In this article
A constant is a value that is not calculated. For example, the date 10/9/2008, the number 210, and the
text "Quarterly Earnings" are all constants. An expression, or a value resulting from an expression, is
not a constant. If you use constant values in the formula instead of references to the cells (for
example, =30+70+110), the result changes only if you modify the formula yourself.
Top of Page
Operators specify the type of calculation that you want to perform on the elements of a formula. There
is a default order in which calculations occur, but you can change this order by using parentheses.
Types of operators
There are four different types of calculation operators: arithmetic, comparison, text concatenation, and
reference.
Arithmetic operators
numbers; and produce numeric results, use the following arithmetic operators.
Arithmetic Exampl
operator Meaning e
Comparison operators
You can compare two values with the following operators. When two values are compared by using
these oper
Exampl
Comparison operator Meaning e
Use the ampersand (&) to join, or concatenate, one or more text strings to produce a single piece of
text.
Text
operator Meaning Example
& Connects, or concatenates, two values to produce one continuous text "North"&"wind
(ampersand) value "
Reference operators
Reference
operator Meaning Example
: (colon) Range operator, which produces one reference to all the cells between two references, B5:B15
including the two references
, (comma) Union operator, which combines multiple references into one reference SUM(B5:B15,D5:D15
)
(space) Intersection operator, which produces on reference to cells common to the two references B7:D7 C6:C8
so it's important to understand how the order is determined and how you can change the order to
Calculation order
Formulas calculate values in a specific order. A formula in Excel always begins with an equal sign (=).
The equal sign tells Excel that the succeeding characters constitute a formula. Following the equal sign
are the elements to be calculated (the operands), which are separated by calculation operators. Excel
calculates the formula from left to right, according to a specific order for each operator in the formula.
Operator precedence
If you combine several operators in a single formula, Excel performs the operations in the order shown
in the following table. If a formula contains operators with the same precedence — for example, if a
formula contains both a multiplication and division operator — Excel evaluates the operators from left
to right.
Operator Description
(single
space)
, (comma)
% Percent
^ Exponentiation
= Comparison
<>
<=
>=
<>
Use of parentheses
To change the order of evaluation, enclose in parentheses the part of the formula to be calculated first.
For example, the following formula produces 11 because Excel calculates multiplication before
=5+2*3
In contrast, if you use parentheses to change the syntax, Excel adds 5 and 2 together and then
=(5+2)*3
In the example below, the parentheses around the first part of the formula force Excel to calculate
B4+25 first and then divide the result by the sum of the values in cells D5, E5, and F5.
=(B4+25)/SUM(D5:F5)
Top of Page
Functions are predefined formulas that perform calculations by using specific values, called
arguments, in a particular order, or structure. Functions can be used to perform simple or complex
calculations.
The following example of the ROUND function rounding off a number in cell A10 illustrates the syntax
of a function.
Structure of a function
Structure. The structure of a function begins with an equal sign (=), followed by the function name,
an opening parenthesis, the arguments for the function separated by commas, and a closing
parenthesis.
Function name. For a list of available functions, click a cell and press SHIFT+F3.
Arguments. Arguments can be numbers, text, logical values such as TRUE or FALSE, arrays (array:
Used to build single formulas that produce multiple results or that operate on a group of arguments
that are arranged in rows and columns. An array range shares a common formula; an array constant is
a group of constants used as an argument.), error values such as #N/A, or cell references (cell
reference: The set of coordinates that a cell occupies on a worksheet. For example, the reference of
the cell that appears at the intersection of column B and row 3 is B3.). The argument you designate
must produce a valid value for that argument. Arguments can also be constants (constant: A value
that is not calculated and, therefore, does not change. For example, the number 210, and the text
"Quarterly Earnings" are constants. An expression, or a value resulting from an expression, is not a
Argument tooltip. A tooltip with the syntax and arguments appears as you type the function. For
example, type =ROUND( and the tooltip appears. Tooltips only appear for built-in functions.
Entering functions
When you create a formula that contains a function, the Insert Function dialog box helps you enter
worksheet functions. As you enter a function into the formula, the Insert Function dialog box displays
the name of the function, each of its arguments, a description of the function and each argument, the
current result of the function, and the current result of the entire formula.
To make it easier to create and edit formulas and minimize typing and syntax errors, use formula
autocomplete. After you type an = (equal sign) and beginning letters or a display trigger, Microsoft
Office Excel displays below the cell a dynamic drop down list of valid functions, arguments, and names
that match the letters or trigger. You can then insert an item in the drop-down list into the formula.
Nesting functions
In certain cases, you may need to use a function as one of the arguments (argument: The values that a
function uses to perform operations or calculations. The type of argument a function uses is specific to
the function. Common arguments that are used within functions include numbers, text, cell references,
and names.) of another function. For example, the following formula uses a nested AVERAGE function
The AVERAGE and SUM functions are nested within the IF function.
Valid returns When a nested function is used as an argument, it must return the same type of value
that the argument uses. For example, if the argument returns a TRUE or FALSE value, then the nested
function must return a TRUE or FALSE. If it doesn't, Microsoft Excel displays a #VALUE! error value.
Nesting level limits A formula can contain up to seven levels of nested functions. When Function B
is used as an argument in Function A, Function B is a second-level function. For instance, the AVERAGE
function and the SUM function are both second-level functions because they are arguments of the IF
function. A function nested within the AVERAGE function would be a third-level function, and so on.
Top of Page
A reference identifies a cell or a range of cells on a worksheet and tells Microsoft Excel where to look
for the values or data you want to use in a formula. With references, you can use data contained in
different parts of a worksheet in one formula or use the value from one cell in several formulas. You
can also refer to cells on other sheets in the same workbook, and to other workbooks. References to
cells in other workbooks are called links or external references (external reference: A reference to a
cell or range on a sheet in another Excel workbook, or a reference to a defined name in another
workbook.).
The default reference style By default, Excel uses the A1 reference style, which refers to columns
with letters (A through XFD, for a total of 16,384 columns) and refers to rows with numbers (1 through
1,048,576). These letters and numbers are called row and column headings. To refer to a cell, enter
the column letter followed by the row number. For example, B2 refers to the cell at the intersection of
Making a reference to another worksheet In the following example, the AVERAGE worksheet
function calculates the average value for the range B1:B10 on the worksheet named Marketing in the
same workbook.
Relative references A relative cell reference in a formula, such as A1, is based on the relative
position of the cell that contains the formula and the cell the reference refers to. If the position of the
cell that contains the formula changes, the reference is changed. If you copy or fill the formula across
rows or down columns, the reference automatically adjusts. By default, new formulas use relative
references. For example, if you copy or fill a relative reference in cell B2 to cell B3, it automatically
Absolute references An absolute cell reference in a formula, such as $A$1, always refer to a cell in
a specific location. If the position of the cell that contains the formula changes, the absolute reference
remains the same. If you copy or fill the formula across rows or down columns, the absolute reference
does not adjust. By default, new formulas use relative references, and you may need to switch them to
absolute references. For example, if you copy or fill an absolute reference in cell B2 to cell B3, it stays
Mixed references A mixed reference has either an absolute column and relative row, or absolute
row and relative column. An absolute column reference takes the form $A1, $B1, and so on. An
absolute row reference takes the form A$1, B$1, and so on. If the position of the cell that contains the
formula changes, the relative reference is changed, and the absolute reference does not change. If you
copy or fill the formula across rows or down columns, the relative reference automatically adjusts, and
the absolute reference does not adjust. For example, if you copy or fill a mixed reference from cell A2
Conveniently referencing multiple worksheets If you want to analyze data in the same cell or
range of cells on multiple worksheets within the workbook, use a 3-D reference. A 3-D reference
includes the cell or range reference, preceded by a range of worksheet names. Excel uses any
worksheets stored between the starting and ending names of the reference. For example,
=SUM(Sheet2:Sheet13!B5) adds all the values contained in cell B5 on all the worksheets between and
You can use 3-D references to refer to cells on other sheets, to define names, and to create
formulas by using the following functions: SUM, AVERAGE, AVERAGEA, COUNT, COUNTA, MAX,
MAXA, MIN, MINA, PRODUCT, STDEV, STDEVA, STDEVP, STDEVPA, VAR, VARA, VARP, and
VARPA.
3-D references cannot be used in array formulas (array formula: A formula that performs
multiple calculations on one or more sets of values, and then returns either a single result or
multiple results. Array formulas are enclosed between braces { } and are entered by pressing
CTRL+SHIFT+ENTER.).
3-D references cannot be used with the intersection operator (operator: A sign or symbol that
specifies the type of calculation to perform within an expression. There are mathematical,
comparison, logical, and reference operators.) (a single space) or in formulas that use implicit
intersection (implicit intersection: A reference to a range of cells, instead of a single cell, that
is calculated like a single cell. If cell C10 contains the formula =B5:B15*5, Excel multiplies the
value in cell B10 by 5 because cells B10 and C10 are in the same row.).
What happens when you move, copy, insert, or delete worksheets The following examples
explain what happens when you move, copy, insert, or delete worksheets that are included in a 3-D
reference. The examples use the formula =SUM(Sheet2:Sheet6!A2:A5) to add cells A2 through A5 on
worksheets 2 through 6.
Insert or copy If you insert or copy sheets between Sheet2 and Sheet6 (the endpoints in
this example), Microsoft Excel includes all values in cells A2 through A5 from the added sheets
in the calculations.
Delete If you delete sheets between Sheet2 and Sheet6, Excel removes their values from
the calculation.
Move If you move sheets from between Sheet2 and Sheet6 to a location outside the
referenced sheet range, Excel removes their values from the calculation.
Move an endpoint If you move Sheet2 or Sheet6 to another location in the same workbook,
Excel adjusts the calculation to accommodate the new range of sheets between them.
Delete an endpoint If you delete Sheet2 or Sheet6, Excel adjusts the calculation to
You can also use a reference style where both the rows and the columns on the worksheet are
numbered. The R1C1 reference style is useful for computing row and column positions in
macros (macro: An action or a set of actions that you can use to automate tasks. Macros are recorded
in the Visual Basic for Applications programming language.). In the R1C1 style, Excel indicates the
location of a cell with an "R" followed by a row number and a "C" followed by a column number.
Referenc
e Meaning
R[-2]C A relative reference (relative reference: In a formula, the address of a cell based on the relative position of the cell that
contains the formula and the cell referred to. If you copy the formula, the reference automatically adjusts. A relative
reference takes the form A1.) to the cell two rows up and in the same column
R[2]C[2] A relative reference to the cell two rows down and two columns to the right
R2C2 An absolute reference (absolute cell reference: In a formula, the exact address of a cell, regardless of the position of the cell
that contains the formula. An absolute cell reference takes the form $A$1.) to the cell in the second row and in the second
column
R[-1] A relative reference to the entire row above the active cell
When you record a macro, Excel records some commands by using the R1C1 reference style. For
example, if you record a command such as clicking the AutoSum button to insert a formula that adds
a range of cells, Excel records the formula by using R1C1 style, not A1 style, references.
You can turn the R1C1 reference style on or off by setting or clearing the R1C1 reference style
check box under Working with formulas in the Formulas category of the Excel Settings under
Top of Page
You can create defined names (name: A word or string of characters that represents a cell, range of
cells, formula, or constant value. Use easy-to-understand names, such as Products, to refer to hard to
constant (constant: A value that is not calculated and, therefore, does not change. For example, the
number 210, and the text "Quarterly Earnings" are constants. An expression, or a value resulting from
an expression, is not a constant.) values, or Excel tables. A name is a meaningful shorthand that
makes it easier to understand the purpose of a cell reference (cell reference: The set of coordinates
that a cell occupies on a worksheet. For example, the reference of the cell that appears at the
intersection of column B and row 3 is B3.), constant (constant: A value that is not calculated. For
example, the number 210 and the text "Quarterly Earnings" are constants. An expression, or a value
resulting from an expression, is not a constant.), formula (formula: A sequence of values, cell
references, names, functions, or operators in a cell that together produce a new value. A formula
always begins with an equal sign (=).), or table (table: A collection of data about a particular subject
that is stored in records (rows) and fields (columns).), each of which may be difficult to comprehend at
first glance. The following information shows common examples of names and how they can improve
Example
Type Example with no name Example with a name
Types of names
There are several types of names you can create and use.
Defined name A name that represents a cell, range of cells, formula, or constant value. You can
create your own defined name, and Excel sometimes creates a defined name for you, such as when
Table name A name for an Excel table, which is a collection of data about a particular subject that is
stored in records (rows) and fields (columns). Excel creates a default Excel table name of "Table1",
"Table2", and so on, each time you insert an Excel table, but you can change the name to make it
more meaningful. For more information on Excel tables, see Using structured references with Excel
tables.
Name box on the formula bar This is best used for creating a workbook level name for a
selected range.
Create a name from selection You can conveniently create names from existing row and
New Name dialog box This is best used for when you want more flexibility in creating
names, such as specifying a local worksheet level scope or creating a name comment.
NOTE By default, names use absolute cell references (absolute cell reference: In a formula, the exact
address of a cell, regardless of the position of the cell that contains the formula. An absolute cell
Using Formula AutoComplete Use the Formula AutoComplete drop-down list, where valid
Selecting from the Use in Formula command Select a defined name from a list available
from the Use in Formula command in the Defined Names group on the Formula tab.
For more information, see Use names to clarify formulas.
Top of Page
An array formula can perform multiple calculations and then return either a single result or multiple
results. Array formulas act on two or more sets of values known as array arguments. Each array
argument must have the same number of rows and columns. You create array formulas in the same
way that you create other formulas, except you press CTRL+SHIFT+ENTER to enter the formula. Some
of the built-in functions are array formulas, and must be entered as arrays to get the correct results.
Array constants can be used in place of references when you don't want to enter each constant value
When you enter an array formula (array formula: A formula that performs multiple calculations on one
or more sets of values, and then returns either a single result or multiple results. Array formulas are
enclosed between braces { } and are entered by pressing CTRL+SHIFT+ENTER.), Microsoft Excel
To calculate a single result This type of array formula can simplify a worksheet model by replacing
For example, the following calculates the total value of an array of stock prices and shares, without
using a row of cells to calculate and display the individual values for each stock.
Price for each stock, and then adds the results of those calculations together.
To calculate multiple results Some worksheet functions return arrays of values, or require an
array of values as an argument. To calculate multiple results with an array formula, you must enter the
array into a range of cells that has the same number of rows and columns as the array arguments.
For example, given a series of three sales figures (in column B) for a series of three months (in column
A), the TREND function determines the straight-line values for the sales figures. To display all of the
When you enter the formula =TREND(B1:B3,A1:A3) as an array formula, it produces three separate
results (22196, 17079, and 11962), based on the three sales figures and the three months.
In an ordinary formula, you can enter a reference to a cell containing a value, or the value itself, also
called a constant (constant: A value that is not calculated and, therefore, does not change. For
example, the number 210, and the text "Quarterly Earnings" are constants. An expression, or a value
resulting from an expression, is not a constant.). Similarly, in an array formula you can enter a
reference to an array, or enter the array of values contained within the cells, also called an array
constant. Array formulas accept constants in the same way that nonarray formulas do, but you must
Array constants can contain numbers, text, logical values such as TRUE or FALSE, or error values such
as #N/A. Different types of values can be in the same array constant — for example,
Separate values in different columns with commas (,). For example, to represent the values
10, 20, 30, and 40, enter {10,20,30,40}. This array constant is known as a 1-by-4 array and is
Separate values in different rows with semicolons (;). For example, to represent the values 10,
20, 30, and 40 in one row and 50, 60, 70, and 80 in the row immediately below, you would
Function Description
EUROCONVERT Converts a number to euros, converts a number from euros to a euro member
currency, or converts a number from one euro member currency to another by
using the euro as an intermediary (triangulation)
[Link] Returns the register ID of the specified dynamic link library (DLL) or code
resource that has been previously registered
[Link] Connects with an external data source and runs a query from a worksheet,
then returns the result as an array without the need for macro programming
Top of Page
Cube functions
Function Description
CUBEMEMBERPROPERTY Returns the value of a member property in the cube. Use to validate
that a member name exists within the cube and to return the
specified property for this member.
CUBERANKEDMEMBER Returns the nth, or ranked, member in a set. Use to return one or
more elements in a set, such as the top sales performer or top 10
students.
Top of Page
Database functions
Function Description
DGET Extracts from a database a single record that matches the specified criteria
DSTDEV Estimates the standard deviation based on a sample of selected database entries
DSTDEVP Calculates the standard deviation based on the entire population of selected
database entries
DSUM Adds the numbers in the field column of records in the database that match the
criteria
DVARP Calculates variance based on the entire population of selected database entries
Top of Page
Function Description
DAYS360 Calculates the number of days between two dates based on a 360-day year
EDATE Returns the serial number of the date that is the indicated number of months
before or after the start date
EOMONTH Returns the serial number of the last day of the month before or after a
specified number of months
NOW Returns the serial number of the current date and time
SECOND Converts a serial number to a second
WEEKNUM Converts a serial number to a number representing where the week falls
numerically with a year
WORKDAY Returns the serial number of the date before or after a specified number of
workdays
YEARFRAC Returns the year fraction representing the number of whole days between
start_date and end_date
Top of Page
Engineering functions
Function Description
Financial functions
Function Description
Function Description
ISERR Returns TRUE if the value is any error value except #N/A
Top of Page
Logical functions
Function Description
Top of Page
Function Description
HLOOKUP Looks in the top row of an array and returns the value of the indicated cell
HYPERLINK Creates a shortcut or jump that opens a document stored on a network server,
an intranet, or the Internet
VLOOKUP Looks in the first column of an array and moves across the row to return the
value of a cell
Top of Page
Function Description
SUMX2MY2 Returns the sum of the difference of squares of corresponding values in two
arrays
SUMX2PY2 Returns the sum of the sum of squares of corresponding values in two arrays
Top of Page
Statistical functions
Function Description
AVEDEV Returns the average of the absolute deviations of data points from their mean
AVERAGEA Returns the average of its arguments, including numbers, text, and logical
values
AVERAGEIF Returns the average (arithmetic mean) of all the cells in a range that meet a
given criteria
AVERAGEIFS Returns the average (arithmetic mean) of all cells that meet multiple criteria.
BETAINV Returns the inverse of the cumulative distribution function for a specified beta
distribution
CHIINV Returns the inverse of the one-tailed probability of the chi-squared distribution
COUNTIF Counts the number of nonblank cells within a range that meet the given
criteria
CRITBINOM Returns the smallest value for which the cumulative binomial distribution is
less than or equal to a criterion value
MAXA Returns the maximum value in a list of arguments, including numbers, text,
and logical values
MINA Returns the smallest value in a list of arguments, including numbers, text, and
logical values
Top of Page
Text functions
Function Description
CODE Returns a numeric code for the first character in a text string
MID, MIDB Returns a specific number of characters from a text string starting at the
position you specify
SEARCH, SEARCHB Finds one text value within another (not case-sensitive)
Editing options
After pressing Enter, move selection Makes an adjacent cell the next active cell after you press
ENTER in the current active cell. In the Direction box, indicate which adjacent cell becomes active.
Direction Makes an adjacent cell the next active cell after you press ENTER in the current active cell.
Automatically insert a decimal point Select this check box to display a number with decimal
points by default.
Places Enter the number of decimal places in the Places box to indicate where Microsoft
Office Excel automatically places the decimal point in the numbers that you type as constants
on a worksheet. A positive number moves the decimal point to the left; a negative number
moves the decimal point to the right. If the Places box is left blank or is set to 0 (zero), you
need to enter the decimal point manually. To override this option, type a decimal point in the
Enable fill handle and cell drag-and-drop Select this check box to move and to copy cells and
data by dragging. When this option is selected, you can also drag the fill handle to copy data and to fill
Alert before overwriting cells Displays a message if you drop cells over other cells that
contain data.
Allow editing directly in cells Select this check box to enable editing inside a cell by double-
clicking the cell, rather than by editing the cell contents in the formula bar.
Extend data range formats and formulas Select to automatically format new items added to the
end of a list to match the format of the rest of the list. Formulas that are repeated in every row are
also copied. To be extended, formats and formulas must appear in at least three of the five last rows
Enable automatic percent entry Select to multiply by 100 all of the numbers less than 1 that you
enter in cells that are formatted in the Percentage format. Clear this check box to multiply by 100 all of
the numbers that you enter in cells that are formatted in the Percentage format, including numbers
Enable AutoComplete for cell values Completes text entries that you start to type in a column of
data. If the first few letters that you type match an existing entry in that column, Excel fills in the
Alert the user when a potentially time consuming operation occurs Select if you want to be
notified when an operation affects a large number of cells and may take a long time to process.
When this number of cells (in thousands) is affected Lets you specify the maximum
number of cells that are affected by an operation without being notified. If more cells than the
Use system separators Select to use the default Decimal and Thousands separators. Clear
Decimal separator To change the default decimal separator, clear Use system
separators, select the default separator in the Decimal separator box, and then type
Thousands separator To change the default thousands separator, clear Use system
separators, select the default separator in the Thousands separator box, and then
Show Paste Options buttons Select to have Excel automatically display a dialog box with special
options when you paste, such as Formatting Only and Link Cells.
Show Insert Options buttons Select to have Excel automatically display a dialog box with special
options when you insert cells, rows or columns, such as Formatting Same As Above and Clear
Formatting.
Cut, copy, and sort inserted objects with their parent cells Keeps graphic objects, buttons, text
boxes, drawn objects, and pictures with their associated cells whenever you cut, copy, filter, or sort on
a worksheet.
Display
Show this number of Recent Documents Displays a list of recently used workbooks under Recent
Documents when you click the Microsoft Office Button , so that you can open those workbooks
quickly. Enter the number of workbooks that you want to display in the Show this number of Recent
Ruler units Lets you select the units that you want to display on the Layout view ruler.
Show formula bar Displays the formula bar. The formula bar appears at the top of the worksheet.
Show function ScreenTips Displays brief descriptions of the functions that you select in the list of
Show chart element names on hover Displays the name of a chart element when you rest the
Show data point values on hover Displays the value of a data point (data points: Individual values
plotted in a chart and represented by bars, columns, lines, pie or doughnut slices, dots, and various
other shapes called data markers. Data markers of the same color constitute a data series.) when you
For cells with comments, show Select one of the following options to determine how comments
o No comments or indicators Hides comments and comment indicators in cells that have
comments attached.
o Indicators only, and comments on hover Displays a small triangle in the upper-right
corner of a cell when there is a comment attached to the cell. Comments are displayed only
o Comments and indicators Displays the comment and comment indicator, a small triangle
in the upper-right corner of a cell, when there is a comment attached to the cell.
Display options for this workbook Select the workbook in this list box that is affected by the
following options.
Show horizontal scroll bar Displays the horizontal scroll bar at the bottom of the worksheet.
Show vertical scroll bar Displays the vertical scroll bar on the right side of the worksheet.
Show sheet tabs Displays worksheet tabs so that you can move among and select individual
Group dates in the AutoFilter menu Changes the hierarchical grouping of dates to a
nonhierarchical list of dates in the list of dates at the bottom of the AutoFilter menu in a date filter. For
example, you can filter for just two-digit years by manually selecting two-digit years from a
nonhierarchical list.
For objects, show Select one of the following options to display or hide graphic objects in the
workbook.
o All Displays all of the graphic objects, buttons, text boxes, drawn objects, and pictures.
o Nothing (hide objects) Hides all of the graphic objects, buttons, text boxes, drawn objects,
Display options for this worksheet Select the worksheet in this list box that is affected by the
following options.
Show row and column headers Displays row numbers on the left side of the worksheet and column
Show formulas in cells instead of their calculated results Displays the formulas in cells instead
Show page breaks Displays page breaks that have been set automatically by Excel.
Show a zero in cells that have zero value Displays a 0 (zero) in cells that contain zero values.
Show outline symbols if an outline is applied Displays outline symbols. Outline symbols are not
Show gridlines Displays cell gridlines. To print gridlines, make sure that the Print check box is
selected under Gridlines in the Sheet Options group on the Page Layout tab.
Gridline color Sets the color for gridlines. If you click Automatic, the gridline color is based
Enable multi-threaded calculation Selected by default, this option enables fast calculation by
using all of the processors on your computer, or by using the number of processors that you type
manually.
Number of calculation threads Lets you specify the number of processors that are used for
calculation.
o Use all processors on this computer Selected by default, this option uses all of the
o Manual Lets you specify the number of processors that you want to use. In the Manual box,
When calculating this workbook Select the workbook in this list box that is affected by the
following options.
Update links to other documents Calculates and updates formulas that include references to other
applications.
Set precision as displayed Permanently changes stored values in cells from full precision (15 digits)
Use 1904 date system Changes the starting date from which all dates are calculated from January
Save external link values Saves copies of the values contained in an external document linked to
an Excel worksheet. If a worksheet with links to large ranges on an external document requires an
unusually large amount of disk space or takes a very long time to open, clearing the Save external
link values check box can reduce the disk space and time that is needed to open the worksheet.
General
Provide feedback with sound Plays available sounds that are associated with Microsoft Office
program events, such as opening, saving, and printing files, and displaying error messages. Sounds
that are assigned to different events can be changed in the Sounds Properties dialog box in
Windows Control Panel. If you select or clear the Provide feedback with sound check box in one
Office program, it is also turned on or off for all other Office programs. To change the sound that is
associated with an event, open the Sounds folder in Windows Control Panel. Your computer must have
Provide feedback with animation Displays worksheet movement and changes when you insert or
delete cells, rows, or columns. Animation may slow video performance on some systems.
Ignore other applications that use Dynamic Data Exchange (DDE) Prevents the exchange of
data with other applications that use Dynamic Data Exchange (DDE).
Ask to update automatic links Displays a message that lets you confirm before linked items are
updated.
Show add-in user interface errors Displays errors in the user-interface of add-ins that you install
and use.
Scale content for A4 or 8.5 x 11" paper sizes For some countries or regions, the standard paper
size is Letter; for others, the standard size is A4. Select this check box if you want Excel to
automatically adjust documents formatted for the standard paper size of another country or region (for
example, A4) so that they print correctly on the standard paper size for your country or region (for
example, Letter). This option affects the printout only. It does not affect the formatting in your
document.
At startup, open all files in At startup, Excel automatically opens files from the folder that you type
in this text box. Type the full path to the folder in the text box to indicate the location of the files.
Web Options Sets options for how Excel data looks and responds when the data is viewed in a Web
browser.
Service Options Lets you specify customer feedback and document management options.
Lotus Compatibility
Microsoft Office Excel menu key Sets the key that you can use to access the commands on the
Ribbon.
Transition navigation keys Activates an alternate set of keys for worksheet navigation, formula
Lotus Compatibility Settings for Select the worksheet in this list box that is affected by the
following options.
Transition formula evaluation Opens and evaluates Lotus 1-2-3 files without losing or changing
information. When this option is selected, Excel evaluates text strings as 0 (zero), Boolean expressions
as 0 or 1, and database criteria according to the rules that are used in Lotus 1-2-3.
Transition formula entry Converts formulas that are entered in Lotus 1-2-3 release 2.2 syntax to
Excel syntax, and makes names that are defined in Excel behave like names that are defined in Lotus
1-2-3.
To create a PivotTable or PivotChart report, you need to connect to a data source and enter the
report's location.
1. Select a cell in a range of cells, or put the insertion point inside of a Microsoft Office Excel
table.
To create a PivotTable report, on the Insert tab, in the Tables group, click PivotTable,
To create a PivotTable and PivotChart report, on the Insert tab, in the Tables group,
2. Type the range of cells or table name reference, such as =QuarterlyProfits, in the
Table/Range box.
If you selected a cell in a range of cells or if the insertion point was in a table before you
started the wizard, the range of cells or table name reference is displayed in the
Table/Range box.
hide the dialog box, select the range on the worksheet, and then press Expand Dialog
NOTE If the range is in another worksheet in the same workbook or another workbook,
type the workbook and worksheet name by using the following syntax:
([workbookname]sheetname!range).
5. In the Show drop-down list at the top of the dialog box, select the category of
connections for which you want to choose a connection or select All Existing
6. Select a connection from the Select a Connection list box, and then click Open.
NOTE If you choose a connection from the Connections in this Workbook category,
you will be reusing or sharing an existing connection. If you choose a connection from
connection, and then used as the new connection for the PivotTable report.
To place the PivotTable report in a new worksheet starting at cell A1, click New
Worksheet.
and then type the first cell in the range of cells where you want to locate the PivotTable
report.
Alternatively, click Collapse Dialog to temporarily hide the dialog box, select the
Click OK.
An empty PivotTable report is added to the location that you entered with the PivotTable Field
List displayed so that you can start adding fields, creating a layout, and customizing the
PivotTable report. For more information, see Create and change the layout of fields in a
PivotTable report.
If you are creating a PivotChart report, an associated PivotTable report (associated PivotTable
report: The PivotTable report that supplies the source data to the PivotChart report. It is
created automatically when you create a new PivotChart report. When you change the layout
of either report, the other also changes.) is created directly underneath the PivotChart report
for the location that you enter. This PivotTable report must be in the same workbook as the
PivotChart report. If you specify a location in another workbook, the PivotChart report will also
be created in that workbook. For more information, see Overview of charting, Available chart
Top of Page
You can use any chart type except xy (scatter), bubble, or stock.
For more information, see Overview of charting, Available chart types, and Create a chart.
Top of Page
1. Find the associated PivotTable report (associated PivotTable report: The PivotTable report that
supplies the source data to the PivotChart report. It is created automatically when you create
a new PivotChart report. When you change the layout of either report, the other also
changes.) that has the same name as the PivotChart report by doing the following:
2. To find the associated PivotTable report name, on the Design tab, in the Data group,
click Select Data to display the Edit Data Source dialog box, and then note the
associated PivotTable name, which is the text that follows the (!) exclamation point, in
the Chart data range text box and then click OK.
3. To find the associated PivotTable report, click each PivotTable report in the workbook,
and then on the Options tab, in the PivotTable group, click Options until you find the
2. Click OK.
3. On the Options tab, in the Actions group, click Select, and then click Entire PivotTable.
4. Press DELETE.
Top of Page
This procedure creates a regular, noninteractive chart rather than a PivotChart report (PivotChart
report: A chart that provides interactive analysis of data, like a PivotTable report. You can change
views of data, see different levels of detail, or reorganize the chart layout by dragging fields and by
1. Select the data in the PivotTable report that you want to use in your chart. To include field
buttons (field button: Button that identifies a field in a PivotTable or PivotChart report. You can
drag the field buttons to change the layout of the report, or click the arrows next to the
buttons to change the level of detail displayed in the report.) and data in the first row and
column of the report, start dragging from the lower-right corner of the data that you're
selecting.
4. On the Home tab, in the Clipboard group, click the arrow next to Paste, and then click
Paste Special.
For more information on charts, see Overview of charting, Available chart types, and Create a
chart.
Top of Page
NOTE Deleting the associated PivotTable report (associated PivotTable report: The PivotTable report
that supplies the source data to the PivotChart report. It is created automatically when you create a
new PivotChart report. When you change the layout of either report, the other also changes.) for a
PivotChart report creates a static chart that you can no longer change.
2. Press DELETE.
NOTE Deleting the PivotChart report does not automatically delete the associated
PivotTable report.
3. Overview of SPSS
The software name originally stood for Statistical Package for the Social
Sciences (SPSS),[2] reflecting the original market, although the software is
now popular in other fields as well, including the health sciences and
marketing.
Contents
1 Overview
2 Versions and ownership history
3 See also
4 Notes
5 References
6 External links
Overview
SPSS is a widely used program for statistical analysis in social science. It is
also used by market researchers, health researchers, survey companies,
government, education researchers, marketing organizations, data miners, [3]
and others. The original SPSS manual (Nie, Bent & Hull, 1970) has been
described as one of "sociology's most influential books" for allowing ordinary
researchers to do their own statistical analysis. [4] In addition to statistical
analysis, data management (case selection, file reshaping, creating derived
data) and data documentation (a metadata dictionary was stored in the
datafile) are features of the base software.
The many features of SPSS Statistics are accessible via pull-down menus or
can be programmed with a proprietary 4GLcommand syntax language.
Command syntax programming has the benefits of reproducibility,
simplifying repetitive tasks, and handling complex data manipulations and
analyses. Additionally, some complex applications can only be programmed
in syntax and are not accessible through the menu structure. The pull-down
menu interface also generates command syntax: this can be displayed in the
output, although the default settings have to be changed to make the syntax
visible to the user. They can also be pasted into a syntax file using the
"paste" button present in each menu. Programs can be run interactively or
unattended, using the supplied Production Job Facility.
SPSS Statistics places constraints on internal file structure, data types, data
processing, and matching files, which together considerably simplify
programming. SPSS datasets have a two-dimensional table structure, where
the rows typically represent cases (such as individuals or households) and
the columns represent measurements (such as age, sex, or household
income). Only two data types are defined: numeric and text (or "string"). All
data processing occurs sequentially case-by-case through the file. Files can
be matched one-to-one and one-to-many, but not many-to-many.
The graphical user interface has two views which can be toggled by clicking
on one of the two tabs in the bottom left of the SPSS Statistics window. The
'Data View' shows a spreadsheet view of the cases (rows) and variables
(columns). Unlike spreadsheets, the data cells can only contain numbers or
text, and formulas cannot be stored in these cells. The 'Variable View'
displays the metadata dictionary where each row represents a variable and
shows the variable name, variable label, value label(s), print width,
measurement type, and a variety of other characteristics. Cells in both views
can be manually edited, defining the file structure and allowing data entry
without using command syntax. This may be sufficient for small datasets.
Larger datasets such as statistical surveys are more often created in data
entry software, or entered during computer-assisted personal interviewing,
by scanning and using optical character recognition and optical mark
recognition software, or by direct capture from online questionnaires. These
datasets are then read into SPSS.
SPSS Statistics can read and write data from ASCII text files (including
hierarchical files), other statistics packages, spreadsheets and databases.
SPSS Statistics can read and write to external relational database tables via
ODBC and SQL.
SPSS Statistics versions 16.0 and later run under Windows, Mac, and Linux.
The graphical user interface is written in Java. The Mac OS version is
provided as a Universal binary, making it fully compatible with both PowerPC
and Intel-based Mac hardware.
Prior to SPSS 16.0, different versions of SPSS were available for Windows,
Mac OS X and Unix. The Windows version was updated more frequently and
had more features than the versions for other operating systems.[citation needed]
SPSS Statistics version 13.0 for Mac OS X was not compatible with Intel-
based Macintosh computers, due to the Rosetta emulation software causing
errors in calculations. SPSS Statistics 15.0 for Windows needed a
downloadable hotfix to be installed in order to be compatible with Windows
Vista.
SPSS Inc announced on July 28, 2009 that it was being acquired by IBM for
US$1.2 billion.[5] Because of a dispute about ownership of the name "SPSS",
between 2009 and 2010, the product was referred to as PASW (Predictive
Analytics SoftWare).[6] As of January 2010, it became "SPSS: An IBM
Company". Complete transfer of business to IBM was done by October 1,
2010. By that date, SPSS: An IBM Company ceased to exist. IBM SPSS is now
fully integrated into the IBM Corporation, and is one of the brands under IBM
Software Group's Business Analytics Portfolio, together with IBM
Algorithmics, IBM Cognos and IBM OpenPages.
Features of SPSS
Data management capabilities include:
Detailed labeling of variables and data values; additional documentation of
data sets; storage of data and documentation in system files.
Flexible definition of missing data codes.
Permanent and temporary transformation of existing variables and
computation of new variables; conditional and looping structures for complex
data transformations.
Reading raw data files in a wide variety of formats (e.g., numeric,
alphanumeric, binary, dollar, date, and time formats).
Reading hierarchical and other non-rectangular raw data files.
Reading, combining, outputting multiple files.
Reading matrices for input to procedures.
Flip command to switch the columns and rows in a data set.
Macro facility to build ones own block of SPSS syntax elements and to
control the execution of these blocks.
Ability to read and write to compressed files.
Opening SPSS
Click Cancel, and we’ll get acquainted with the layout of SPSS.
Layout of SPSS
The Data Editor window has two views that can be selected from the
lower left
hand side of the screen. Data View is where you see the data you are using.
Variable
View is where you can specify the format of your data when you are
creating a file or
where you can check the format of a pre-existing file. The data in the Data
Editor is
saved in a file with the extension .sav.
Menu bar
Icons
Review the options listed under each menu on the Menu Bar by clicking
them one at a
time. Follow along with the below descriptions.
File includes all of the options
you typically use in other programs, such
as open, save, exit. Notice, that you can
open or create new files of multiple types
as illustrated to the right.
View allows you to select which toolbars you want to show, select font
size, add
or remove the gridlines that separate each piece of data, and to select
whether or not to
display your raw data or the data labels.
Add-ons are programs that can be added to the base SPSS package.
You probably
do not have access to any of those.
Window can be used to select which window you want to view (i.e.,
Data Editor,
Output Viewer, or Syntax). Since we have a data file and an output file open,
let’s try
this.
Help has many useful options including a link to the SPSS homepage,
a statistics
coach, and a syntax guide. Using topics, you can use the index option to
type in any key
word and get a list of options, or you can view the categories and
subcategories available
under contents. This is an excellent tool and can be used to troubleshoot
most problems.
The Icons directly under the Menu bar provide shortcuts to many
common
commands that are available in specific menus. Take a moment to review
these as well.
Place your cursor over the Icons for a few seconds, and a description of the
underlying
command will appear. For example,
is the shortcut
this for Save. Review the
icon
others yourself.
Exiting SPSS
To close SPSS, you can either left click on the close button
located on the
upper right hand corner of the screen or select Exit from the File menu.
Choose one of these approaches.
A dialog box like the one below will appear for every open window asking you if
you
want to save it before exiting. You almost always want to save data files.
Output files
may be large, so you should ask yourself if you need to save them or if you
simply want
to print them.
[Link] of frequency distribution
If we assume that the coin toss is fair and the results are recorded properly,
the results will follow what is called a binomial distribution. The equation that
describes the binomial distribution is built-in to Excel:
=BINOMDIST(16,20,0.5, FALSE)
That formula answers this question: What is the chance of getting exactly 16
‘successes’ out of 20 tries, when the probability of success is 0.5 (since 50%
of fair coin tosses are heads)? The answer is 0.46%, or about one time in
200. (Why ‘FALSE’? Read on for an explanation.)
The chance of observing 16 heads out of twenty coin flips is about 1 in 200.
That’s pretty rare. But it is the answer to the wrong question. If we had
observed 17 heads, we would have been even more surprised. So we need to
add to the probability we calculated the chance of observing 17, 18, 19 or 20
heads. One way to do this is to use a formula similar to the one shown above
(but changing ’16’ to the other values) and adding up the probabilities.
Another way is to use this Excel formula:
=1 - BINOMDIST(15,20,0.5,TRUE)
With the last argument to the function set to True, that function returns the
probability of getting 15 or fewer successes out of 20 tries when the
probability of success is 0.5. Subtract that result from 1 to get the probability
of getting 16 or more successes. So to switch from calculating an exact
probability to a cumulative one, we had to change the last argument to
Excel’s function from False to True, and also had to change the first value
from 16 to 15.