Excel 2013 Data Management
Excel 2013 Data Management
b) Select the entire table titled Deaths from natural causes, London, 2011.
d) Paste the table in the cell B3 on the Table worksheet but transpose the data (HINT: select
Paste Special)
e) On the Table worksheet, delete the column for the City of London.
f) Resize the remaining columns so that all the text in the headings is visible.
g) Hide columns for East London, North London, South London and West London (HINT:
use the control key to select all the columns at the same time)
k) Select SUM in the drop-down menus along your new total row.
m) Freeze the first column of the table on the sheet titled Freeze so that when you scroll to the
right you will always see the first column.
n) Select the cell range A4:G13 and copy to Word so that the data range is included in the word
count.
1
Exercise 2
a) On the Sort and Filter worksheet adjust the column widths so that all cell contents are
visible.
b) Use the custom sort option to sort the range i) A-Z by Cost centre ii) then A-Z by Account,
iii) then highest to lowest by Amount.
c) On the Advanced filter worksheet insert 4 blank rows at the top of the worksheet and copy
the existing column headings to the first blank row.
d) Sort the data by surname then add criteria under the copied column headings to filter for
women who are 50 or over from Newcastle or Sunderland and who have replied.
e) Using the Advanced filter command (Data tab) filter the list to a new location, showing the
results starting in cell K1.
2
Exercise 3
3
(Note that Question J can also be completed by using a VLOOKUP function (See next section). The
VLOOKUP solution is on the final page of this booklet.
4
Exercise 4
c) Add a similar function in cell E4 to assign the category for the score in cell C4. Copy the
function to the cell range E5:E213
d) On the worksheet Data validation Use the conditions (below) to set up useful validation
rules, input messages and/or error Alerts for each field. (Tip: you can set the validation rules
in row 4 and test them, then copy them down the columns to row 20).
Field Conditions
e) Enter 2 sample records to test your validation rules. Ensure that you try both legal and illegal
values.
f) Protect the cell range A3:J3 with the password ‘protected’
5
g) Go to the worksheet Sheet protection and protect the entire worksheet with the password
‘blocked’.
h) Save and close the workbook.
6
Exercise 5
7
Exercise 3 – Solution to question J
Using VLOOKUP as an alternative to nested IF functions Solution:
First create a Lookup table, which should look something like the one shown below. Note that the
values in the first column (the ones you will ‘lookup’ in your data range) need to be in ascending
order.
Enter the VLOOKUP function shown below into the first cell
Function syntax:
=VLOOKUP(I2,$L$1:$M$6,2,TRUE)
Note that the Table_array must be set to absolute
Col_index_no is the number of the column in the Table_array which contains the corresponding
value i.e. column 2
In this case we need to set the Range_lookup to TRUE because we are not looking for an exact
match
Copy the function down the column