View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rick Rothstein \(MVP - VB\) Rick Rothstein \(MVP - VB\) is offline
external usenet poster
 
Posts: 2,202
Default Simple Formula Help?

See if this does what you want...

=IF(K12="yes",IF(D12="yes",0.7*C12,C12),0)

If K12 is "no" or ANY OTHER text not equal to "yes", the formula returns 0.

Rick


"Siper1" wrote in message
...
I'm having difficulty with a formula and need some help.

I'm attempting to do the following:

If K12 = "no" then total = 0
If K12 and D12 = "yes" then total = C12 x 70%
If K12 ="yes" and D12 = "No" then total = C12

This is what I have:

=IF((K12="Yes",D12=Yes),(C12)*0.7,0),((IF((K12=Yes ,D12=No),(C12),0)))