Excel Tutorial 2022 RMS

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 36

Welcome to this Excel tutorial!

Before we start, I'll quickly explain something about excel and

When you open an excel document, you will see a page with
The rectangles are called cells. They are organized in columns
and the rows have a number.

Every cell is a combination of a row-number and a column-lett

You can enter numbers or text in every cell, just by starting ty


=
the material you entered in the cells by starting with a sign

When you select a cell, in the right bottom corner there is a g


it, the cross will turn black.

You can then click + hold and extend the selected cells horizo
selected contains numbers or formulas, excel will apply the sa
you will add to your selection
A couple of useful shortkeys are (these will make your life mu
Tab
Tab + shift
shift + arrow
ctrl + arrow
ctrl + shift + arrow

you can also refer to multiple cells using ":" for example =B21
That's easier than typing =B21; B22; B23; B24; B25

At the bottom of the screen you see what are called sheets. Y
plus sign as seen in the picture.

Click on the formulas tab to check out some of the functions o


The Exercises sheets contain exercises with the formulas in ex
Good luck making these exercises! Some are easy, some ma
right, ask the internet, it has ALL answers! "how do i get stan
"#N/A" mean in excel"
First version created by Toon Renssen, october 2022
move a cell to the right
move a cell to the left
extend selected cells in direction of the arrow
Jump to the next empty cell in the direction of the arrow
select cells until the next empty cell
questions, remarks or applause? --> [email protected]
arrow
tion of the arrow
1 Excel has functions to do many things: calculate new numbers, descr
The following is a list of functions that will be useful for the course. Y

2 A function is initiated by typing the = sign in a cell. A function might c


The arguments are given also in the list below. An argument can be a
a logical statement, or another formula, or text (which is called a stri

3 You can also (and should!) combine formulas in one statement. If yo


4 If you do start typing your formulas, a pop-up will appear, you can pr
5 Excel has a very helpful help menu for formulas. When you have type

function what does it do

Arithmatic
+ add numbers together
- subtract numbers
* multiply numbers
/ divide numbers
^ power function

Descriptives
=sum() gives the sum of a set of numbers
=median() gives the median of a set of numbers
=average() gives the average of a set of numbers
=count() gives the amount of numerical values
=sqrt() gives the square root of a number
=stdev.s() gives the standard deviation of a set of numbe
=max() gives the heighest value in a set of numbers
=min() gives the lowest value in a set of numbers

Logical
> larger than
< smaller than
<= smaller or equal to
>= larger or equal to
<> unequal to
= equal to
=and() checks if multiple statements are true
=or() checks if one of multiple statement is true

Statistical
=norm.dist() gives the probability for any value for a mean a
=norm.inv() gives the value associated with a probability fo
=norm.s.dist() gives the probability for any z-value
=norm.s.inv() gives the z-value based on a certain probability
=t.dist() gives the left tail probability
=t.dist.rt() gives the right tail t probability = 1-t.dist()
=t.dist.2t() gives the two tailed t probability
=t.inv() gives the probability for a left tail t value
=t.inv.2t() gives the probability for a two tailed t value
=confidence.t() gives the margin of error using a T distribution
=confidence.norm() gives the margin of error using a normal distrib
=correl() gives the correlation coeficient of two sets of n
=rsq() gives the R-squared of two sets of numbers

Conditional
=if() does one of two things based on whether or n
=ifs() checks multiple statements and follows the fir
=sumif() takes the sum of the numbers that meet a crit
=sumifs() takes the sum of the numbers that meet multi
=averageif() gives the mean of the numbers that meet a cri
=averageifs() gives the mean of the numbers that meet multi
=countif() counts the number of observations that meet
=countifs() counts the number of observations that meet

Other
=round() rounds a number to a specified number of dec
=roundup() rounds a number up to a certain number of de
=rounddown() rounds a number down to a certain number of
=mround() rounds a number to a specified value or it's ne

=abs() gives the absolute value of a number, whether


new numbers, descriptive statistics, check if certain hypotheses are true, data transformatio
eful for the course. You can also scroll through the formula tab on the top of the screen.

ell. A function might contain 1 or more arguments. You'll learn to work with that in the follow
An argument can be a number, a reference (i.e. a cell that contains a information),
(which is called a string).

one statement. If you do this, only put the = sign at the very beginning, not in front of every
ill appear, you can press the tab buttion to select the suggested formula.
. When you have typed the opening parenthesis (e.g. "=SUM("), click on the name of the form

Arguments

numbers 2 or more numbers


of numbers 2 or more numbers
of numbers 2 or more numbers
erical values 2 or more numbers
number 1 number
on of a set of numbers 2 or more numbers
n a set of numbers 2 or more numbers
a set of numbers 2 or more numbers

2 numbers
2 numbers
2 numbers
2 numbers
2 numbers
2 numbers
ents are true 2 or more numbers or logical state
statement is true 2 or more numbers or logical state

ny value for a mean and standard deviation value, mean, standard deviation, c
d with a probability for a mean and standard deviation probability between 0 and 1, mean
ny z-value z-value, cumulative = TRUE (alway
n a certain probability probability between 0 and 1
t-value, degrees of freedom, cumu
bility = 1-t.dist() t-value, degrees of freedom, cumu
t-value, degrees of freedom, cumu
left tail t value probability between 0 and 1, degr
two tailed t value probability between 0 and 1, degr
using a T distribution significance level, standard deviati
using a normal distribution significance level, standard deviati
ficient of two sets of numbers two sets of data
o sets of numbers two sets of data

ased on whether or not a logical statement is true logical statement, what to do if tru
ts and follows the first one that is true logical statement 1, what to do if t
bers that meet a criterion list of numbers, criterion for which
bers that meet multiple criteria sum range, range for criterion 1, c
mbers that meet a criterion list of numbers, criterion for which
mbers that meet multiple criteria averaging range, range for criterio
ervations that meet a criterion list of numbers, criterion when to
ervations that meet multiple criteria counting range, range for criterion

cified number of decimals number, number of decimals


certain number of decimals number, number of decimals
o a certain number of decimals number, number of decimals
cified value or it's nearest multiple number, value to round towards (o

of a number, whether it's negative or positive number


ata transformations etc.
f the screen.

that in the following pages.

in front of every formula. See also the examples below!

name of the formula in the pop-up to open the help menu.

Examples

=A1+B2 | =1+2
=A1-B2 | =1-2
=A1*B2 | =1*2
=A1/B2 | =1/2
=A1^2 | =2^5 | =A1^B2

=SUM(1; 2; 3; 4) | =SUM(A1; A2;


=MEDIAN(A1; A2; A3; A4) | =ME
=AVERAGE(A1; A2; A3; A4) | =AV
=COUNT(A1; A2; A3; A4) | =COU
=SQRT(25) | =SQRT(A5)
=STDEV.S(1; 3; 5; 2; 6) | =STDEV.
=MAX(1;3;5;6;100) | =MAX(A1:B
=MIN(1;3;5;-6;100) | =MIN(A1:B

=2>4
=A1<5
=A1/4<=B5^AVERAGE(A1:B5)
=SUM(A1;A2;A3)>=SUM(B1:B3)
=5<>4
=2=9
rs or logical statements =AND(2<>3;2<3)
rs or logical statements =OR(2>5;2>3)

dard deviation, cumulative = TRUE (always in our cases) =NORM.DIST(5; 3.2; 0.1;TRUE)
en 0 and 1, mean, standard deviation =NORM.INV(0.01; A1; A2)
ve = TRUE (always in our cases) =NORM.S.DIST(-2; TRUE) | =NOR
en 0 and 1 =NORM.S.INV(0.025) | =NORM.S
of freedom, cumulative = TRUE (always in our cases) =T.DIST(2;20;TRUE)
of freedom, cumulative = TRUE (always in our cases) =T.DIST.RT(2;20)
of freedom, cumulative = TRUE (always in our cases) =T.DIST.2T(2;20)
en 0 and 1, degrees of freedom =T.INV(0.025;20)
en 0 and 1, degrees of freedom =T.INV.2T(0.05;20)
standard deviation, sample size =CONFIDENCE.T(0.05;5;20)
standard deviation, sample size =CONFIDENCE.NORM(0.05;5;20)
=CORREL(A1:A5; B1:B5)
=RSQ(A1:A5;B1:B5)

, what to do if true, what to do if false =IF(5>2;"yes";"no") | =IF(5>2;5;"


1, what to do if true, logical statement 2, etc. =IFS(A1>=90; "A"; A1>= 80; "A-";
riterion for which numbers to sum =SUMIF(A1:A5;"<4")
for criterion 1, criterion 1, range for criterion 2 etc. =SUMIFS(A1:A5;B1:B5;"Jerry";C1
riterion for which numbers to take average =AVERAGEIF(A1:A5;"<4")
range for criterion 1, criterion 1, range for criterion 2 etc. =AVERAGEIFS(A1:A5;B1:B5;"Jerr
riterion when to count =COUNTIF(A1:A5;"<4")| =COUNT
ange for criterion 1, criterion 1, range for criterion 2 etc. =COUNTIFS(A1:A5;B1:B5;"Jerry";

of decimals =ROUND(3.14159265358979; 2)
of decimals =ROUNDUP(3.14159265358979;
of decimals =ROUNDDOWN(3.141592653589
round towards (or it's multiple) =MROUND(7.74;0.5)

=ABS(-0.042)
| =A1^B2

4) | =SUM(A1; A2; A3; A4) | =SUM(A1:A4)


A2; A3; A4) | =MEDIAN(A1:A4)
; A2; A3; A4) | =AVERAGE(A1:A4)
A2; A3; A4) | =COUNT(A1:A4)
SQRT(A5)
; 5; 2; 6) | =STDEV.S(AB22:AB31)
;100) | =MAX(A1:B5)
;100) | =MIN(A1:B5)

VERAGE(A1:B5)
A3)>=SUM(B1:B3)

5; 3.2; 0.1;TRUE)
.01; A1; A2)
T(-2; TRUE) | =NORM.S.DIST((5-AVERAGE(A1:A5)/((STDEV.S(A1:A5)/SQRT(COUNT(A1:A5)))
(0.025) | =NORM.S.INV(0.05/2)

.T(0.05;5;20)
.NORM(0.05;5;20)
A5; B1:B5)

"no") | =IF(5>2;5;"") | =IF(A1>A2;A1;A2)


"A"; A1>= 80; "A-"; A1>=70; "B")

A5;B1:B5;"Jerry";C1:C5;"income tax")
A1:A5;"<4")
(A1:A5;B1:B5;"Jerry";C1:C5;"income tax")
:A5;"<4")| =COUNTIF(A1:A5; 4) | =COUNTIF(A1:A5; "<" & B1)
1:A5;B1:B5;"Jerry";C1:C5;"income tax")

