LOL - I spent so much time trying to decipher your handwriting I missed what you question was.
You actually asked a very pertinent question. It is very very wise to wonder about the boundary conditions of some derived formula.
First let me point out that chemistry problems aren't like pure math problems. In math pi has been calculated to millions of decimal places. In chemistry 2-4 significant figures is typically the best that can be done.
You are absolutely right. For ammonium formate there are two hydrolysis reactions.
$$\ce{NH4+ + H2O <=> NH3 + H3O+}\tag{1}$$
$$\ce{HCOO- + H2O <=> HCOOH + OH-}\tag{2}$$
Now the solution must be electrically neutral so for the charge balance we have:
$$\ce{[NH4+] + [H+] = [HCOO-] + [OH-]}\tag{3}$$
However let's consider making a strong ammonium formate solution say 0.1 molar. The ammonium cation is a weak acid, and the formate anion is a weak base. Thus little of either will hydrolyze. So we can assume:
$$\ce{[NH4+] \gg [H+]}\tag{4}$$
and
$$\ce{[HCOO-] \gg [OH-]}\tag{5}$$
thus for charge balance we can assume:
$$\ce{[NH4+] = [HCOO-] }\tag{6}$$
This in turn implies that the majority of ammonia and formic acid in solution are not formed by the reactions (1) and (2) but rather by the reaction:
$$\ce{[NH4+] + [HCOO-] <=> [NH3] + [HCOOH]}\tag{7}$$
Thus the two ions from the salt are hydrolyzed by same amount.
Now if we have instead made a weak solution of ammonium formate, say $1.0\cdot 10^{-5}$ molar, then equations (4) and (5) wouldn't be valid and the individual hydrolysis reactions would have to be considered making the formula to calculate the pH much more complicated.