ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Value 0 (https://www.excelbanter.com/excel-worksheet-functions/35475-value-0-a.html)

Steved

Value 0
 
Hello from Steved

=SUMPRODUCT(--($B$4:$B$15="1"),($C$4:$C$15="P"),$H$4:$H$15))

is returning a 0 value

What Have I done wrong please.

Thankyou.

RagDyer

Maybe get rid of the quotes around the 1?

If 1 is supposed to be a number, the quotes make it text.
--
HTH,

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


"Steved" wrote in message
...
Hello from Steved

=SUMPRODUCT(--($B$4:$B$15="1"),($C$4:$C$15="P"),$H$4:$H$15))

is returning a 0 value

What Have I done wrong please.

Thankyou.



Biff

In addition to RD's suggestion....

There is one too many closing ")" at the end of the formula. Also, using the
double unary syntax, you're missing a set before the second array:

=SUMPRODUCT(--($B$4:$B$15=1),--($C$4:$C$15="P"),$H$4:$H$15)

That should do it!

Biff

"RagDyer" wrote in message
...
Maybe get rid of the quotes around the 1?

If 1 is supposed to be a number, the quotes make it text.
--
HTH,

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


"Steved" wrote in message
...
Hello from Steved

=SUMPRODUCT(--($B$4:$B$15="1"),($C$4:$C$15="P"),$H$4:$H$15))

is returning a 0 value

What Have I done wrong please.

Thankyou.





Steved

Thankyou.

"Biff" wrote:

In addition to RD's suggestion....

There is one too many closing ")" at the end of the formula. Also, using the
double unary syntax, you're missing a set before the second array:

=SUMPRODUCT(--($B$4:$B$15=1),--($C$4:$C$15="P"),$H$4:$H$15)

That should do it!

Biff

"RagDyer" wrote in message
...
Maybe get rid of the quotes around the 1?

If 1 is supposed to be a number, the quotes make it text.
--
HTH,

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


"Steved" wrote in message
...
Hello from Steved

=SUMPRODUCT(--($B$4:$B$15="1"),($C$4:$C$15="P"),$H$4:$H$15))

is returning a 0 value

What Have I done wrong please.

Thankyou.







All times are GMT +1. The time now is 01:42 PM.

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