I think it's still wrong in the table at least at one point. I use the same formula, structured a little differently:
g - g1
d = d1 + ------- * (d2 - d1)
g2 - g1
With the following intuitive definitions:
d -- the desired table value
d1 -- the table value immediately below d
d2 -- the table value immediately above d
g -- table index (in this case, the time) of the desired value
g1 -- table index immediately below g
g2 -- table index immediately above g
So, looking at "Interpolated B" at ts0+30s, we get these values for the variables:
d = unknown without calculation
g = 30 (or, ts0+30s)
g1 = 20 (or, ts0+20s)
g2 = 40 (or, ts0+40s)
d1 = 20
d2 = 10
That makes the formula:
30 - 20
d = 20 + ------- * (10 - 20)
40 - 20
Which reduces to:
10
d = 20 + --- * (-10) = 20 - (1/2)(10) = 15
20