Spreadsheet Functionality Template
Spreadsheet Functionality Template
=Average(Data)
=Average(data) to calculate the average of a set of numbers. The numbers can be in a row, a column, a block, or even spread over mult
locations. Simply point to the numbers and the function will calculate the average.
Questions
1 Average of January and March
2 Average of January
3 Average of March
4 Total Average
a block, or even spread over multiple
Contract Division Value £
1 D 8,949
2 A 1,596
3 D 4,674
4 A 4,256
5 B 5,137
6 C 6,318
7 A 3,181
8 D 4,366 =Countif(Range, Criteria)
9 D 6,467
10 D 7,041 Range Where do you want to look for the test criteria
11 C 5,563 Criteria What are you looking for
12 B 4,252
13 B 3,248
14 D 8,256
15 C 2,813
16 B 2,060
17 A 3,316
18 C 5,796
19 B 5,330
20 C 1,153
=Countif(Range, Criteria) to count how many times a particular event occurs in a set of data. Range is where
you want to look, and Criteria is what you are looking for.
Questions
1 Count D
2 Count A
3 Count A & D
the test criteria
ange is where
Contract Division Product
1 D Food
2 A Food
3 D Food D Non food 3
4 A Non food
5 B Non food
6 C Food
7 A Non food
8 D Food =Countifs(Criteria range 1, Criteria 1, Criteria range 2, Criteria 2...)
9 D Non food
10 D Non food Criteria range Where do you want to look for the test criteria
11 C Non food Criteria What are you looking for
12 B Food
13 B Food
14 D Non food
15 C Food
16 B Food
17 A Food
18 C Non food
19 B Non food
20 C Food
=Countifs(Criteria range 1, Criteria 1, Criteria range 2, Criteria 2...) to count how many times multiple criteria
occur in a set of data. Criteria range is where you are looking and Criteria is what you are looking for. You can
apply multple Ranges and Criteria and the function will calculate how many times all criteria are satisfied.
Questions
1 Count D non food
2 Count A, Food
3 Count A, non-food and D, non-food
nge 2, Criteria 2...)
ultiple criteria
ng for. You can
Contract Value Commission Commission
£ £ rate
1 8,949 895 6,000 Below 5.0%
2 1,000 50 Above or = 10.0%
3 4,674 234
4 4,256 213
5 5,137 257
6 10,000 1,000
7 3,181 159
8 4,366 218 =If(logical test, value if true, value if false)
9 6,467 647
10 7,041 704 Logical test A statement which can be either true or false
11 5,563 278 Value if true What we want to see if the statement is true
12 4,252 213 Value if false What we want to see if the statement is false
13 3,248 162
14 8,256 826
15 2,813 141
16 2,060 103
17 3,316 166
18 5,796 290
19 5,330 267
20 1,153 58
=If(logical test, value if true, value if false) to return one of two different outputs depending on the outcome
of a particular true/false test. Logical test is a statement which can be either true or flase, followed by the
outcome if true, and the outcome if false, separated by commas
Questions
Ture if1value above 6,000, print ''value" or "false"
Ture if commision 2
rate above 5%, print ''above 5%" and "commision rate"
Contract Value Commission
Answer
£ £
1 8,949 895
2 1,000 50
3 4,674 234
4 4,256 213
5 5,137 257
6 10,000 1,000
7 3,181 159
8 4,366 218
9 6,467 647
10 7,041 704
11 5,563 278
12 4,252 213
13 3,248 162
14 8,256 826
15 2,813 141
16 2,060 103
17 3,316 166
18 5,796 290
19 5,330 267
20 1,153 58
on the outcome
llowed by the
Revenue Costs Profit Margin
Business Unit £ £ £ %
=Sum(values) to add up a set of numbers. Simply point to the numbers to add them up.
Questions
1 Sum of revenue
2 Sum of Cost
3 Sum of profit
bers you want to sum
Contract Division Value £
1 D 8,949
2 A 1,596
3 D 4,674
4 A 4,256
5 B 5,137
6 C 6,318
7 A 3,181
8 D 4,366 =Sumif(Range, Criteria, SumRange)
9 D 6,467
10 D 7,041 Range Where do you want to look for the test criteria
11 C 5,563 Criteria What are you looking for
12 B 4,252 SumRange Which numbers do you want to add up
13 B 3,248
14 D 8,256
15 C 2,813
16 B 2,060
17 A 3,316
18 C 5,796
19 B 5,330
20 C 1,153
=Sumif(Range, Criteria, SumRange) to add up numbers if a certain test is passed. Range if where you
want to look, Criteria is what are you looking for and SumRange is the range of numbers you want to
add up.
Questions
1 Sum of D
2 Sum of A
3 Sum of B&C
the test criteria
Absolute Cell References
When pasting a formula somewhere else you will want each particular cell reference in that formula to either
move with you, not move at all, slide along the row or move up and down the column. This is achieved by
tapping F4 to invoke the $$s which will lock (or anchor) the row, the column, or both.
Example
1 2 3 4 5 6 7 8
Loan 1,000 900 810 729 656 590 531 478
Interest 30 27 24 22 20 18 16 14
Questions
1 Calculate cashflows per investor
Cash flows 116 310 867 981 933 561 582 574
Investor A 40.0%
Investor B 60.0%
that formula to either
This is achieved by
9 10
430 387
13 12
627 882
Formatting
There are numerous ways you can format data in excel. Some of the more common methods involve decimal points,
currency options and percentages, but there are many others. Formating can be done fast using the following fanctions
Questions
Decimal points - make the following figures 2 decimal points
12.32625242
575
75
Currency- change the currency as specified
USD 2000
Streling 2000
Euros 2000
2. In the parentheses, enter your lookup value, followed by a comma. This can be an actual value, or a blank cell that wil
3. Enter your table array or lookup table, the range of data you want to search, and a comma:
4. Enter column index number. This is the column where you think the answers are, and it must be to the right of your lo
5. Enter the range lookup value, either TRUE or FALSE. TRUE finds partial matches, FALSE finds exact matches. Your finis
Questions
hes, FALSE finds exact matches. Your finished formula looks something like this: =VLOOKUP(H2,B3:F25,3,FALSE)
In our example we show how many pieces of fruits are sold per day in the first week of May. We want to fin
First, select a cell in which you want to publish the sold amount of oranges. We start with ‘Day 1’:
Then we select the value (from row 1) we want to look up, in this case it’s ‘Orange’ in cell F1.
We can insert this value as a string: “Orange” (image 1), or as a cell reference: F1 (image 2):
Next we enter ‘;’ and select the range (or table array) in which we want to find the lookup value and the ret
Then we enter ‘;’ and the number of the row within the defined range in which we want to look for the retu
Questions
1 Use data in the table below and follow the example above but intead of apples use (a) Bananas (b) Peach
May 3rd 30 20 22 24 29 23 19
May 4th 29 21 21 22 22 23 11
May 5th 20 18 18 21 18 19 13
May 6th 18 16 16 20 16 17 17
May 7th 32 21 19 18 20 16 18
Total 175 128 135 147 146 140 117
week 1
To look up the value for day 2, we can copy the HLOOKUP formula, and replace row 2 with row 3:
=HLOOKUP(“Orange”;B1:H8;3;0):
We can repeat this proces for each formula within the formula range B12:H12.
In this example we only have a small list of dates, but imagine you have a long list that publishes several years and you wish to
But what if you’re not certain about your lookup value? Then you can consider an approximate match (set F
of May. We want to find out how many oranges were sold each day of the week.
t with ‘Day 1’:
of May. We want to find out how many oranges were sold each day of the week.
t with ‘Day 1’:
OR
okup value and the return value. In this case it is range (B1:H8):
ant to look for the return value. In this case it is row 2 (for day 1), followed by ‘;’ and ‘0’ or ‘FALSE for an exact match
2 with row 3: