A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
I'd create a list like this - there is no column for "Ideal", and the columns for "Caution" and "Obese" contain the thresholds for each height.
In the following, the list is on the same sheet as the input in I2:K10, but it could just as well be on another sheet.
Select E9.
Set its fill color to green. This will be the default (for Ideal).
On the Home tab of the ribbon, click Conditional Formatting > New Rule...
Select 'Format only cells that contain'.
Leave the first drop down set to 'Cell Value'.
Select 'greater than or equal to' from the second drop down.
In the box next to it, enter the formula
=VLOOKUP(E7,$I$2:$K$10,2)
Click Format...
Activate the Fill tab.
Select yellow.
Click OK, then click OK again.
Repeat these steps, but this time with the formula
=VLOOKUP(E7,$I$2:$K$10,3)
and red as color.