Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
sorry if this is too simple.
I would like to write a formula which will calculate a dose range of medication based on patient's weight. I would like the data displayed such that it would read (0.2-0.3 mg). This formula needs to have upper an lower limits on the dose. THe dose cannont be lower than 0.2 nor higher than 3, but all values in between should show. here is what I have so far. I am unable for figure out how to impose the upper limit. D3 location of user defined patient weight. =CONCATENATE(IF(PRODUCT(0.067,D3)<=0.2,VALUE(0.2), IF(PRODUCT(0.067,D3)0.2,VALUE(PRODUCT(0.067,D3))& "-"&CONCATENATE(IF(PRODUCT(0.1,D3)<=0.3,VALUE(0.3),I F(PRODUCT(0.2,D3)0.3,VALUE(PRODUCT(0.2,D3)))))))) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Commenting custom formula fields/formula on formula editor | Excel Programming |