Hi, znalron@yahoo.com,

both the formula
=IF(G14=4,0,114735.833333333)
in D28 as well as 0 in D29 lead to these rows being hidden by the code - at least in my file.

Ciao,
Holger