159265358979; 2)
.14159265358979; 2)
N(3.14159265358979; 3)
5)/SQRT(COUNT(A1:A5)))
if comparing to another cell value you need to format like this; this goes for all ope
*
In the following exercises you will go through the functions gradually increasing
in difficulty. Use excel functions rather than doing these by heart or external
calculator.

Basic calculations
456 times 3121
4 divided by 73
78 by the power of 3
75 + 42 - 65, then divided by 4

Add C12, D12, E12, F12


D13 by the power of D12
401 added to F12, then divided by the product of C12, D12 and F12

what is the sum of 1, 5, 8, 9, 12, 5, 4, 3, 7?


What is the sum of the numbers in C17 to G17?
What is the sum of the numbers in C17 to G18 plus those in C18 to G18?

give the square root of 625


give the square root of 7+24
give the square root of the sum of C12, C17 and C18

what is the mean of all numbers from C12 to G24?


And what is the median?
Count the total of numerical values in C12 to G24
What is the heighest number in C21 to G24?
And the lowest?
What is the standard deviation of these numbers?
Check whether C21 is larger than C24
Check whether C22 is equal to G24
Check whether C22 is unequal to G24
Is C22 larger or equal to G24?
Is C22 smaller or equal to G24?

if C22 is smaller than G24, then print "yes", else print "no"
what is the absolute value of E21?
round E18 up to 1 decimal
round 9.249 up to a multiple of 0.5
9 0.51 3.999 14 5.021
812

