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 Building Custom Columns.xlsx.
Choose to import data from the Tallest Buildings.xlsx file from the folder shown at the top of this exercise.
Select the Buildings worksheet and load the data into a table in a new worksheet.
Edit the query in Power Query and add a custom column to calculate the height of each building in feet. You can do this by multiplying the Height m column by 3.28.

Use this formula to calculate the new value.
Change the data type of the column to a decimal number and move it next to the Height m column.

The results of the new column.
Edit the formula to round the answer to two decimal places using the Number.Round function.

Edit the existing custom column step rather than adding a new one.
Check the new results.

The rounded results.
Apply transforms to the Floor column to create separate Floors above ground and Floors below ground columns. Replace any null values in the Floors below ground column with 0.

Make sure there are no null values in the Floors below ground column.
Add a custom column to calculate the total floors for each building by adding Floors above ground and Floors below ground together. You can either write a custom formula or use the Standard | Add method from the Add Column tab in the ribbon.

Don't forget to select the columns you want to add together first.
Move the new column next to the columns it references.

The results you should see.
Add a conditional column called Has basement. If the value of the Floors below ground column equals 0 then return false, otherwise return true.

You can change the data type of the column to True/False.
Add a new conditional column called Size which tests the value of the Height m column using the conditions and answers in the table below:
Height m | Answer |
|---|---|
Less than 400 | Small |
Less than 600 | Medium |
Else | Large |
Check that your conditions work correctly.

Results from the top of the table.
Modify the conditional column to add a condition which tests if the building name contains Trump and, if so, return the answer Bigly.

You'll need to make sure this condition is the first one in the list.
Close and load the query then save and close the Excel file.
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.