inflation rate will vary so how can you base it on your starting salary?
but assuming rate is constant
a1=start salary
b1= inflation %
c1= years
then d1=A1*(1+B1)^C1