The difference between the initial amount of I−3I3−\text{I}_3^- and the amount in excess gives us the amount of I−3I3−\text{I}_3^- that reacts with the formaldehyde. This is an example of a back titration.
excess amount - amount consumed in 2nd rxn = amount consumed in 1st rxn