You can't have that formula in cell I4 because that formula is checking to see if I4 is #N/A and using it in the MIN() portion.
One last time: What formula do you have in I4? (or P4 or X4 or AF4 or AN4 or AV4 or BC4 or BK4)?????