Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Simple Formula Help?

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)))


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default Simple Formula Help?

hi
try this....
=IF(AND(K12="Yes",D12="Yes"),C12*0.7,IF(AND(K12="Y es",D12="No"),C12,0))

regards
FSt1

"Siper1" wrote:

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)))


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Simple Formula Help?

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

--
Gary''s Student - gsnu200749


"Siper1" wrote:

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)))


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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)))



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Simple Formula Help?

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


"Siper1" wrote:

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)))




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default Simple Formula Help?

Ah yes, use the multiplication to transform the FALSE to zero... nice. Here
is a 2-character shorter formula built around the same idea...

=(K12="yes")*(1-0.3*(D12="yes"))*C12

Rick


"Teethless mama" wrote in message
...
=IF(K12="yes",IF(D12="yes",0.7,1))*C12


"Siper1" wrote:

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)))



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple problem, simple formula, no FUNCTION ! Ron@Buy Excel Worksheet Functions 6 September 28th 07 04:51 PM
Need simple IF formula, please Connie Martin Excel Worksheet Functions 5 November 16th 06 05:03 PM
Need help with a simple formula tenaj New Users to Excel 2 April 24th 06 06:55 PM
help with simple formula bj Excel Worksheet Functions 1 June 17th 05 03:30 PM
Simple formula doesn't quite add up circeo Excel Discussion (Misc queries) 3 January 17th 05 09:04 PM


All times are GMT +1. The time now is 10:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"