not quite the format you wanted but something like this is a way that could work
Code:
SELECT Table1.LCAT, [BaseRate]*[YR1] AS ar1, [BaseRate]*[YR2] AS ar2, [BaseRate]*[YR3] AS ar3
FROM (SELECT 1+[y1].[escalation] AS yr1, [yr1]*(1+[y2].[escalation]) AS yr2, [yr2]*(1+[y3].[escalation]) AS yr3
FROM Table2 AS y1, Table2 AS y2, Table2 AS y3
WHERE (((y1.Yr)=1) AND ((y3.Yr)=3) AND ((y2.Yr)=2))) AS E, Table1;
LCAT |
ar1 |
ar2 |
ar3 |
worker |
4 |
4.16 |
4.3264 |
admin |
5 |
5.2 |
5.408 |
you can use a union query to get it into the vertical format