Excel Tutorial
Excel Tutorial
Excel Introduction
What is Excel?
Excel is pronounced "Eks - sel"
It is a spreadsheet program developed by Microsoft. Excel organizes data
in columns and rows and allows you to do mathematical functions. It runs
on Windows, macOS, Android and iOS.
The first version was released in 1985 and has gone through several
changes over the years. However, the main functionality mostly remains
the same.
Excel is typically used for:
Analysis
Data entry
Data management
Accounting
Budgeting
Data analysis
Visuals and graphs
Programming
Financial modelling
And much, much more!
Install
Once you have successfully logged into Office through www.office.com,
click on the Excel icon on the left side to enter the application:
After entering the Excel application, click on the New blank workbook
button to get started with a new workbook.
Enter a name for your workbook, and hit the enter button:
The Excel view has columns and rows, similar to a squared math exercise
book.
Do not worry if the functionality looks overwhelming at first. You will get
comfortable as you learn more in the chapters to come.
For now, focus on the rows, columns, and the cells.
Ok. Let's make a function!
First, double click the cell A1, the one that is marked with the green
rectangle in the picture.
Second, type =1+1
Third, hit the enter button:
Congratulations! You have typed your first function, 1+1=2.
Excel Overview
Overview
This chapter is about giving you an overview of Excel. Excel's structure is
made of two pieces, the Ribbon and the Sheet.
Have a look at the picture below. The Ribbon is marked with a red
rectangle and the Sheet is marked with a yellow rectangle:
App launcher
The App launcher icon has nine dots and is called the Office 365
navigation bar. It allows you to access the different parts of the Office 365
suite, such as Word, PowerPoint and Outlook. App launcher can be used to
switch seamlessly between the Office 365 applications.
Tabs
The tab is a menu with sub divisions sorted into groups. The tabs allow
users to quickly navigate between options of menus which display
different groups of functionalities.
Groups
The groups are sets of related commands. The groups are separated by
the thin vertical line break.
Commands
The commands are the buttons that you use to do actions.
Now, let's have a look at the Sheet. Soon you will be able to understand
the relationship between the Ribbon and the Sheet, and you can make
things happen.
Each cell has its unique reference, which is its coordinates, this is where
the columns and rows intersect.
Another way to find the reference is to first find the column, in this
case C, then map that towards the row, in this case 4, which gives us the
reference of C4.
Note: The reference of the cell is its coordinates. For example, C4 has the
coordinates of column C and row 4. You find the cell in the intersection of
the two. The letter is always the column and the number is always the
row.
Multiple Sheets
You start with one Sheet by default when you create a new workbook.
You can have many sheets in a workbook. New sheets can be added and
removed. Sheets can be named to making it easier to work with data
sets.
Are you up for the challenge? Let's create two new sheets and give
them useful names.
First, click the plus icon, shown in the picture below, create two new
sheets:
Tip: You can use the hotkey Shift + F11 to create new sheets. Try it!
Second, right click with your mouse on the relevant sheet and click
rename:
Third, enter useful names for the three sheets:
Chapter Summary
The workbook has two main components: the Ribbon and the Sheet.
The Ribbon is used to navigate and access commands.
The Sheet is made up of columns and rows, which make cells.
Each cell has its unique reference. You can add new sheets to your
workbook and name them.
In the next chapters you will learn more about the sheet, formulas, ranges
and functions.
Excel Syntax
Syntax
A formula in Excel is used to do mathematical calculations. Formulas
always start with the equal sign = typed in the cell, followed by your
calculation.
Note: You claim the cell by selecting it and typing the equal sign (=)
The result after hitting the enter button is C1(274) Did you make it?
Another Example
Let's try one more example, this time let's make the formula =A2-B1.
Note: You can make formulas with all four arithmetic operations, such as
addition (+), subtraction (-), multiplication (*) and division (/).
Selecting a Cell
Cells are selected by clicking them with the left mouse button or by
navigating to them with the keyboard arrows.
It is easiest to use the mouse to select cells.
To select cell A1, click on it:
Selecting a Row
Rows are selected by left clicking it. This will select all the cells in the
sheet related to that row.
To select row 1, click on its number in the row bar:
Selection of Ranges
Selection of cell ranges has many use areas and it is one of the most
important concepts of Excel. Do not think too much about how it is used
with values. You will learn about this in a later chapter. For now, let's focus
on how to select ranges.
There are two ways to select a range of cells
1. Name Box
2. Drag to mark a range.
The easiest way is drag and mark. Let's keep it simple and start there.
Note: You will learn about why the range is called A1:E10 after this
example.
Press and hold A1 with the left mouse button. Move to the mouse pointer
to mark the selection range. The grey area helps us to see the covered
range.
Let go of the left mouse button when you have marked the range A1:E10:
You have successfully selected the range A1:E10. Well done!
The second way to select a range is to enter the range values in the
Name Box. The range is set by first entering the cell reference for the top
left corner, then the bottom right corner. The range is made using those
two as coordinates. That is why the cell range has the reference of two
cells and the: in between.
The best way for now is to use the drag and mark method as it is easier
and more visual.
In the next chapter you will learn about filling and how this applies to the
ranges that we have just learned.
Excel Fill
Filling
Filling makes your life easier and is used to fill ranges with values, so that
you do not have to type manual entries.
Filling can be used for:
Copying
Sequences
Dates
Functions (*)
For now, do not think of functions. We will cover that in a later chapter.
How To Fill
Filling is done by selecting a cell, clicking the fill icon and selecting the
range using drag and mark while holding the left mouse button down.
The fill icon is found in the bottom right corner of the cell and has the icon
of a small square. Once you hover over it your mouse pointer will change
its icon to a thin cross.
Click the fill icon and hold down the left mouse button, drag and mark the
range that you want to cover.
In this example, cell A1 was selected and the range A1:A10 was marked.
Now that we have learned how to fill. Let's look into how to copy with the
fill function.
Fill Copies
Filling can be used for copying. It can be used for both numbers and
words.
Let's have a look at numbers first.
In this example we have typed the value A1(1):
Now you have learned how to fill and to use it for copying both numbers
and words. Let's have a look at sequences.
Fill Sequences
Filling can be used to create sequences. A sequence is an order or a
pattern. We can use the filling function to continue the order that has
been set.
Sequences can for example be used on numbers and dates.
Let's start with learning how to count from 1 to 10.
This is different from the last example because this time we do not want
to copy, but to count from 1 to 10.
First, we will show an example which does not work, then we will do a
working one. Ready?
Let’s type the value (1) into the cell A2, which is what we have in A1. Now
we have the same values in both A1 and A2.
Let's use the fill function from A1:A10 to see what happens. Remember
to mark both values before you fill the range.
What happened is that we got the same values as we did with copying.
This is because the fill function assumes that we want to create copies as
we had two of the same values in both the cells A1(1) and A2(1).
Change the value of A2(1) to A2(2). We now have two different values in
the cells A1(1) and A2(2). Now, fill A1:A10 again. Remember to mark both
the values (holding down shift) before you fill the range:
Congratulations! You have now counted from 1 to 10.
The fill function understands the pattern typed in the cells and continues
it for us.
That is why it created copies when we had entered the value (1) in both
cells, as it saw no pattern. When we entered (1) and (2) in the cells it was
able to understand the pattern and that the next cell A3 should be (3).
Sequence of Dates
The fill function can also be used to fill dates.
The result is that it counts from A1(Hello 1) to A10(Hello 10) Only the
numbers have changed.
It recognised the pattern of the numbers and continued it for us. Words
and numbers can be combined, as long as you use a recognizable pattern
for the numbers.
Note: For the double click to work it has to see a recognizable pattern.
For example: by using headers, or with the formulas in the columns or
rows next to the data.
A Non-Working Example
Delete values in the range D1:D20
Enter the formula "=B2+C2" in E2
Note: There is no header for Columns D and E. There are blank cells in
between.
There we go! The function recognised the pattern and filled in the
formulas for each row.
Let's go ahead and give the data more context. Type or copy the following
values:
Yes, that is right, we are looking at Pokémon’s! Giving context to the data
is always helpful.
Next, let’s see how we can move data by using cut and paste.
Tip: You can cut using the hotkey CTRL+X and paste by CTRL+V. This
saves you time.
Right click the paste destination A1 and left click the paste icon:
The difference between cutting and copying, is that cutting removes the
originals, while copying leaves the originals.
Next, let's delete the original data and keep the data in the A1:C5 range.
Delete Data
Select the original cells and remove them by pressing the "Delete" button
on the keyboard:
Note: The delete function will not delete the formatting of the cell, just
the value inside of it.
Example 1
Pressing the delete button:
Example 2
Example 3
With formatting:
Note: You cannot Undo things that you do in the File Menu, such as
deleting a sheet, saving a spreadsheet or changing the options. The
thumb rule is that you can Undo things you do in your sheet.
Redo
The Redo function has the opposite effect as Undo; it reverses the Undo
action.
Redo is helpful if you regret using Undo.
Note: The Redo command is only available if you have used Undo.
Excel Formulas
Formulas
A formula in Excel is used to do mathematical calculations. Formulas
always start with the equal sign (=) typed in the cell, followed by your
calculation.
Formulas can be used for calculations such as:
=1+1
=2*2
=4/2=2
It can also be used to calculate values using cells as input.
Let's have a look at an example.
Type or copy the following values:
Now we want to do a calculation with those values.
Step by step:
1. Select C1 and type (=)
2. Left click A1
3. Type (+)
4. Left click A2
5. Press enter
3
You got it! You have successfully calculated A1(2) + A2(4) = C1(6).
Note: Using cells to make calculations is an important part of Excel and
you will use this a lot as you learn.
Let's help Iva to count her Poke balls. You find Iva in A2(Iva). The values
in row 2 B2(2), C2(3), D2(1) belong to her.
Did you get the value E2(6)? Good job! You have helped Iva to count her
Poke balls.
Now, let's help Liam and Adora with counting theirs.
Do you remember the fill function that we learned about earlier? It can
be used to continue calculations sidewards, downwards and upwards.
Let's try it!
Let’s use the fill function to continue the formula, step by step:
1. Select E2
2. Fill E2:E4
That is cool, right? The fill function continued the calculation that you
used for Iva and was able to understand that you wanted to count the
cells in the next rows as well.
Now we have counted the Poke balls for all three; Iva (6), Liam (12) and
Adora (15).
Let's see how many Poke balls Iva, Liam and Adora have in total.
The total is called SUM in Excel.
There are two ways to calculate the SUM.
Adding cells
SUM function
Excel has many pre-made functions available for you to use.
The SUM function is one of the most used ones. You will learn more about
functions in a later chapter.
Let's try both approaches.
Note: You can navigate to the cells with your keyboard arrows instead of
left clicking them. Try it!
The value in cell B2 was changed from 2 to 7. Notice that the formulas are
doing calculations when we change the value in the cells, and the SUM is
updated from 33 to 38. It allows us to change values that are used by the
formulas, and the calculations remain.
Chapter Summary
Values used in formulas can be typed directly and by using cells. The
formula updates the result if you change the value of cells, which is used
in the formula. The fill function can be used to continue your formulas
upwards, downwards and sidewards. Excel has pre-built functions, such
as SUM.
In the next chapter you will learn about relative and absolute references.
Relative reference
References are relative by default, and are without dollar sign ($).
The relative reference makes the cells reference free. It gives the fill
function freedom to continue the order without restrictions.
Let's have a look at a relative reference example, helping the Pokémon
trainers to count their Poke balls (B2:B7) and Great balls (C2:C7).
The result is: D2(5):
A Non-Working Example
Let's try an example that will not work.
Fill D2:G2, filling to the right instead of downwards. Resulting in strange
numbers:
Have a look at the formulas.
Data explained
There are 6 trainers: Iva, Liam, Adora, Jenny, Iben and Kasper.
They have different amount of Poke balls each in their shop cart
The price per Poke ball is 2 coins
Step by step:
1. Type C1(=)
2. Select B1
3. Type dollar sign before column and row $B$1
4. Type (+)
5. Select A1
6. Hit enter
7. Fill the range C1:C10
Great! You have successfully used absolute reference to add B1(5) with
the range A1:A10.
You can add more cells to the formula by typing (-) between the cells.
Let's have a look at some examples.
Step by step:
1. Type B1(=)
2. Select A1
3. Type (-)
4. Select A2
5. Type (-)
6. Select A3
7. Type (-)
8. Select A4
9. Type (-)
10. Select A5
11. Hit enter
Step by step:
1. Type C1(=)
2. Select A1
3. Type (-)
4. Select B1 and type dollar sign before column and row $B$1
5. Hit enter
6. Fill C1:C10
You got it! You have successfully used absolute reference to
subtract B1(5) from the minuend range A1:A10.
Excel Multiplication Operator
Multiplication Operator
Multiplication uses the * symbol in Excel.
How to multiply cells:
1. Select a cell and type (=)
2. Select a cell
3. Type (*)
4. Select another cell
5. Hit enter
You can add more cells to formula by typing (*) between the cells.
Let's have a look at some examples.
Step by step:
1. Type A3(=)
2. Select A1
3. Type (*)
4. Select A2
5. Hit enter
Multiplying Using Absolute Reference
You can lock a cell and multiply it with other cells.
Step by step:
1. Type C1(=)
3. Type (*)
4. Select A1
5. Hit enter
6. Fill C1:C10
You got it! You have successfully used absolute reference to
multiply B1(5) with the range A1:A10.
Step by step:
1. Type A3(=)
2. Select A1
3. Type (/)
4. Select A2
5. Hit enter
Dividing Using Absolute Reference
You can lock a cell and divide it with other cells.
3. Type (/)
4. Select the divisor lock and add two-dollar signs ($) before the
column and row
5. Hit enter
1. Type C1(=)
2. Select A1
3. Type (/)
5. Hit enter
6. Fill C1:C10
Good job! You have successfully used absolute reference to
divide B1(5) with the range A1:A10.
Excel Parentheses
Parentheses
Parentheses () is used to change the order of an operation.
Using parentheses makes Excel do the calculation for the numbers inside
the parentheses first, before calculating the rest of the formula.
Parentheses are added by typing () on both sides of numbers, like (1+2).
Examples
No parentheses
=10+5*2
With parentheses
=(10+5)*2
=(10+5)+(2*4)+(4/2)
Without Parentheses
The result is 17, the calculation is 2+15. It uses 15 because 3*5=15.
With One Parentheses
The result is 25, the calculation is 5*5. It uses 5 because it has calculated
numbers inside the parentheses (2+3)=5 first.
Nesting Parentheses
When using more advanced formulas you may need to nest parentheses.
You can look at this like an onion, which has many layers. Excel will
calculate the numbers inside the parentheses first, layer by layer, starting
Example no nesting
=2*2+3*4+5*5*2
Example nesting
=((2*2)+(3*4)+(5*5))*2
Nesting creates layers like an onion. You can have many layers. This
example uses two, the inner and outer layers.
It starts with calculating the numbers in the inner layer:
1. =((2*2)+(3*4)+(5*5))*2
2. =((4)+(12)+25))*2 Calculates the inner layer
3. =(41)*2 Calculates the outer layer
4. 82
Chapter Summary
Parentheses can be used to change the order of an operation. The
numbers inside the parentheses gets calculated first. A formula can have
sets of parentheses. More advanced formulas can use nesting to create
layers of operations, like an onion. It calculates the inner layer first, then
the next, and so on.
Excel Functions
Functions
Excel has many premade formulas, called functions.
Functions are typed by = and the functions name.
For example =SUM
Once you have typed the function name you need to apply it to a range.
For example =SUM(A1:A5)
The range is always inside of parentheses.