Skip to the content.

Hanze


Go back to the main page


Example Exercise Excel

General Instructions

You have 3.5 hours to complete this exam. Read all questions carefully before you start. For each exercise, create a separate Excel file. Name each worksheet tab according to the corresponding sub-question (e.g. a, b, c, etc.). Where applicable, load your data using Power Query.
Organize your work in three folders named exercise_1, exercise_2 and exercise_3. Each folder contains a data subfolder where you store the original unmodified data file(s), and the Excel file for that exercise is placed directly in the exercise folder itself and named “analysis.xlsx”.
Keep the original data files in the data subfolder of each exercise folder. When you are finished, zip the entire folder and upload the single zip file to Brightspace before the deadline.

Rules

Exercise 1

The Comet Goldfish Lifespan Prediction Dataset provides a structured collection of variables used to estimate the longevity of Carassius auratus.

The fictive dataset includes several measurements:

Exercise 2

This time we will analyze some weather data from the KNMI. Browse to KNMI - Uurgegevens van het weer in Nederland. Download a dataset from 1951-1960 for the weather station at Eelde. Hint: use ctrl + f in your browser and search for Eelde.
a. Load the data using Power Query. The first 31 rows of the text-file contain information about the columns. Use “transform” in PowerQuery to remove these rows and use the resulting first row as headers. Also remove the empty row between the headers and the data. Keep the original text file as it contains important information about the columns!
b. Create a new tab and find the lowest temperature and highest temperature (at 1.5 m height) using formulas in degrees Celsius (note: read the column info in the text file)!
c. At what dates were these temperatures observed? Use formulas to get the answer. Hint: use the FILTER function in order to accomplish this.
d. A tropical temperature is defined as a temperature of 30 °C or higher. How many tropical temperatures are in the dataset (at 1.5 m height)? Hint: you can use the function UNIQUE to accomplish this.
e. There could be multiple tropical temperatures on the same day. How many tropical days are within the dataset (at 1.5 m height)?
f. What was the average temperature in 1951 (thus between January 1th and December 31)? Use formulas to achieve this.

Exercise 3

Use the dataset from Our World in Data.
This dataset contains daily vaccination figures per country worldwide, with columns such as date, location, total_vaccinations, people_vaccinated, people_fully_vaccinated, daily_vaccinations, etc.
You can click the Download raw file button on the right or click here for a direct link to the file.
a. Load the data using Power Query in Excel.
b. Create a chart showing the progression of people_fully_vaccinated_per_hundred (in other words, the percentage) over time for the Netherlands. Hint: first filter the data accordingly. Provide a logical title together with axis titles and units.
c. Use conditional formatting to color the the cells in the column people_fully_vaccinated_per_hundred with a color scale. The minimum value should be red, the maximum value green and the midpoint should be yellow at number 30.
d. Provide a pivot table with the max people_fully_vaccinated_per_hundred per hundred per country. Note that the numbers above 100 are in the dataset because of various reasons (e.g. boosters counted as full vaccination, some small countries (like Gibraltar or San Marino) vaccinated people who are not residents etc.).

The end…