Help with a formula if yes calculate and if no 0

  • Thread starter Thread starter Saphire69
  • Start date Start date
S

Saphire69

I am trying to make a formula that if G2 says yes, multiply B2 x .03
and if G2 says no, leave as 0. I guess I could add in a check box for
yes but i dont know how to link it to the cell. My formula wont work
and keeps coming back invalid.
I would appreciate any help with this.
Thanks so much!
 
Try this:

=IF(G2="yes",B2*0.03,IF(G2="no",0,""))

This returns a blank if G2 is neither yes nor no.

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top