Microsoft Excel 2007
Functions exercise
Average difficulty

This Microsoft Excel 2007 FUNCTIONS exercise is provided to allow potential course delegates to assess their suitability for the Wise Owl EXCEL 2007 VISUAL BASIC course only, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

Exercise: Functions for weight, height and BMI

A full answer to this exercise is provided as part of the training course!

1) Download the files needed to start this exercise: exercise-927.zip (and click here if you experience any problems unzipping this file after downloading it).
2) The workbook in the above folder allows you to calculate someone's BMI (body mass index) from imperial measurements:
Exercise screen-shot 2040 You could type your name into C2 if you want to use your data
3) Note that the workbook contains a module containing some built-in constants, to make life easier:
Exercise screen-shot 2041 Although you know there are 12 inches in a foot, it makes for clearer coding if yoiu use constants instead
4) Write as many of the following functions to go in the pink cells shown above as you have time for:
  • A function to turn inches and feet into metres, to be used to calculate cell C7
  • A function to turn stones and pounds into kilograms, to be used to calculate the figures in column E
  • A function to turn height in metres and weight in kilograms into Body Mass Index, using the formula (Weight in kilograms) / (Height in metres squared)
Training exercise hint As a guideline, your BMI should be about 20-25.  Anything over 25 is considered overweight.
5) Save this workbook as BMI.xlsm, and close it down.

Thank you for showing an interest in this Excel 2007 Visual Basic training course! As mentioned above, full answers to this and other exercises are provided on the course. On all Wise Owl scheduled courses delegates can take away these model answers (together with their own efforts!) on a free USB stick.

All content � Wise Owl Business Solutions Ltd 2007.  All rights reserved.  Design by Branches.