Professional Documents
Culture Documents
Excel 2007/2010: Intermediate Level 1
Excel 2007/2010: Intermediate Level 1
Intermediate level 1
www.happy.co.uk
Page 1
Contact Happy
Happy Computers,
Cityside House,
40 Adler Street,
London, E1 1EE
Help-line: 020 7375 7373
help_line@happy.co.uk
Bookings 020 7375 7300
Table of Contents
Happy Computers telephone help-line
The Essentials
10
11
12
13
13
Autofill
15
17
19
20
21
22
Using Sum
22
Formulae
23
Creating a formula
24
Copying Formulae
27
28
29
29
Protection
32
Functions
Page 4
22
36
36
Conditional Formatting
38
www.happy.co.uk
If Functions
43
47
49
Nested Ifs
50
53
53
53
55
56
58
Data Consolidation
58
60
Excel as a Database
63
What is a Database?
63
Freeze Panes
64
64
Sorting
66
Auto-Filter
69
Custom Filters
70
Custom Filters
72
Subtotals
74
Analysing data
77
Appendix
79
79
80
80
Index
82
www.happy.co.uk
Page 5
If your question goes beyond the level of the course you attended it is up to the discretion
of the Helpline person whether they answer it. We will always try to point you to another
source of help if this is the case.
Page 6
www.happy.co.uk
The Essentials
Smart Tags How can they help?
Smart Tags were a new feature in Office 2002 (XP)/2003 and they are still present in all of
the Office 2007 / 2010 products (Word, Excel, Access and PowerPoint).
Smart Tags are buttons that pop up and offer you help according to what you are doing.
Smart Tag
What is it for?
This Smart Tag appears to give you information. It
will appear when you type in a name and will
prompt you to add it to your Outlook Contact List.
When you paste in something you have copied
this Smart Tag will appear. Hover your mouse
over it and it will give you options for the
formatting you have selected.
When clicking on the cell with the green triangle in
the corner the Smart Tag on the left appears. This
is an error checking Smart Tag and will give you
options to check your formulae.
An AutoFill Smart Tag appears when you use
AutoFill and will give you various options (see
page 15).
An AutoCorrect Smart Tag appears as a small
blue box and turns into the Smart Tag when you
hover the mouse over it. It allows you to undo an
Autocorrection.
The Insert Options button appears when rows
columns or cells are inserted. You are then
offered various formatting options.
www.happy.co.uk
Page 7
A Command
A Tab
A Group
The Ribbon
Tabs - There are a number of tabs, each one represents a core task in Excel.
Groups Each tab contains a group of related items.
Commands These are buttons and can represent a box to enter information or even a
menu.
Page 8
www.happy.co.uk
Page 9
Icon Used
I-bar:
Click into the Formula bar, or
double-click inside a cell.
Cross-Arrow:
Position your mouse between two
column letters, or between two row
numbers.
Magnifying glass:
Position your mouse over the
spreadsheet in print preview.
Double-arrow:
Select a picture or drawn shape
and position the mouse around the
boxes.
Egg-timer
Page 10
www.happy.co.uk
1. Press ALT
2. Press a letter to navigate to the
Tab
3. Press a letter to navigate to a
Group
Up one cell
Left a cell
Right a cell
Ctrl
Ctrl
Home
Go to column A
Ctrl Home
Goes to cell A1
Ctrl End
Moves to the bottom right cell of the area you have typed
Page up
Page down
www.happy.co.uk
Page 11
www.happy.co.uk
Or
Click on the different views using the
buttons in the bottom right corner of
the screen.
Selecting columns
Click on the Column letter you require
Or
Click and drag over the column letters to select several columns
Selecting rows
Click on the Row number you require
Or
Click and drag over the row number to select several rows
www.happy.co.uk
Page 13
Shift
Shift
Shift
Shift, Control
Select from the current cell down to the last entry in the column
Shift, Control
Select from the current cell up to the first entry in the column
Shift, Control
Select from the current cell to the last entry in the row
Shift, Control
Select from the current cell to the first entry in the row
Select from the current cell across and down to the last typed
entry on the sheet
Page 14
www.happy.co.uk
Autofill
What Is AutoFill?
AutoFill is a great timesaving feature that allows you to copy text, numbers or Formulae in a
spreadsheet.
Using AutoFill
Make sure your mouse looks like a small black plus sign.
Before you click and drag, make sure that your mouse looks correct, or you might get
some unexpected results!
3. Select the option you require from the Smart tag options
In the above examples, all you need to do is type the first in the sequence, then autofill down or
across.
1. Type the first item in the sequence
2. Autofill down or across
www.happy.co.uk
Page 15
Page 16
www.happy.co.uk
4. Under the Top options for working with Excel, click Edit Custom Lists button
www.happy.co.uk
Page 17
Page 18
www.happy.co.uk
Or
Press Ctrl-X
3. Place your cursor in another location
Or
Press CTRL-V
Copying a selection
1. Select the cells you wish to copy
2. Click on the Copy icon
Or
Press CTRL-C
3. Place your cursor in another location
www.happy.co.uk
Page 19
Or
Press CTRL-V
Page 20
www.happy.co.uk
Moving a Selection
1. Select the cells you wish to move
2. Position your mouse at the border of the selection so that it changes to a
cross arrow (see the diagrams above)
3. Click and drag the selection to its new location
You will see a fuzzy grey border showing you where you are going
Copying a Selection
1. Select the cells you wish to copy
2. Hold down Ctrl on the keyboard
3. Position the mouse at the border of the selection so that it changes to a cross
arrow (see the diagrams above)
4. Click and drag the selection to its new location
You will see a fuzzy grey line and a + sign showing you where you are going
5. Let go of the Ctrl key and the mouse
Happy Computers 020 7375 7300
www.happy.co.uk
Page 21
Should the number change, your formula will not update to give the correct answer.
You will have to change every formula that uses the number, rather than just changing the
contents of one cell.
It will be difficult to find all the formulae that relate to this number.
Other people using your spreadsheet may not know what the number refers to.
If you come back to the spreadsheet a long time after you created it, you may not know what the
number refers to.
Using Sum
Sum is a quick and easy way of adding up lists of figures in Excel.
Page 22
www.happy.co.uk
Formulae
What is a formula?
Formula is the term used for a calculation in your spreadsheet. The diagrams below show an
example formula that has been created.
www.happy.co.uk
Page 23
=B3-B12
Creating a formula
1. Click on the cell where you require the answer
2. Type the = sign
3. Click on the first cell involved in your calculation
The cell reference will appear in the formula
4. Type the maths symbol you are using (e.g. - * or /)
5. Click on the next cell involved in your calculation
6. Repeat steps 4 & 5 (if you need to add more to your formula)
7. Press Enter
Once the formula is confirmed the answer will appear in the cell and the formula will appear on the
Formula bar.
Page 24
www.happy.co.uk
Mathematical symbols
Press +
To perform an addition
Press *
To perform a subtraction
Press /
To perform a division
Press
To perform a multiplication
Precedence of calculation
Calculations are not simply done from left to right. Below is the order in which all calculations are
performed.
Priority
Symbol
Explanation
()
*/
+-
www.happy.co.uk
Page 25
Completed formula
Page 26
www.happy.co.uk
Copying Formulae
You can copy formula using AutoFill and they will automatically adjust to make sense.
1. Create your first formula
2. AutoFill this formula across or down (to copy it to cells)
www.happy.co.uk
Page 27
The quickest way to work out everyone elses increase is to copy Shing Chens formula. However, if
the formula is copied using AutoFill as it is, the row numbers will be incremented, including the cell
reference for the 10% increase, and well end up with some funny answers.....
Page 28
www.happy.co.uk
www.happy.co.uk
Page 29
Have a look at the example below, which uses range names in a formula:
In Cell B6 the formula uses the Range Names (Income-Expenditure) instead of the cell references
(B3-B4).
www.happy.co.uk
Delete your range names and you may see errors in your formulas!
If you delete a range name that is being used within formulas on your spreadsheet then
errors will be displayed. You will need to recreate the formulas.
Happy Computers 020 7375 7300
www.happy.co.uk
Page 31
Protection
Protecting Your Sheet
Once you have set up your spreadsheet, it is all too easy for formulae to get deleted by accident. Its
a good idea to protect your spreadsheet to save it from calamity in the future.
Excel provides several layers of protection for your work:
Worksheet Protection You can protect elements on a worksheet, such as cells with
Formulae, from all user access, or you can allow users access to the parts that you specify.
Workbook Protection You can apply protection to workbooks to stop them being viewed
or changed. If a workbook is shared you can prevent it from being unshared and you can
prevent the change history from being deleted.
3. Add a password if required (it will prompt you to enter it again when you click OK)
4. If required, check or uncheck items in the list of options (for more detail, see the
next page.)
5. Click OK
Page 32
www.happy.co.uk
What it does
Format cells
Format columns
Format rows
Insert columns
Insert rows
Insert hyperlinks
Delete columns
Delete rows
Sort
Edit objects
Edit Scenarios
www.happy.co.uk
Page 33
When you first create a worksheet all of the cells are formatted as locked. Any cells that are locked
will be protected when you use the protection command. However, if there are cells that you wish to
be able to change you must first format them as unlocked.
If all cells are unlocked then protection will have no effect at all
Page 34
www.happy.co.uk
8. Click OK
(If you want to set a password for both modifying and viewing, then you will have to
re-enter the password twice)
9. Re-enter the password
10. Click OK
www.happy.co.uk
Page 35
Functions
Inserting basic functions
Inserting basic functions
There are certain useful calculations that become long winded if you try and create them with
straightforward formulae e.g. calculations such as finding the Average of a group of numbers.
The Autosum icon
quick and easy.
Using AutoSum to find the Sum, Count Numbers, Average, Minimum or Maximum
number in a range
1. Click on the cell where you require the answer
2. Click on the Sum dropdown button
3. Select the function you require
4. Press Enter
3. Click in the Search for a function box, delete the text in the box
Type in the name of the function that you are searching for and press the Go button
Or
Click on the select a category dropdown arrow and choose a category
Then select a function from the list
Page 36
www.happy.co.uk
4. Click OK
5. Move the dialog box out of the way(so that you can select the appropriate cells)
Select the cells
Or
Click on this icon
to make the box smaller (so that you can select the appropriate cells)
Select the cells
Click on this icon again
to make the box bigger
6. Check that Excel has the correct cell references
7. If the figures are incorrect, highlight the correct figures on the spreadsheets
8. Click OK
=Max(A1:A6)
=Min(A1:A6)
www.happy.co.uk
Page 37
Conditional Formatting
What is Conditional Formatting?
Conditional Formatting makes Excel automatically change the format of a particular cell based on
the criteria that you set. For instance, a retailer could use Conditional Formatting to keep track of
stock levels. For example, any stock that falls under a particular threshold could be made bold in
order to flag up that it needs re-ordering. In addition all values over a certain amount could be made
italic to highlight that they are over-stocked.
www.happy.co.uk
www.happy.co.uk
Page 39
3. Select either from Entire Sheet (to remove all Conditional Formatting)
Or from Selected Cells
5. Type a value
Page 40
www.happy.co.uk
Managing Rules
You can have several rules that apply to the same set of cells.
To make this easier to work with use the Rules Manager.
1. Select the cells you wish to manage or apply formatting to
2. Click on the Conditional Formatting button
3. Select Manage Rules
www.happy.co.uk
Page 41
5. Click on the New Rule button (The New Rule dialog box opens)
Page 42
www.happy.co.uk
If Functions
An If function asks Excel to consider if something is true or false.
If it is true it will return one answer, if it false it will return a different answer.
For example: Can my company afford to buy 10 new computers?
There are 2 possible outcomes:
For example, the spreadsheet shown above has an if function to work out if 4 computers are
affordable. To be affordable they must cost less than the Maximum allowable which is 10,000.
To make this IF function easier to understand the logical test is underlined, the true part is in bold
and the false part is in italics.
=IF(B6<=$B$3,yes,no)
The Logical Test
(underlined)
Asks Excel whether what is in B6 is
less than or equal to what is in B3.
(B3 is absolute because that value
will always be in the same cell).
True (bold)
If the logical
test is true
then Excel will
enter yes into
the cell.
www.happy.co.uk
False (italic)
If the logical
test is false
then Excel will
enter no into
the cell.
Page 43
Explanation
Equal to
<>
Not equal to
>
Greater than
<
Less than
>=
<=
Typing in an If Function
1. Click in the cell where you require the answer
2. Type in the =if(
3. Type in your logical test (what you are asking Excel to consider)
4. Type a comma
5. Type in what Excel must do if this is true
6. Type a comma
7. Type in what Excel must do if this is false
8. Close the brackets
9. Press enter
Page 44
www.happy.co.uk
www.happy.co.uk
Page 45
Example If Statements
The following example shows whether a person is still working or they are retired based on their
age:
As you can see in this example you can return text as a result so we can have Retired or Still
Working.
If the number sold is greater than 100 then take the salary and add the salary multiplied by 10%
(10%) otherwise just give the original salary.
Page 46
www.happy.co.uk
Formulae Result:
www.happy.co.uk
Page 47
The Structure
The structure of a COUNTIF always contains the same four elements.
For example, the spreadsheet above counts up how many computers are affordable. In Cells C6 to
C9 we are told whether the product is affordable or not. If it is affordable the cell says yes.
To make this COUNTIF function easier to understand the range is in italics and the criteria is
underlined.
=COUNTIF(C6:C9,yes)
This is the range of
cells Excel is to
look in.
Page 48
www.happy.co.uk
If the range B2 to B7 says Female then add up all of the salaries that correspond.
The answer for the Total Female Salaries = 79,000.
Criteria:
Sum Range:
www.happy.co.uk
Page 49
Nested Ifs
What are Nested ifs?
A Nested IF is exactly what it sounds like. An IF function nested inside another IF function.
The basic IF function only allows for two possible answers: either the logical test is met or it is not.
When we want more than these two basic answers then we need to nest the formula i.e. put one =IF
inside another.
An example:
The spreadsheet below shows the ages of a group of people. These people are to be put into a
category according to their age.
The categories are:
Under 25
25-44
45-65
Over 65
Completed Nested Ifs:
Formulae:
Page 50
www.happy.co.uk
The Structure
Although Nested Ifs may look nerve wracking, they are just a lot of single If functions strung
together. Before you try them, make sure you have the hang of single If functions.
The structure of nested ifs is always as follows:
In the example on the previous page, age categories had to be worked out using Nested Ifs. The
Age of all the people was held in Column C, starting with C2.
To make this nested if easier to understand the conditions are in italics and the true parts are
underlined.
The third
condition asks if
the age is over
24. If it is, Excel
returns the true
answer 25-45.
If all the
conditions
are false
then the
age must
be under
25.
www.happy.co.uk
Page 51
Page 52
www.happy.co.uk
Selecting sheets
Click on the Sheet tab you require
www.happy.co.uk
Page 53
Deleting a Worksheet
1. Right-click the Sheet tab you wish to delete
2. Click on Delete from the Shortcut menu
Re-naming a Sheet
1. Double-click on the Sheet tab you wish to rename
It will go black
Moving a sheet
Click and drag the sheet you require to its new location.
Page 54
www.happy.co.uk
Copying a sheet
1. Click on the Sheet tab of the Sheet that you wish to copy
www.happy.co.uk
Page 55
Page 56
www.happy.co.uk
Ungrouping Sheets
1. Right-click on any Sheet tab in the group
2. Select Ungroup from the menu
Or
Click on any Sheet tab that is not in the group
In this case B8
4. Press Enter
5. Ungroup the sheets
Happy Computers 020 7375 7300
www.happy.co.uk
Page 57
Name of workbook
which contains second
cell appears in square
brackets.
Name of spreadsheet
which contains
second cell appears
with ! sign
The
second
cell.
Data Consolidation
Data Consolidation by Label
Consolidation is the feature in Excel that allows you to merge data from specified files or
worksheets. There are various options in how the data is merged depending on what function you
choose e.g. SUM the data, find the AVERAGE of the data etc. Consolidation by label is not
dependent on the data being in the same position, it merges on the basis of the label or title of the
Page 58
www.happy.co.uk
data e.g. North. This allows for greater flexibility as it means the data can be in a different order
and position in each file.
Consolidating by Label
1. Make sure that you have all of the relevant files open
2. Go to the file where you wish to display the results
3. Select the area that you wish to display the results in, INCLUDING THE LABELS
www.happy.co.uk
Page 59
www.happy.co.uk
www.happy.co.uk
Page 61
6. Ctrl+V
7. Click on the Paste Option Smart tag (in the bottom right hand corner)
8. Select Excel Chart (Entire workbook)
Page 62
www.happy.co.uk
Excel as a Database
What is a Database?
A database is a collection of information, with the information arranged in a structured way.
Examples of paper based database systems include:
A card index
A filing system
A telephone directory
All of these systems are structured in a particular way. A telephone directory is arranged in
alphabetical order of surname. In addition the individual entries in a telephone directory are also
ordered. The surname is always first, then the first name or initials, then the address and telephone
number.
We can keep all of this information in an Excel spreadsheet or workbook, and we are then able to
sort and arrange the information with the click of a button.
Other advantages of keeping lists or databases in Excel are the ways in which information can be
filtered and analysed.
Databases in Excel
Databases in Excel are usually laid out as shown below. Note: there should be no completely
empty rows or columns in the database.
In the above example records are held in the rows of the spreadsheet.
www.happy.co.uk
Page 63
Freeze Panes
Often databases in Excel have headings at the top and/or down the side. This makes it a little bit
frustrating when you scroll across or down and can no longer see what you are talking about.
Freeze Panes solves this problem by sticking columns and rows down on the screen where you can
always see them.
Page 64
www.happy.co.uk
www.happy.co.uk
Page 65
Sorting
When you put your data in the list it appears in the order in which it is entered. Frequently you may
need to see it in a different order. To change the order you must sort the data.
1. Click on the Home tab
2. Click on the Sort & Filter button
3. Select Sort A to Z
Or
Select Sort Z to A
Page 66
www.happy.co.uk
Sorting by Rows
You may have built your list and organised it so that the Headings are in the first column instead of
across the top row as a Header row. In this case you may want to sort your data by rows.
1. Click on the Home tab
2. Click on the Sort & Filter button
www.happy.co.uk
Page 67
Custom Sorts
There are occasions when sorting in Ascending or Descending order is not actually what you
require. You may need to sort into Month or Days of the Week order.
1. Click on the Home tab
2. Click on the Sort & Filter button
Page 68
www.happy.co.uk
Auto-Filter
Filtering
A filter is used to select a subset of your list. This means that you can filter your list so that you can
see only the rows that meet your specific criteria.
Switching on AutoFilter
1. Click on the Home tab
2. Click on the Data tab
3. Select Filter
4. Click on the arrow by the heading to see what you can filter
out
5. Untick Select All
6. Now tick the criteria you want to see
7. Click OK
For example, in our table we only want to see the employees who work in the Technology
department.
Before filtering:
After filtering:
www.happy.co.uk
Page 69
Custom Filters
When to Use Custom Filters
Use a Custom Filter when:
www.happy.co.uk
9. Click OK
Wild cards * ?
You can use the ? and the * when you are not sure or if you want to find a group of
things in your list with certain criteria.
Use the ? to replace a single character in the same position. If the value you enter
is T?m you might get Tim or Tom.
Use the * to replace a group of characters in the same position so if you enter
New* you might get New Jersey or New York.
www.happy.co.uk
Page 71
5. Type a letter
For example, W
6. Click OK
Custom Filters
When to Use Custom Filters
Use a Custom Filter when:
Page 72
www.happy.co.uk
9. Click OK
5. Type a letter
6. Click OK
www.happy.co.uk
Page 73
Subtotals
When you are using databases that include long lists of figures that you wish to create totals from,
the Subtotal function is very useful. As well as creating a total of an entire list of figures (i.e. the
=SUM function) it also creates a series of Subtotals based on a criteria that you define. It is also
possible to then collapse and expand these Subtotals to see more or less detail which can be
invaluable when you are working with very large amounts of data.
Creating Subtotals
1. Click in a cell you wish to group the data by, for example,
Department
2. Click on the Data tab
3. Click on the relevant sort button
Page 74
www.happy.co.uk
7. Click OK
Outline
buttons
appear.
on these
number
icons
Click on the outline number icons at the top left of theClick
worksheet
to show
more
or to
less detail:
show different levels.
Level 1
www.happy.co.uk
Page 75
Level 2
Level 3
4. Click OK
Page 76
www.happy.co.uk
Analysing data
Analysing data
In previous versions of Excel you could create lists in your worksheet to group and analyse related
data.
After specifying a range the following will happen:
Every column in the list will have AutoFilter enabled by default in the header row that allows
you to quickly filter or sort your data.
A dark blue border will appear around your list to distinguish it from any surrounding data.
A total row can be added to your list. When you click on a cell within the total row, you can
pick from a drop-down of other functions e.g. Average
In Office 2007 / 2010, you can still do all of the above, but you have to change the style of your
data. All this means is applying one of the table styles to the data.
www.happy.co.uk
Page 77
The table
Auto filter is
enabled on any
column included in
the list.
Table style
Page 78
www.happy.co.uk
Appendix
Common keyboard shortcuts in Excel
CTRL + N
CTRL + O
CTRL + S
Save a workbook
CTRL + P
Print worksheet
CTRL + W
Close workbook
CTRL + A
CTRL + Home
Move to cell A1
Insert row/column
Delete row/column
Show/hide formulas
CTRL + F
CTRL + B
CTRL + I
CTRL + U
CTRL + Z
CTRL + Y
CTRL + X
Cut
CTRL + C
Copy
CTRL + V
Paste
F1
Help
F7
Check spelling
www.happy.co.uk
Page 79
Attempt made to divide by zero check the cells being used in the
formula have numbers in them.
#N/A!
Part of your formula is using a cell that does not have information in it,
or the information is not yet available.
#NAME?
There is some text in the formula that does not mean anything to Excel.
You may have a Range Name included in the formula that Excel does
not recognise.
#NULL!
Two areas do not intersect. You may have forgotten to include a comma
between two ranges of cells.
#NUM!
#REF!
One of the cells being used in the formula does not exist. It may have
been deleted after you created the formula.
#VALUE!
Page 80
www.happy.co.uk
4. Click OK
www.happy.co.uk
Page 81
Index
=sum ()
formula, 58
Absolute cell references, 30
creating, 31
Adding
with AutoSum, 24
AutoSum, 24, 38
Average, 39
Calculations
creating, 26
Chart
copying to Word as a chart, 63
copying to Word as a picture, 63
Column Width, 19
Columns
deleting, 19
inserting, 18
Conditional Formatting, 40
Consolidation, 60
By position, 60
Constants, 30
Copy, 20
Copying
formulae, 29
with drag and drop, 22
worksheets, 56
Count, 39
CountIF, 49
Custom Filter, 72, 74
using, 72, 74
Cut, 20
Data
Sorting using the Menus, 68
Database
using Excel as, 65
Deleting
columns, 19
Page 82
Range Names, 33
rows, 19
DIV/O!, 82
Error Messages, 82
Excel
starting, 8
F4, 30
Formulae, 25
copying, 29
creating across sheets, 57
creating across workbooks, 60
Formulas
creating, 26
Freeze Panes, 66
Function
inserting, 38
Functions
CountIf, 49
IF, 45
Grouping
worksheets, 58
IF Functions, 45
Inserting
basic functions, 38
Keyboard
moving around, 12
to select cells, 15
Minimum, 39
Mistakes, 13
Mouse
keeps changing shape, 11
Moving
using drag and drop, 22
N/A!, 82
NAME?, 82
Nested Ifs, 52
New
www.happy.co.uk
NULL!, 82
NUM!, 82
Office Clipboard, 21
displaying, 21
Paste, 20
Pasting
using Smart tags, 63
with a link, 62
without a link, 62
Printing
repeat headers, 66
Protecting
worksheets, 34
Range Names
creating, 82
creating from a list, 82
deleting, 33
Redo, 13
REF!, 82
Re-naming
worksheets, 56
Rows
deleting, 19
inserting, 18
Selecting
areas not next to each other, 15
with the keyboard, 15
Smart Tags, 8
Sorting, 68
by rows, 69
Custom Sorts, 70
using the menu, 68
Spreadsheet
selecting, 15
Spreadsheet Design, 24
Subtotals, 76
Removing, 78
Showing different levels, 77
SUMIF, 51
Text
copying, 22
moving, 22
Undo, 13
Ungrouping
worksheets, 59
Unprotecting
worksheet, 35, 36
VALUE!, 82
Worksheets
coloured tabs, 57
copying, 56
grouping, 58
inserting new, 56
moving through, 55
re-naming, 56
selecting, 55
ungrouping, 59
unprotecting, 35, 36
working with several, 55
www.happy.co.uk
Page 83