I need to do a nested IF statement that uses one table of rates with 11 rows to calculate against about 1000 rows of variables. The 11 rows are age-banded rates (<25, 25-29, 29-34, 35-39, etc.) and the 1000 rows are the ages of individual people. I need to multiply the appropriate rate for the specific age times the number of thousands in another column to develop a premium amount. I can get it to work with two IF statements but once I try to add the third, it fails.
To recap, colunn a has age, column b has number of thousands coumn n has age bands for rates and column o has the rates for the age band. I've tried everything I can think of and I've tried to find examples on the 'net but no luck so far. Is there a better way to do this than an IF statement?
Thanks so much!
To recap, colunn a has age, column b has number of thousands coumn n has age bands for rates and column o has the rates for the age band. I've tried everything I can think of and I've tried to find examples on the 'net but no luck so far. Is there a better way to do this than an IF statement?
Thanks so much!