Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hello from Steved
=SUMPRODUCT(--($C$4:$C$15),--($H$4:$H$15=S)) =SUMPRODUCT(--($C$4:$C$15),--($H$4:$H$15=P)) Column C has S and P Column H has the value I need to total. What Have I done wrong Please. Thankyou. |
#2
![]() |
|||
|
|||
![]()
Should they be like this?
=SUMPRODUCT(--($C$4:$C$15="S"),$H$4:$H$15) =SUMPRODUCT(--($C$4:$C$15="P"),$H$4:$H$15) Rgds, ScottO "Steved" wrote in message ... | Hello from Steved | | =SUMPRODUCT(--($C$4:$C$15),--($H$4:$H$15=S)) | =SUMPRODUCT(--($C$4:$C$15),--($H$4:$H$15=P)) | | Column C has S and P | Column H has the value I need to total. | | What Have I done wrong Please. | | Thankyou. |
#3
![]() |
|||
|
|||
![]()
Thanks very much.
"ScottO" wrote: Should they be like this? =SUMPRODUCT(--($C$4:$C$15="S"),$H$4:$H$15) =SUMPRODUCT(--($C$4:$C$15="P"),$H$4:$H$15) Rgds, ScottO "Steved" wrote in message ... | Hello from Steved | | =SUMPRODUCT(--($C$4:$C$15),--($H$4:$H$15=S)) | =SUMPRODUCT(--($C$4:$C$15),--($H$4:$H$15=P)) | | Column C has S and P | Column H has the value I need to total. | | What Have I done wrong Please. | | Thankyou. |
#4
![]() |
|||
|
|||
![]()
=SUMIF($C$4:$C$15,"S",$H$4:$H$15)
=SUMIF($C$4:$C$15,"P",$H$4:$H$15) Steved wrote: Thanks very much. "ScottO" wrote: Should they be like this? =SUMPRODUCT(--($C$4:$C$15="S"),$H$4:$H$15) =SUMPRODUCT(--($C$4:$C$15="P"),$H$4:$H$15) Rgds, ScottO "Steved" wrote in message ... | Hello from Steved | | =SUMPRODUCT(--($C$4:$C$15),--($H$4:$H$15=S)) | =SUMPRODUCT(--($C$4:$C$15),--($H$4:$H$15=P)) | | Column C has S and P | Column H has the value I need to total. | | What Have I done wrong Please. | | Thankyou. -- [1] The SumProduct function should implicitly coerce the truth values to their Excel numeric equivalents. [2] The lookup functions should have an optional argument for the return value, defaulting to #N/A in its absence. |
#5
![]() |
|||
|
|||
![]()
Thankyou Aladin
"Aladin Akyurek" wrote: =SUMIF($C$4:$C$15,"S",$H$4:$H$15) =SUMIF($C$4:$C$15,"P",$H$4:$H$15) Steved wrote: Thanks very much. "ScottO" wrote: Should they be like this? =SUMPRODUCT(--($C$4:$C$15="S"),$H$4:$H$15) =SUMPRODUCT(--($C$4:$C$15="P"),$H$4:$H$15) Rgds, ScottO "Steved" wrote in message ... | Hello from Steved | | =SUMPRODUCT(--($C$4:$C$15),--($H$4:$H$15=S)) | =SUMPRODUCT(--($C$4:$C$15),--($H$4:$H$15=P)) | | Column C has S and P | Column H has the value I need to total. | | What Have I done wrong Please. | | Thankyou. -- [1] The SumProduct function should implicitly coerce the truth values to their Excel numeric equivalents. [2] The lookup functions should have an optional argument for the return value, defaulting to #N/A in its absence. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumproduct | Excel Worksheet Functions | |||
sumproduct causing memory errors? | Excel Worksheet Functions | |||
Can I reference =, <, or > sign in SUMPRODUCT | Excel Discussion (Misc queries) | |||
Sumproduct function not working | Excel Worksheet Functions | |||
adding two sumproduct formulas together | Excel Worksheet Functions |