AND OR IF Statments

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've created three cells that the user will select YES or NO. I want to
create a formula that will calculate a sales commission for all three months
if any of the cells YES. I can't seem to get it to work..Any suggestions?
 
This formula
=(COUNTIF(B1:D1,"yes")>1)*A1*5%
computes 5% of A1 if any one of the cells B1,c1 or D1 contains "yes" (not
case sensitive)
Any help?
best wishes
 
That did help. I was able to tweek it, but I got it too work! Thank you!
 
Rogie:

Slight adjustment to the formula provided by Bernard:

=(COUNTIF(B1:D1,"yes")>1)*A1*5%

it should be larger than 0 not 1 (or >=1)

=(COUNTIF(B1:D1,"yes")>0)*A1*5%
 

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