If it had not been for A「〜がなかったら」という構文においてforを使わないことはありません。
【if it had not been for A】
例)If it had not been for your advice, I couldn't have passed the exam.
もしあなたのアドバイスがなかったら,私はその試験に合格できなかったでしょう。
【if it had not been〜】
If it had not been your advice, I wouldn't have followed it.
もしそれがあなたのアドバイスでなかったら,私は従ってなどいなかったでしょう。
If it had not been Aという英文があるとすれば、「もしそれがAでなかったら」という単なるSVCです。
〜がなければor〜でなければ
ただそれだけの違いです。