Creating my own BMR (basal metabolic rate) Calculator

ramghai

New Member
Joined
Dec 3, 2011
Messages
16
I want to create my own basal metabolic rate (BMR) calculator in Excel 2010 using the Harris Benedict Formula

I want it to be in imperial and metric, male and female

I want the BMR to be calculated in C9
The age is in C3 - I have used data validation in that cell
The gender is in C4 - I have used a drop down list for Male or Female
The weight is in C5 - The user can input data in kg or st,lb, using the drop down menu
The heigh is in C6 - Users can input data in m or ft,in using the drop down menu

In cell C8, I have the
I want the BMR to be calculated in C9

Any help would be much appreciated! :)
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
You need more cells than that, do you not? Weight and units for weight, height and units for height.
 
Upvote 0
You need more cells than that, do you not? Weight and units for weight, height and units for height.

The cells I have said are where the user input's their data.

Do these images help?

Calculator+1.jpg


Calculator+2.jpg
 
Upvote 0
Code:
      --B--- --C--- -D-
  3      Age     30    
  4   Gender Male      
  5      Wgt    180 lbm
  6      Hgt     71 in 
  7                    
  8                    
  9      BMR 1888.1

The formula in C9 is

Code:
=IF(C4="Male",
66.5 + 13.75 * CONVERT(C5, D5, "kg") + 5.003 * CONVERT(C6, D6, "cm") - 6.775 * C3,
65.5 + 9.563 * CONVERT(C5, D5, "kg") + 1.85 * CONVERT(C6, D6, "cm") - 4.676 * C3)

The units need to be something that the CONVERT function recognizes.
 
Upvote 0
Did you look in Help for the CONVERT function?
 
Upvote 0

Forum statistics

Threads
1,223,247
Messages
6,171,007
Members
452,374
Latest member
keccles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top