ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sumproduct? (https://www.excelbanter.com/excel-discussion-misc-queries/69800-sumproduct.html)

teeb

Sumproduct?
 

I'm trying to get the sum of a range in columb A, only if in the same
row in columb b has "text b" AND columb c has "text c"

Any help will be appreciated!


--
teeb
------------------------------------------------------------------------
teeb's Profile: http://www.excelforum.com/member.php...o&userid=13172
View this thread: http://www.excelforum.com/showthread...hreadid=508930


RagDyeR

Sumproduct?
 
Try this:

=SUMPRODUCT((B1:B100="textb")*(C1:C100="textc")*A1 :A100)

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"teeb" wrote in message
...

I'm trying to get the sum of a range in columb A, only if in the same
row in columb b has "text b" AND columb c has "text c"

Any help will be appreciated!


--
teeb
------------------------------------------------------------------------
teeb's Profile:
http://www.excelforum.com/member.php...o&userid=13172
View this thread: http://www.excelforum.com/showthread...hreadid=508930



Don Guillett

Sumproduct?
 
easy enough
=sumproduct((b3:b33="b")*(c3:c33="c")*a3:a33)
note the ranges MUST be the same size.

--
Don Guillett
SalesAid Software

"teeb" wrote in message
...

I'm trying to get the sum of a range in columb A, only if in the same
row in columb b has "text b" AND columb c has "text c"

Any help will be appreciated!


--
teeb
------------------------------------------------------------------------
teeb's Profile:
http://www.excelforum.com/member.php...o&userid=13172
View this thread: http://www.excelforum.com/showthread...hreadid=508930




Sloth

Sumproduct?
 
=SUMPRODUCT(A1:10,--(B1:B10="text b"),--(C1:C10="text c"))

should work.

"teeb" wrote:


I'm trying to get the sum of a range in columb A, only if in the same
row in columb b has "text b" AND columb c has "text c"

Any help will be appreciated!


--
teeb
------------------------------------------------------------------------
teeb's Profile: http://www.excelforum.com/member.php...o&userid=13172
View this thread: http://www.excelforum.com/showthread...hreadid=508930



RagDyeR

Sumproduct?
 
Well I'll be darned !

A *triple* dead-heat.<bg

--

Regards,

RD
----------------------------------------------------------------------------
-------------------
Please keep all correspondence within the Group, so all may benefit !
----------------------------------------------------------------------------
-------------------

"teeb" wrote in message
...

I'm trying to get the sum of a range in columb A, only if in the same
row in columb b has "text b" AND columb c has "text c"

Any help will be appreciated!


--
teeb
------------------------------------------------------------------------
teeb's Profile:
http://www.excelforum.com/member.php...o&userid=13172
View this thread: http://www.excelforum.com/showthread...hreadid=508930



Don Guillett

Sumproduct?
 
Didn't notice that they were all the same. I, also, have never seen that
before.

--
Don Guillett
SalesAid Software

"RagDyeR" wrote in message
...
Well I'll be darned !

A *triple* dead-heat.<bg

--

Regards,

RD
----------------------------------------------------------------------------
-------------------
Please keep all correspondence within the Group, so all may benefit !
----------------------------------------------------------------------------
-------------------

"teeb" wrote in
message
...

I'm trying to get the sum of a range in columb A, only if in the same
row in columb b has "text b" AND columb c has "text c"

Any help will be appreciated!


--
teeb
------------------------------------------------------------------------
teeb's Profile:
http://www.excelforum.com/member.php...o&userid=13172
View this thread: http://www.excelforum.com/showthread...hreadid=508930





L. Howard Kittle

Sumproduct?
 
Man...! What are the odds of that???
Must be about the same as Lou Ghehrig dying of Lou Gehrig disease!!!
<vbg

"RagDyeR" wrote in message
...
Well I'll be darned !

A *triple* dead-heat.<bg

--

Regards,

RD
----------------------------------------------------------------------------
-------------------
Please keep all correspondence within the Group, so all may benefit !
----------------------------------------------------------------------------
-------------------

"teeb" wrote in
message
...

I'm trying to get the sum of a range in columb A, only if in the same
row in columb b has "text b" AND columb c has "text c"

Any help will be appreciated!


--
teeb
------------------------------------------------------------------------
teeb's Profile:
http://www.excelforum.com/member.php...o&userid=13172
View this thread: http://www.excelforum.com/showthread...hreadid=508930






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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com