ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMPRODUCT (https://www.excelbanter.com/excel-worksheet-functions/15791-sumproduct.html)

Karen

SUMPRODUCT
 
I have the following formula in a cell:
=SUMPRODUCT(--((J3:J42="Released")+(M3:M42="Released")+
(P3:P42="Released")0))
It's not doing what it's supposed to do.
I actually have a total of 9 Released cells and it's only
showing a sum of 7.

I noticed that 2 rows out of the above range have more
than one "Released" - It's only adding the total released
if there is only one "Released" in a row and I need to
sum them all.

HELP!

Arvi Laanemets

Hi

=COUNTIF(J3:J42,"Released")+COUNTIF(M3:M42,"Releas ed")+COUNTIF(P3:P42,"Relea
sed")


Arvi Laanemets


"Karen" wrote in message
...
I have the following formula in a cell:
=SUMPRODUCT(--((J3:J42="Released")+(M3:M42="Released")+
(P3:P42="Released")0))
It's not doing what it's supposed to do.
I actually have a total of 9 Released cells and it's only
showing a sum of 7.

I noticed that 2 rows out of the above range have more
than one "Released" - It's only adding the total released
if there is only one "Released" in a row and I need to
sum them all.

HELP!




Ragdyer

This works for me:

=SUMPRODUCT((J3:J42="Released")+(M3:M42="Released" )+(P3:P42="Released"))

OR
With "Released" entered in J1:

=SUMPRODUCT((J3:J42=J1)+(M3:M42=J1)+(P3:P42=J1))
--
HTH,

RD

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

"Karen" wrote in message
...
I have the following formula in a cell:
=SUMPRODUCT(--((J3:J42="Released")+(M3:M42="Released")+
(P3:P42="Released")0))
It's not doing what it's supposed to do.
I actually have a total of 9 Released cells and it's only
showing a sum of 7.

I noticed that 2 rows out of the above range have more
than one "Released" - It's only adding the total released
if there is only one "Released" in a row and I need to
sum them all.

HELP!




All times are GMT +1. The time now is 12:57 PM.

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