#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 57
Default sumif?

Hello,

I would like a formula the calculates a total as it is is the word "No" iis
in a cell and doubles the amount if that same cell says "Yes".

I J K L
M
32 Feet
Inches
33 How Many: 2 Length: 10 8
34 Open Beam: Yes Width: 12 3
35 Total SF:
?

Right now the formula that I have for cell M35 is:
=SUM((L33+(1/12*M33))*(L34+(1/12*M34))*J33)

What I would like it to do is double the answer is the word "Yes" in in cell
J34.
If you have a better formula to calculate the initial total, please feel
free to change it.

Can anyone help?

Thank you for any help you can give!
Scott A
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default sumif?

Try
=SUM((L33+(1/12*M33))*(L34+(1/12*M34))*J33) * IF(J35="Yes",2,1)

I have multiplied your formula by
IF(J35="Yes",2,1)
which will multiply the current result by 2 if J35 has the value Yes, and by
1 otherwise (giving you the current result)

"Scott A" wrote:

Hello,

I would like a formula the calculates a total as it is is the word "No" iis
in a cell and doubles the amount if that same cell says "Yes".

I J K L
M
32 Feet
Inches
33 How Many: 2 Length: 10 8
34 Open Beam: Yes Width: 12 3
35 Total SF:
?

Right now the formula that I have for cell M35 is:
=SUM((L33+(1/12*M33))*(L34+(1/12*M34))*J33)

What I would like it to do is double the answer is the word "Yes" in in cell
J34.
If you have a better formula to calculate the initial total, please feel
free to change it.

Can anyone help?

Thank you for any help you can give!
Scott A

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 57
Default sumif?

That worked great! Thank You!

"Sheeloo" wrote:

Try
=SUM((L33+(1/12*M33))*(L34+(1/12*M34))*J33) * IF(J35="Yes",2,1)

I have multiplied your formula by
IF(J35="Yes",2,1)
which will multiply the current result by 2 if J35 has the value Yes, and by
1 otherwise (giving you the current result)

"Scott A" wrote:

Hello,

I would like a formula the calculates a total as it is is the word "No" iis
in a cell and doubles the amount if that same cell says "Yes".

I J K L
M
32 Feet
Inches
33 How Many: 2 Length: 10 8
34 Open Beam: Yes Width: 12 3
35 Total SF:
?

Right now the formula that I have for cell M35 is:
=SUM((L33+(1/12*M33))*(L34+(1/12*M34))*J33)

What I would like it to do is double the answer is the word "Yes" in in cell
J34.
If you have a better formula to calculate the initial total, please feel
free to change it.

Can anyone help?

Thank you for any help you can give!
Scott A

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default sumif?

Hi,

Since you asked for any other suggestions:

=((J34="Yes")+1)*SUM((L33+M33/12)*(L34+M34/12)*J33)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Scott A" wrote:

That worked great! Thank You!

"Sheeloo" wrote:

Try
=SUM((L33+(1/12*M33))*(L34+(1/12*M34))*J33) * IF(J35="Yes",2,1)

I have multiplied your formula by
IF(J35="Yes",2,1)
which will multiply the current result by 2 if J35 has the value Yes, and by
1 otherwise (giving you the current result)

"Scott A" wrote:

Hello,

I would like a formula the calculates a total as it is is the word "No" iis
in a cell and doubles the amount if that same cell says "Yes".

I J K L
M
32 Feet
Inches
33 How Many: 2 Length: 10 8
34 Open Beam: Yes Width: 12 3
35 Total SF:
?

Right now the formula that I have for cell M35 is:
=SUM((L33+(1/12*M33))*(L34+(1/12*M34))*J33)

What I would like it to do is double the answer is the word "Yes" in in cell
J34.
If you have a better formula to calculate the initial total, please feel
free to change it.

Can anyone help?

Thank you for any help you can give!
Scott A

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
sumif (maybe) Alex Excel Discussion (Misc queries) 2 October 3rd 07 05:10 PM
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 09:40 PM.

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"