Steps to create BMI Calculator using Google Forms and Google Sheets

Google sheet @freshers.in

Creating a BMI (Body Mass Index) calculator using Google Forms and Google Sheets involves creating a form to collect user’s weight and height information, then using the data collected in the form to calculate the BMI using a formula in Google Sheets.

Here’s how you can do this:

  1. Create a Google Form
  • Go to Google Drive and click on ‘New’ > ‘More’ > ‘Google Forms’.
  • Name your form ‘BMI Calculator’.
  • Add two questions.
    • The first one should be ‘What is your weight in kg?’
    • The second question should be ‘What is your height in meters?’
    • Make sure to set the answer type to ‘Short answer’ for both questions.
  • After you’ve added these questions, you can click on the ‘Send’ button at the top right corner of the page to share this form with the people who need to use it.
  1. Link Your Form to a Google Sheet
  • Open the form and click on ‘Responses’ at the top of the page.
  • Click on the Google Sheets icon (‘Create Spreadsheet’) to the right of the ‘Responses’ tab.
  • Select ‘Create a new spreadsheet’ and click ‘Create’. This will create a new Google Sheets document that is linked to your form. The responses from the form will now automatically appear in the sheet.
  1. Create a BMI Calculation Formula in Google Sheets
  • Go to the Google Sheet that is linked to your form.
  • You will see the form responses are automatically categorized into columns. If ‘What is your weight in kg?’ is in column B and ‘What is your height in meters?’ is in column C, we’ll use these columns for calculations.
  • Click on the first cell of column D (D2 if you have headers), and type in the following formula:

=B2/(C2^2)

  • Press Enter to apply the formula. This formula calculates the BMI by dividing the weight by the square of the height.
  • To apply this formula to all future responses, click on the small square at the bottom-right corner of the D2 cell and drag it down the column to create an ‘arrayformula’. Now the BMI will be automatically calculated whenever a new response is submitted.

You have now successfully created a BMI Calculator using Google Forms and Google Sheets! You can share the form with others to start collecting and calculating BMI data.

Author: user

Leave a Reply