Hi,
I have a solution that I was able to put into your spreadsheet.
It is a little crude but it will work. What I did was chain multiple IF statements toghether in order to find the correct column and row to preform the calculations. It looks something like this.
=IF(AND($E$2>0,$E$2<=40),C15*$A$8,IF(AND($E$2>40,$E$2<=50),C16*$A$8,""))))
The AND function allows you to add multiple arguments like if number or "age" in cell E2 is greater than 0 and less than or equal to 40 then select cell C15 and multiply it to cell A8. The same is true for all of the age groups as you will be able to see when you view the workbook.
I hope this helps!
Simeon
Bookmarks