Hello,
My level of English is very low and I hope you understand me.
I do not quite understand your problem, but perhaps a solution with a custom function.
Copy the code below into a standard module.
PROCEDURE
The function has 3 arguments
Function PROPERWEIGHT (Age As Variant, Height As Variant, Optional Gender = MALE As Variant) As Variant
Age: enter a number OR a cell address
Height: enter a number OR a cell address
Gender: enter M or F (you can change the constants Const MALE As String = "xxx" Const FEMALE As String = "yyy") OR a cell address
EXAMPLE
PROPERWEIGHT = (AA2, AB2, "M") or PROPERWEIGHT = (28, 65, "m") or PROPERWEIGHT = (AA2, AB2, C2) where C2 contains either F or H.
I hope I was clear.
I put your workbook as an attachment in which I have removed the worksheets that were not needed.
Best regards.
PMO
Patrick Morange
Bookmarks