So have your ranges changed to I5:I9, K5:K9, I12:I16, K12:K16?

I don't see where you tried the formula?