C
CurlerBob
I'm trying to lookup a grouping value based on gender, height, and weight.
My data looks like this gender/height/weight/group:
Male/4'10'/0/Group 1
Male/4'10/81/Group 2
Male/4'10/91/Group 3
Male/4'10/134/Group 2
Male/4'10/158/Group 4
Male/4'10/181/Group 1
Male/4'11'/0/Group 1
Male/4'11/84/Group 2
Male/4'11/94/Group 3
Male/4'11/138/Group 2
Male/4'11/163/Group 4
Male/4'11/188/Group 1
Where the lookup will return the group for the range up to the next value.
SO for the first line the range is 0-80, second line 81-90, etc. with
anything over 181 returning Group 1.
I tried concatinating the three lookup columns together but that doesn't
work. I'm certain there must be a relatively simple way to do this lookup
but I can't seem to puzzle it out.
My data looks like this gender/height/weight/group:
Male/4'10'/0/Group 1
Male/4'10/81/Group 2
Male/4'10/91/Group 3
Male/4'10/134/Group 2
Male/4'10/158/Group 4
Male/4'10/181/Group 1
Male/4'11'/0/Group 1
Male/4'11/84/Group 2
Male/4'11/94/Group 3
Male/4'11/138/Group 2
Male/4'11/163/Group 4
Male/4'11/188/Group 1
Where the lookup will return the group for the range up to the next value.
SO for the first line the range is 0-80, second line 81-90, etc. with
anything over 181 returning Group 1.
I tried concatinating the three lookup columns together but that doesn't
work. I'm certain there must be a relatively simple way to do this lookup
but I can't seem to puzzle it out.