Maybe something like this.

=IF(A1="test string",(A3+A2)+1,"")

Matt