Day 6 Challenge Resources

A fitness company wants to send a personalized email to each customer with their Body Mass Index (BMI) calculated based on their weight and height. The calculated BMI will be included in the email with one decimal place. BMI is calculated using the following formula: weight in kg / (height in m)2

If you’re unsure where to start, a sample data set is available here and can serve as a helpful starting point for the challenge.

Download CSV
Email FirstName LastName Weight Height John Doe 85 1.85 Jane Doe 65 1.6 Jim Smith 75 1.75 Sara Johnson 70 1.7 Mike Brown 92 1.8

Your email may look like the following example if you test your AMPscript with one of the sample records provided.


Based on your weight and height, your Body Mass Index (BMI) is 24.97.

Thank you for choosing our fitness company to help you reach your fitness goals!

The Fitness Company Team 

Crafted with 💜 by AMPscript30.
AMPScripted Smiles Ltd.
456 Data Extension Drive Suite 321, Loop City, 
Variable Valley, DE 12345

Boost AMPscript Skills in Just 30 Days!

Whether you're just starting with AMPscript coding or looking to expand your skills, this challenge is for you!