You can use something like this

=IF(E1="Yes",(B1+C1)*2,B1+C1)