3 5.08 4.2 7.92 42.2


5 0.024 89.52 1.402 3.2

-74 281 -38 -39 137


40 -31 244 262 201
261 59 -20 143 245
6.2 8.091 70.1 62 43
Fill in answers below
Enter statement
Enter statement
Enter statement
Enter statement
Enter statement
In the following exercises you will use combinations of functions in a single statement.
well!

Compound computations
What is the sum of C8 to G8 divided by the average of C8 to G8?
What is the squareroot of the average of C9 to C17?
Give the st. deviation of C8 to C17 divided by the square root of the total number of ob
Give s/√n for all values in C8 to G17?
Give the sum of the averages of each row for 8 to 12
Give the average of all the smallest values of each column for D to F
Is E13 smaller than C8 and F12?
Is the average of C8 to C17 larger than either the average of D8 to D17 or the average o
Is C16 lower than both F9 and F15 or is C8 lower than both D9 and E8?
if C17 is larger than 200, then take the sum of D8 to D17, else take the average of D8 to
count only the values in C8 to G17 larger than 200
take the average of the values in C8 to G17 that are both smaller than 300 and larger th
316 116 324 335 81
350 63 77 11 85
384 59 46 367 185
288 294 366 172 397
292 354 282 236 34
131 215 183 162 333
255 272 194 269 134
226 172 294 294 159
8 191 94 232 94
168 214 149 59 276
Fill in answers below
lengths of men and women
participant number Men Women
1 193 173
2 173 165
3 198 140
4 189 163
5 184 174
6 175 177
7 185 157

