Only be able to write in a cell if another has content in it... PLEASE HELP

ramghai

New Member
Joined
Dec 3, 2011
Messages
16
Hey,

I'm creating a BMI calculator in MS Excel 2010.

I worked out the formula for calculating the BMI... but my problem now is:

There is a cell in which the user can write a target BMI (what they want to achieve). What I want is that the user should only be allowed to write in that cell if there BMI has already been calculated.

Thanks for any help!!
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Try Data-Validation-Custom for the target BMI cell where, if the calculated BMI is in cell C1, enter this formula and uncheck "Ignore blanks":
=C1>0
 
Upvote 0
It works on my test. What does the calculated BMI cell display when it hasn't been calculated yet?

Please confirm you selected the target BMI cell for data validation, that you changed C1 to the cell containing the calculated BMI, and that you unchecked the "Ignore blanks" box. After you set up the data validation, what happens when entering a number in target cell both when the calculated cell is and is not calculated?
 
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