Hi,
I am making a spreadsheet to use on client's to calculate dietary requirements. I am attempting to get one cell to perform two functions, whereby it must lookup the client's gender from another cell, then use this information to identify which formula to use to calculate if the client is at risk and display either "at risk" or "normal".
For females the range is 0.8 to 0.9 (however for the purpose of this you can just use >0.8)
For males the range is 0.9 to 1.0 (or >0.9)
First it needs to identify the gender from cell D7 so I used: (* denotes what excel should do if the result is found true)
=LOOKUP(D7,{"Female","Male"},{*,*})
But when I tried to add in the formula instruction it did not work. What I need it to do from here is identify the client is female, so use the formula >0.8 to identify "At risk" if this is true, or "normal" if this is false.
=LOOKUP(D7,{"Female","Male"},{(IF(D14>=0.8,"At Risk","Normal"),0.9})
help please
I am making a spreadsheet to use on client's to calculate dietary requirements. I am attempting to get one cell to perform two functions, whereby it must lookup the client's gender from another cell, then use this information to identify which formula to use to calculate if the client is at risk and display either "at risk" or "normal".
For females the range is 0.8 to 0.9 (however for the purpose of this you can just use >0.8)
For males the range is 0.9 to 1.0 (or >0.9)
First it needs to identify the gender from cell D7 so I used: (* denotes what excel should do if the result is found true)
=LOOKUP(D7,{"Female","Male"},{*,*})
But when I tried to add in the formula instruction it did not work. What I need it to do from here is identify the client is female, so use the formula >0.8 to identify "At risk" if this is true, or "normal" if this is false.
=LOOKUP(D7,{"Female","Male"},{(IF(D14>=0.8,"At Risk","Normal"),0.9})
help please