Hey,
I have a bit of a problem, I need a formula to look something up based on two variables.
So the info that will be input is Name, Group and Age, eg.
Name: John
Group: Blue
Age: 40
Member Price:
I need it to draw the member price based on the group and age;
[TABLE="width: 500"]
<tbody>[TR]
[TD]Group[/TD]
[TD]Age Range[/TD]
[TD]Member $[/TD]
[/TR]
[TR]
[TD]Red[/TD]
[TD]10-14[/TD]
[TD]$16,000[/TD]
[/TR]
[TR]
[TD]Red[/TD]
[TD]15-16[/TD]
[TD]$17,000[/TD]
[/TR]
[TR]
[TD]Red[/TD]
[TD]17-18[/TD]
[TD]$18,000[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD]19-24[/TD]
[TD]$20,000[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD]25-29[/TD]
[TD]$24,000[/TD]
[/TR]
[TR]
[TD]Blue[/TD]
[TD]30-32[/TD]
[TD]$26,000[/TD]
[/TR]
[TR]
[TD]Blue[/TD]
[TD]33-34[/TD]
[TD]$32,000[/TD]
[/TR]
[TR]
[TD]Blue[/TD]
[TD]35+[/TD]
[TD]$36,000[/TD]
[/TR]
</tbody>[/TABLE]
I've organized the table in my spreadsheet so that it only lists the youngest age, and I've tried using INDEX and MATCH with IF, and SUMPRODUCT (which I know won't work unless I list every age from 1-99), and nothing works...I'm really stuck on this, so hopefully someone knows a solution to my problem.
I have a bit of a problem, I need a formula to look something up based on two variables.
So the info that will be input is Name, Group and Age, eg.
Name: John
Group: Blue
Age: 40
Member Price:
I need it to draw the member price based on the group and age;
[TABLE="width: 500"]
<tbody>[TR]
[TD]Group[/TD]
[TD]Age Range[/TD]
[TD]Member $[/TD]
[/TR]
[TR]
[TD]Red[/TD]
[TD]10-14[/TD]
[TD]$16,000[/TD]
[/TR]
[TR]
[TD]Red[/TD]
[TD]15-16[/TD]
[TD]$17,000[/TD]
[/TR]
[TR]
[TD]Red[/TD]
[TD]17-18[/TD]
[TD]$18,000[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD]19-24[/TD]
[TD]$20,000[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD]25-29[/TD]
[TD]$24,000[/TD]
[/TR]
[TR]
[TD]Blue[/TD]
[TD]30-32[/TD]
[TD]$26,000[/TD]
[/TR]
[TR]
[TD]Blue[/TD]
[TD]33-34[/TD]
[TD]$32,000[/TD]
[/TR]
[TR]
[TD]Blue[/TD]
[TD]35+[/TD]
[TD]$36,000[/TD]
[/TR]
</tbody>[/TABLE]
I've organized the table in my spreadsheet so that it only lists the youngest age, and I've tried using INDEX and MATCH with IF, and SUMPRODUCT (which I know won't work unless I list every age from 1-99), and nothing works...I'm really stuck on this, so hopefully someone knows a solution to my problem.