Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
404 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
You can find other training resources for the subject of this exercise here:
You can also book hourly online consultancy for your time zone with one of our 7 expert trainers!
| Software ==> | Excel (128 exercises) |
| Topic ==> | Querying data (18 exercises) |
| Level ==> | Relatively easy |
| Subject ==> | Excel training |
This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.
Create a blank Excel workbook and save it as Grouping Buildings.xlsx.
Import the Buildings worksheet from the Tallest Buildings.xlsx file from the folder shown at the top of this exercise. Load the query into a table on a new worksheet.
Edit the query and choose to group the data by Country, adding a column called Count buildings using a Count Rows aggregation. Sort the resulting table in descending order of Count buildings.

The top three results.
Edit the Grouped Rows step and use Advanced options to add a second level of grouping using the City column.

The same countries appear in the top three results.
Edit the Grouped Rows step again and add columns to calculate the sum and average of the Height m column.

The extra aggregation columns.
Close and apply the changes to the query then save and close the workbook.
You can find other training resources for the subject of this exercise here:
You can also book hourly online consultancy for your time zone with one of our 7 expert trainers!
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2026. All Rights Reserved.