How do you write an IF statement where: if either of 2 cells is blank then the given formula will not be shown?

If A2 is blank or D2 is blank then B2+F2 is not shown in cell G2.