8 183 168

9 194 158

10 187 171

11 167 157
12 185 168

13 197 180

14 187 160
15 166 170

16 180 169
17 179 180
18 188 162
19 182 165
20 169 156
21 195 176
22 185 158
23 179 167
24 189 183
25 177 165
26 186 173
27 169 154
28 183 167
29 184 158
30 191 148
31 167 157
32 185 168
33 197 180
34 187 160
35 166 170
36 180 169
calculate mean
calculate sum
calculate N
calculate standard deviation

what is the probability of finding a value lower than 170?


what is the probability of finding a value larger than 180?
the population mean for Spanish men is 176.06 and the standard deviation is 8. For
women its 166.02 and 6.42 as a standard deviation. What is the probability of
finding a sample mean larger than of this sample?
the population mean for Dutch men is 183.78 and the standard deviation is 9.2.
For women its 174.54 and 5.49 as a standard deviation. What is the probability of
finding a sample mean smaller than of this sample?
Assume this is a sample taken from an unknown population. What would the
standard error be in that case?
give lower boundary z values associated with 5% and 2.5% probabilities
give the margin of error for a 95% confidence level given that the population
parameters are unknown.
How would this margin of error change if the sample consisted of only the 15 first
participants?
What would the result be if you used a z-distribution?
calculate the required sample size for a margin of error half the size, for a 96.5%
confidence level, use the standard deviation of the sample as an educated guess.
Round up to whole numbers.
Men Women

You might also like