That is because R20 and S20 have different values if G11 holds more than the basic 6000, so the first part of your formula is picking up n extra 16 seconds.