Develop and Use Complex Spreed Sheet
Develop and Use Complex Spreed Sheet
Standard Toolbar
Formatting Toolbar
Formula Bar
Active Cell
Address
Worksheet Area
Scroll Bars
Status Bar
Title Bar - Indicates application and current workbook in
use
Menu Bar - General headings for accessing commands
Standard Toolbar - Quick access to basic features of Excel
Formatting Toolbar - Quick access to change appearance of cells
Formula Bar - Indicates active cell address and displays cell
contents
Scroll Bars - Allows quick movement around the worksheet
Active Cell - Position to insert information
Status Bar - Displays information about the selected
command and to the right, the state of certain
keys e.g. CAPS, NUM, etc.
Active
Cell
Column
Headings
Row
Headings
Sheet
Name
The diagram shows a workbook that has had more sheets added, the default is 3.
To open a menu, move the mouse pointer to the menu bar, position it directly over the
menu name and click once. A list of commands will appear as a drop down menu.
Some command names may appear as dim, pale, grey (ghosted) text. This indicates
that these commands are not available for selection at the moment.
Ghosted not
available
Three dots after the command indicate that further selections are available.
To select a command from the drop down menu, simply click on it.
Toolbars allow quick access to commands. When moving the mouse
pointer over the buttons on the Toolbar, Excel displays the button name as
a ToolTip. Clicking on the button with the mouse carries out the task.
Moving Around
Small movements around the worksheet are usually achieved using the keys, when
moving to a different area, the mouse and scroll bars are used.
Active Cell
The Current or Active cell is shown on the screen by a dark border. The Active Cell
Reference is shown in the Formula Bar. The active cell can be moved about the
worksheet using various key presses. The keys are:
Exit Excel
From the Menu Bar click on File. A drop down menu will appear.
Quick Tip
Close button
Cells within an Excel worksheet can contain either Text (Labels), Numbers (Values) or
Formulas (calculations from number cells). Labels are normally used for describing the
contents of the worksheet, as column or row titles for example, whereas values are used for
calculations.
A typical model has no blank rows or columns within it, the relationship between Text,
Numbers and Formulas is shown below (remember this is a typical example - cell contents
can be arranged in any way).
Creating a Spreadsheet
A spreadsheet in Excel is called a Workbook. A workbook is automatically opened when
Excel starts and is named Book1. A workbook is made up of separate spreadsheets bound
together called worksheets (sheets). Each workbook can contain as many as 255 sheets (the
default is 3, named Sheet1, Sheet2, etc.).
When creating a spreadsheet model start on Sheet1 (the default) and begin by using the top
left corner. Normally a Title is entered in cell A1 and the main block starts in either A2 or
A3.
To complete an entry either use <Enter>, the cursor movement keys (arrow keys), click on
the enter box in the formula bar, or click on another cell. Using <Enter> may move down a
cell or stay on the same cell, whereas, the arrow keys allow movement in any direction, ready
for the next entry.
Labels
Labels are entered as text and are usually placed down column A and across row 2 or 3 from
column B. Text by default is aligned to the left (placed at the left edge of the cell). If the text
you type does not fit then the size of the text or the size of the cell can be changed (covered
later in Formatting).
All formulas begin with an equals sign (=), followed by the calculation, this could be:
=345+45
but normally information from numeric cells is used. When using other cells their cell
address is given, e.g. B7, F23. To create a formula in B7 to add two numbers placed in B5
and B6, click on B7 and type
=B5+B6 <Enter>
Formula bar
displays
formula
The solution is placed in cell B7, the formula bar displays the formula that generated the
answer.
Pointing
A better way to enter cell addresses is not to type them but use the mouse and click on them.
The above formula is entered as = (point and click on cell B5)+ (point and click on cell B6)
<Enter>.
This method is better because fewer mistakes are made with addresses and typing.
Re-Calculation
The real power of a spreadsheet becomes apparent when the contained data is changed. If
the source data changes, the formulas are automatically recalculated, so that the user need
never worry about the results and totals being up to date.
Mathematical Operators
The basic mathematical operators are add, subtract, multiply and divide. The symbols on a
keyboard are slightly different to those used normally and are:
+ Add
- Subtract
* Multiply
/ Divide
Note: To use the numeric keypad the Num Lock must be active.
The numerical example 6+4/2 gives the answer 8, when you may want, and expect, the
answer, 5.
Brackets can be added to force the program to perform calculations in a different order to
normal. In the example above the formula becomes:
=(6+4)/2 displays 5
Note: The numbers in the above example would normally be replaced by cell
references.
AutoSum
One of the most important functions in Excel is SUM and because of this there is a button on
the toolbar to sum automatically.
This feature only works without alteration when a list of numbers is already entered into a
range. Spaces cause AutoSum to shorten the range.
Move to the cell where the sum is required.
Click .
Adjust the range if not correct (the range is highlighted in black, ready to be
overwritten).
Press <Enter> to complete the entry.
Note: AutoSum sums left or up depending on where the figures are located. If AutoSum
has figures in both directions it will sum up by default.
Quick Tip
To open and save to a location automatically from within Excel. Create a folder using
Windows Explorer and then within Excel select Tools | Options | General tab and in the
Default file location box type your new folder. Click OK.
Note: When using Save either via the command or the button the workbook is saved
automatically, overwriting the previous version and with very little on-screen
evidence. Some users prefer to use Save As for saving under the same name.
Click Save and confirm the replacement by clicking Yes.
Quick Tip
Clicking on the Save button, , on the Standard Toolbar can also carry out saving.
Closing a Workbook
To close the current, open workbook from the screen and begin working on a new one:
The open workbooks are numbered, click on the one required, to display it.
Open workbooks
Quick Tip
Open a new workbook by clicking the New button on the Standard Toolbar.
Active workbook
Use the drop down list of Look in: to select the correct drive and folder, from which
to open the document.
Finally, click on the name of the file to be opened. This will now be highlighted.
Click the Open button to open the file. (Double clicking the file name in the list also
opens the file).
Opening recently used workbooks
The last four Workbooks that have been used by Excel are listed at the bottom of the
File menu. Click once on the file name to open the file - the file must, of course, be on
one of the disks currently being used by the machine.
Quick Tip
Click the Open button on the Standard Toolbar. The Open dialog box is then
displayed on the screen. Select the required drive, folder and finally the file name. Click
Open to complete the process and open the workbook.
Print Preview Shows what the worksheet will look like when printed page
by page.
Page Setup sets the page layout, Print Preview and/or Page Break Preview to see what
the printed result will look like and Print to obtain a hard copy.
When using one of the above commands, the others are available either, via command
buttons or buttons on the toolbar.
In Print Preview Print, Setup and Page Break Preview are available via
buttons.
In Page Setup Print and Print Preview are available via command
buttons.
In Page Break Preview This is a View, all the other commands are available
using the toolbar buttons or menu options.
Page Tab
Margins Tab
To change Margin settings (values are in centimetres), either type in the values or
use to increase or decrease the values.
The worksheet can be centred horizontally and/or vertically by checking the Center
on page boxes.
Changing Headers and Footers
Headers and Footers are lines of text at the top/bottom of every printed page.
Scroll through the available predefined headers and click on the required option.
Note: The default Page Header and Footer on every page is (none). Be careful when
using Header and Footer settings as the Top and Bottom margins can occupy
the same space.
This shows the layout of the worksheet, including any headers, footers, etc.
Margins
From here, selecting the Margins button can change margins and column widths.
These can be changed by dragging the margin or column borders - they are,
however, not normally changed from here.
Zoom
Zoom in and out by pointing and single clicking on the required part. Another click
zooms out. The Zoom button generally zooms in and out - not normally used
because the other method is easier and more accurate.
Viewing other Pages
The Next and Previous buttons are used to view the rest of the pages. Key presses
Page Up and Page Down can also be used.
Page Break Preview
Click the Page Break Preview button to show the whole worksheet with Page
Breaks (next page). Select Normal View from Print Preview to return to the
original appearance (The Page Break Preview button changes to Normal View).
Print
The worksheet can be printed from here by clicking the Print button.
Close
To close print preview click the Close button.
Page Break Preview
To see how a worksheet fits on paper:
Select View | Page Break Preview or click button from within
Print Preview. This view shows where the page breaks are located.
To change the position of a page break (denoted by heavy dashed blue lines) drag it
to a new position.
Printing
Select File | Print to display the Print dialog box.
Repeat Titles
Rows or columns can be repeated when a worksheet prints on more than one page.
To repeat titles
Select File | Page Setup.
Click the Sheet tab.
Place the cursor in Rows to repeat at top or Columns to repeat at left under Print
titles.
Note: Both rows and columns cannot be set at the same time.
Highlight the required rows or columns by clicking and dragging on the worksheet.
Click OK to exit Page Setup.
Print Preview to view the results before printing.
Note: Make sure that the appropriate printer is attached to your computer, and that it
is switched on and on-line before attempting to print. Click on the drop down
list next to Printer Name to select a different printer.
Editing by Overtyping
Click on the cell to be changed.
Enter new data.
Any time before <Enter> is pressed, the user may click on the Cancel button on the
formula bar or press <Esc> which will cancel the new input, leaving the originally
entered data unchanged.
Cancel button
Press <Enter>.
After completing the cell entry the new information replaces the old.
Undo/Redo
When editing a worksheet, the last change made can be Undone by selecting either Edit |
Undo …. or the Undo button, .
After completing a replacement entry, this action can be undone with Undo.
Select Edit | Undo or click Undo button to reverse the last action.
After Undoing an action, it can be Redone by selecting Edit | Redo …. or clicking
the Redo button .
All actions that can be undone are stored in the Undo history. To use:
Quick Tip
Press F2 to start In Cell editing. The cursor is placed at the end of the contents in the active
cell.
Any part of a cell’s contents can be formatted, by clicking and dragging, during the
edit process.
Erasing Data
The contents of cell/s can be erased by:
Note: Selecting All clears contents, comments and any formatting. Formats clears all
the formatting and leaves the contents. Comments only clears the cell
comments.
Quick Tip
A selected cell’s contents can be erased, by pressing the <Delete> key.
The selected cells are placed in an area of Windows called the Clipboard, from where they
can be Pasted back into the required place.
Copy
Select the cell or cells to be copied.
Select Edit | Copy or the Copy button, on the toolbar.
Note: Excel places a marquee (a dotted line around the selected cells to be copied).
Paste
Select the cell or click and drag a range or select the top left cell of the paste area
for a range.
Click Paste , if required, more than once (see Note)
or
Press <Enter>, to paste and clear the clipboard.
Note: When using Paste, the original cell can be pasted repeatedly whereas <Enter>
terminates the copy process.
Cut
2.6. RANGES
Selecting Cells using the Mouse
A range is a rectangular collection of cells, consisting of just one cell, a row or column
of cells or a block of cells covering several rows and columns. Just as single cells are
identified by location, e.g. C9, F11 etc., ranges are identified by the cells of their outer
limits, e.g. the four cells B2, B3, C2 and C3 is the range B2:C3.
Selecting a range using the mouse
Click and drag the mouse to highlight a group of cells.
Quick Tip
For a number sequence increasing in ones, enter first number and hold Ctrl whilst
dragging the fill handle.
Filling a Range
Enter first cell.
Highlight the range to fill including the first cell.
Select Edit | Fill | Series.
By default Excel will carry out this adjustment automatically. This is because cell
addresses are held as Relative Addresses. (This is covered in a later section.)
Enter the formula to the right of the first row and at the bottom of the first column.
Range
Click and drag to the new location.
Release mouse button.
Alternatively
Select the cell to copy.
Place the cursor at the edge.
With the right mouse button click and drag to the new location.
Release the mouse button and select Copy Here from the quick menu.
Copy Ranges
Copying from one cell to a range of cells
Click on cell to copy.
Select Edit | Copy or copy button .
Select the range of cells to receive the copy.
Press <Enter> or for multiple pastes use Edit | Paste or paste button .
Copying from one range to another
Click on range to copy
Select Edit | Copy or copy button
Click on the top left cell of the receiving range.
Press <Enter> or for multiple pastes use Edit | Paste or paste button .
Note: Do not try to match the size of the destination range to the source range
Alternatively
Highlight the range to copy.
Delete Cells
Cells can be deleted from a worksheet and the space left is filled by the surrounding cells
moving in.
To delete cells
Highlight the required cell/s.
Select Edit | Delete.
Select the direction to move the remaining cells.
Note: Entire rows and columns can be deleted via this menu but they are normally
deleted by selecting the rows or columns headings before selecting Edit |
Delete. This deletes them directly.
Click OK.
Note: This option removes the entire cells and their contents. To delete contents,
formatting or notes use the Edit | Clear menu, this leaves the cells in place.
Choose the required formatting from within Font Style and Underline.
Note: When using the Format dialog box all selections are previewed to show what
the results will look like.
Click OK to add the formatting.
From the keyboard
Select the cell/s.
To add Bold, press <Ctrl B>.
To add Italic, press <Ctrl I>.
To add Underline, press <Ctrl U>.
For part of a cell only, while entering
To start Bold press <Ctrl B>, type text and <Ctrl B> to turn bold off.
To start Italic press <Ctrl I>, type text and <Ctrl I> to turn italic off.
To start Underline press <Ctrl U>, type text and <Ctrl U> to turn underline off .
Part of a cell only, while editing
Enter edit mode by double clicking on the required cell or press <F2>.
Click and drag any part of the cell contents and use any method described
previously to add the required formatting.
Press <Enter>, to exit edit mode.
The default font is Arial, 10 point. Font size is measured in points. There are 72 points
to 1 inch in height.
Select the range.
Select Format | Cells.
Select Font tab.
Select Font from Font box and Size from Size box.
Note: Text can be typed into these boxes, especially the size box, when a size is not
displayed in the list.
Check the Preview box for an example of the chosen options.
Click OK to add the formatting.
Quick Tip
On the formatting toolbar, select a Font from the drop down list
and Size from the size box . The changes have to be applied to see the results, there
is no preview available.
Change of base font and size
To change the base font for all new workbooks:
Format Numbers
Numbers can be displayed in various formats with options for decimal places and the
display of negative values.
Formatting numbers
Select the range.
Select Format | Cells.
Choose the Number tab.
Select required Category, Number of decimal places and Negative number display
(for currency).
Check the sample box.
Click OK to apply the chosen formats.
Note: After applying number formats, cells may display #######, this denotes the
contents are too big for the cells. Widen the columns (covered in Section 9) or
reduce the font size to display the contents.
Note: Elapsed time calculations are carried out by subtracting one time from
another.
Alignment
Alignment is the positioning of text in a cell relative to its edges. By default Labels
(Text) are aligned to the left and Numbers to the right.
Text Wrap
When text needs to fit a cell without widening the column, text wrap can be used.
Note: The row height is changed automatically to accommodate the text if the user
has not manually set the row height. If the row height has been set, it must be
increased manually to view all the text.
Merge
Merge and centre is used to centre a title across a range of cells, either horizontally or
vertically.
Enter text into a cell.
Note: The Merge and Centre button does not remove merged cells as in
previous versions.
Text Colour
Text colour is called Font Color.
Click the to display the drop down list and choose from the palette of colours.
Cell Borders
Lines are added to worksheets via Cell Borders. Options are given on line style and
location within the cell or range of cells.
Choose from Style, Color (if required) and then from either Presets or Border to
add lines to the required areas.
Note: When adding lines, remember that lines are added in the chosen position to
every cell in the chosen range.
Quick Tip
A smaller selection of Border options is available on the toolbar via the Borders button
. Choose from the drop down list. The last chosen option is then displayed for future
use. The default Border is a single line on the bottom of cells.
Cell Shading
Background cell color is added to cells to enhance the appearance of worksheets.
Quick Tip
Double clicking with the adjust cursor displayed automatically adjusts the column on the
left to the widest entry in that column.
To adjust multiple columns
In the column headings, click and drag to select the required columns.
Display the adjust cursor at any vertical column edge within the range.
Click and drag one column border to change them all or double click to adjust all
columns to the widest entry within each column.
Change Row Height
Row heights can be changed in exactly the same way as changing column widths, except
the adjust cursor is between two rows and the adjustment changes the row above.
Choose the required option from Shift cells right and Shift cells down.
Click OK.
Entire rows or columns may be deleted, or just selected cells, moving the
surrounding cells up or left to fill the gaps.
Selecting the row number or column letter before selecting Edit | Delete will
delete the row or column without displaying the Delete dialog box.
Note: The results in cell formulas may be altered by deleting parts of the worksheet,
resulting in errors, indicated by #REF in the cells.
Hide/Unhide Rows and Columns
Rows or columns of data can be hidden when the data is not required to be seen.
To hide a row
Drag the adjust cursor up (effectively making the height 0).
or
Select Format | Row | Hide.
To hide a column
Drag the adjust cursor left (effectively making the width 0).
or
Select Format | Column | Hide.
Note: Dragging the adjust cursor across several columns or rows hides multiple
columns/rows.
Excel calculates formulas relative to where the formula is in the spreadsheet. In the
example above the formula in B4 adds the two cells directly above B4. Copying this
formula to D8 adds D6 and D7 (the two cells directly above D8).
The fill handle is used to copy to adjacent rows or adjacent columns (in one direction
only).
Fill Handle
(Dragged from B7
through to D7)
Absolute Referencing
The user may wish to use a fixed cell address in a formula to refer back to the same cell
when the formula is copied. Excel treats all cell references as relative unless they are
fixed by the user.
Examples of fixed cell references are fixed values, interest rates, VAT, fixed overheads.
The advantage of fixed references is that changing one cell, changes all other references,
the worksheet does not need to be searched for cells that contain the old value.
To fix a cell as Absolute, $ symbols are added to the cell references.
=C3*$B$15
Relative
Absolute
Reference
Reference
DEVELOPING AND USEING COMPLEX SPREED SHEET Page 32
Mixed Referencing
A mixed reference is a combination of both relative and absolute, e.g. A$1 or $A1 where
an exact row or column is referenced with a relative row or column.
Note: Mixed referencing is rarely used as the fill handle references across a row or
down a column automatically.
2.11. FUNCTIONS
Functions are specialised formulas that make calculations easier. There are various types,
some examples include:
Statistical AVERAGE, COUNT, MAX, MIN, STDEV, VAR
Financial NPV, FV, PMT, RATE, IRR
Logical IF, TRUE, FALSE
Math & Trig MOD, SIN, LOG, SQRT
Text LEFT, RIGHT, MID, LEN
Date & Time DATE, NOW, TIME
Lookup & Reference HLOOKUP, VLOOKUP, CHOOSE
All functions, like formulas, are preceded by an = sign.
=SUM(N12:N16)
adds the values in the range N12:N16 and is equivalent to the formula
=N12+N13+N14+N15+N16. The bigger the range the more effective the function. To
add 5000 numbers in a column is just as easy as adding 3 numbers.
The syntax (the make up) of a Function is as follows:
= Function Name(arguments, separated by commas)
Insert Function
Insert Function helps in the entering of functions and replaces the function wizard in
previous versions of Excel. To enter a function:
Click the Insert Function button to display the Insert Function dialog box.
Common Functions
Sum
This the most common of all functions and adds a column or row of numbers. As SUM is
the most common it has been placed on the standard toolbar and the button is called
AutoSum .
Select the cell where the sum is required.
Click the AutoSum button .
The function is entered with a suggested range.
It uses the numbers in close proximity to the active cell. If the range to sum is
incorrect (it stops at a blank cell), click and drag the required range.
Press <Enter> to complete the function and enter the result.
Note: If numbers have been summed to create totals then the AutoSum button sums
the sub totals and ignores the individual numbers, in effect creating a grand
total.
All other functions can be entered using the Insert Function button , although they
can be typed if the correct syntax is known.
Common functions
Average
The AVERAGE function combines a simple formula, a sum divided by a count. An
example of the function:
=AVERAGE(C5:C19)
If the range taken from the numbers suggested in the Number 1 cell matches the
required range, click OK.
If not,
Click the collapse button, , to return to the worksheet to select the required
range.
or
Count
Max
Max (maximum) is a statistical function that returns the largest number in a specified
range.
Min
Min (minimum) is a statistical function that returns the smallest number in a specified
range.
When used together, MAX and MIN give the spread in a range of numbers.
Standard Deviation
The STDEV (standard deviation) is a statistical function and is a measure of how far
values vary from the average.
There are other variations of standard deviation:
STDEVA Statistical function, standard deviation based on a sample
including logical values and text
STDEVP Statistical function, standard deviation of an entire population
DSTDEV Database function, standard deviation of a range in a database
DSTDEVP Database function, standard deviation of an entire population in
a database
IF
The logical function IF compares the contents of a cell and, if a logical test is met,
performs one action and, if not, performs another.
Select the cell for the result.
Click the Insert Function button to display the Insert Function dialog box.
Enter a number in A1 and if the contents of cell A1 is less than 10 then the
number is multiplied by 3, if not, the number is multiplied by 2. The function is
expressed as:
=IF(A1<10,A1*3,A1*2)
2.12. WORKBOOKS
Using Sheets
Workbooks are made up of worksheets named Sheet1, Sheet2, etc. The worksheet tabs
are arranged across the bottom of the worksheet window.
When this happens the movement buttons on the left are then used to show hidden sheet
tabs.
Renaming Sheets
The default names of Sheet1, Sheet2 are fairly meaningless other than to uniquely
identify each one. Renaming each sheet with a meaningful name adds to the
understanding of the workbook. Sheet names can have up to 31 characters.
To rename a sheet
Double click on the required sheet tab or select Format | Sheet | Rename.
DEVELOPING AND USEING COMPLEX SPREED SHEET Page 38
Type the new name.
Press <Enter> or click away from the sheet tab to complete the renaming.
Note: Sheet names can include punctuation e.g. spaces and be as descriptive as
required to relate to the contents.
To delete a sheet
Click on the sheet tab to make the required sheet active and either
Select Edit | Delete Sheet
or
Right click on the sheet tab to delete and select Delete.
The rows and/or columns are then frozen. In the above diagram the active cell
used was B4 to freeze row 3 and column A.
To remove frozen panes
Select Window | Unfreeze Panes.
The panes are then unfrozen.
Note: Columns only can be frozen, by placing the active cell in row 1 and Rows, by
placing the active cell in column A.
There are also various 3-D versions and different versions of the same chart type.
There are two ways in which charts can be created, as part of a worksheet, appearing on
the sheet, with the data (an embedded chart) or as a completely separate sheet. The
procedure for creating the charts is the same for both.
Creating Charts
To create a chart, the ChartWizard is used. The ChartWizard takes the user through
the procedure, step by step.
The data to chart can be selected as a range or multiple ranges before starting to create a
chart or during the creation process.
To create a chart
Using the mouse select the data you want to create a chart of.
Select Insert | Chart or click the Chart Wizard button .
At step 3 complete the required Chart Options. Remember to view each of the
tabs to see the available options. There may be six tabs.
Click Next>.
Quick Tip
To create a column chart quickly, select the data to chart and press <F11>.
Formatting Charts
There are various ways in which charts can be changed and customised to the user's
requirements. Practically everything on the chart, including the colours, axes, words,
gridlines, background, etc., can be changed after it has been created.
To format a chart
Select the part of the chart to change (place the cursor over it and click) and select
Format Selected ... or
Double click on the required part.
The Format dialog box is then displayed for that part of the chart (some parts
have a tabbed dialog box). Make the changes, as required.
2.15. OPTIONS
Excel settings are controlled within Options. Changes made in Options remain until
changed again. These actions are referred to as Customising Excel.
To change options
Select Tools | Options.
General tab
Edit tab
Most of the settings do not need to be changed. The only one to consider is Move
selection after Enter. If this is checked (default) when using <Enter> to
complete an entry the active cell will automatically move in the direction
displayed (Down is the default).
Note: This option is useful when entering large amounts of data into a worksheet
via the numeric keypad. <Enter> can be used to move to the next cell instead
of the cursor movement keys.
Custom lists are used to fill cells with a predefined set of data. The 4 available lists enter
days or months, short and long format. New lists can be added for general use, a list of
names, places, departments, etc.
To create a custom list
Select Tools | Options, choose Custom Lists tab.
Click NEW LIST under Custom lists. Type in the list under List entries, press
<Enter> after each entry.
Click Add to move the list to Custom lists.
Click OK to return to the worksheet.
The list is now available to use in any workbook. Type any item in the list in a cell and
use the fill handle to automatically enter the list.
To calculate automatically
Select Tools | Options | Calculation tab.
Click the Automatic option under Calculation.
Transition tab
This is only used if the user is making the transition from Lotus 1-2-3, otherwise it can be
ignored.
Chart tab
There is no need to make any changes.
Color tab
There is no need to make any changes.
2.16. SORTING
Sort Data Range
When sorting, the rows are arranged in a specific order. The column used to sort is called
the Sort Key. There can be up to 3 sort keys. To sort a list, select the range to sort or let
Excel select the list, by first placing the active cell within it.
To sort data a single column range
Highlight the required range of data.
Click the Sort Ascending button or the Sort Descending button to sort the
data.
Note: If the data is part of a larger range then a Sort Warning is displayed.
Enter the reference in the Sort by box. Choose the option for Ascending or
Descending and click OK to perform the sort.
Sort a List
In a list, the records (rows) are arranged in a specific order. The fields (column headings)
are used to sort the records. To sort a list, the method is the same as for an ordinary
multiple column sort.
To sort a list on one column
Place the active cell in the column to sort.
Click the Sort Ascending button or the Sort Descending button to sort the
data.
This sorts the whole list in the chosen order for the chosen column.
To sort a list on multiple columns
Place the active cell anywhere in the list.
Select Data | Sort.
Click the Options button for greater control of case sensitive data, months, days or
when sorting data across rows.
Sort Options
Sort options for days and months
When complete click OK to exit Sort Options.
Click OK to sort.
Note: Remember if things go wrong or you want to return to the original list, select
Edit | Undo Sort or click the Undo button.
DEVELOPING AND USEING COMPLEX SPREED SHEET Page 50
Quick Tip
If records are to be returned to their original order after sorting, either use Edit | Undo
Sort or better still, insert a blank column to the left and use Edit | Fill | Series to number
each row from 1 onwards. Use Column A to sort back to the original order. Leading
zeros may need to be added to labels that include numbers for them to sort correctly.
Click on the drop down menu associated with the required field.
The list is then automatically filtered to display only the rows that match the chosen field.
Rows that do not match are hidden. The colour of the row numbers and the triangle
next to the field name changes to blue to show that filtering has taken place.
To print a filtered list
Only the displayed information is printed. Use Print Preview and Print commands
in the normal way. The AutoFilter arrows are not printed.
To display all records
Drop down the menu of the filtered column and select All or select via the menu bar
Data | Filter | Show All.
To perform a filter on two or more fields
After filtering on one column, select another field and filter on another e.g. to display
males living in Durham.
Display all people living in Durham with Town field as Durham.
Then filter the Sex field as M (males).
Quick Tip
AutoFilter can be applied to selected adjacent columns in a list by selecting them before
entering filter mode.
To exit filter mode
Select Data | Filter | AutoFilter again.
Custom AutoFilter
The Custom option in AutoFilter allows more complicated searches than a simple
information match. Two items within the same column can be searched by using any of
the 12 options (equals, is less than, etc.).
Simple searches can be carried out using one criteria. More complicated filtering can be
carried out using either And or Or to then add another criteria.
To use custom AutoFilter
Select Data | Filter | AutoFilter.
From a drop down field list select Custom.