ExcelBanter

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

sgm020

Sumproduct
 

Hi,

I have a list like below:
DATES VALUES
01.01.2004 100
05.05.2004 200
01.10.2004 300
01.03.2005 400
01.04.2005 QQQ(text)
10.07.2005 600
08.03.2006 (Blank)
01.04.2006 800
15.05.2006 900
(Blank)(Blank)
............... ........

I want to calculate between

Start date 01.01.2005
End date 31.12.2005

by the =SUMPRODUCT((A2:A20=D22)*(A2:A20<=D23)*(B2:B20)) formula, but
this formula gives #VALUE! result.

How I can solve this problem.

Thanks.


--
sgm020
------------------------------------------------------------------------
sgm020's Profile: http://www.excelforum.com/member.php...o&userid=26226
View this thread: http://www.excelforum.com/showthread...hreadid=567786


Stefi

Sumproduct
 

=SUMPRODUCT(--(A2:A10D22),--(A2:A10<D23),B2:B10)


Regards,
Stefi

sgm020 ezt *rta:


Hi,

I have a list like below:
DATES VALUES
01.01.2004 100
05.05.2004 200
01.10.2004 300
01.03.2005 400
01.04.2005 QQQ(text)
10.07.2005 600
08.03.2006 (Blank)
01.04.2006 800
15.05.2006 900
(Blank)(Blank)
............... ........

I want to calculate between

Start date 01.01.2005
End date 31.12.2005

by the =SUMPRODUCT((A2:A20=D22)*(A2:A20<=D23)*(B2:B20)) formula, but
this formula gives #VALUE! result.

How I can solve this problem.

Thanks.


--
sgm020
------------------------------------------------------------------------
sgm020's Profile: http://www.excelforum.com/member.php...o&userid=26226
View this thread: http://www.excelforum.com/showthread...hreadid=567786



[email protected]

Sumproduct
 
Hello,

You can enter as array formula:
=SUMPRODUCT(--(A2:A20=D22),--(A2:A20<=D23),IF(ISERROR(--B2:B20),0,--B2:B20))
(CTRL + SHIFT + ENTER)

HTH,
Bernd


sgm020

Sumproduct
 

Stefi Wrote:
=SUMPRODUCT(--(A2:A10D22),--(A2:A10<D23),B2:B10)


Regards,
Stefi

sgm020 ezt *rta:


Hi,

I have a list like below:
DATES VALUES
01.01.2004 100
05.05.2004 200
01.10.2004 300
01.03.2005 400
01.04.2005 QQQ(text)
10.07.2005 600
08.03.2006 (Blank)
01.04.2006 800
15.05.2006 900
(Blank)(Blank)
............... ........

I want to calculate between

Start date 01.01.2005
End date 31.12.2005

by the =SUMPRODUCT((A2:A20=D22)*(A2:A20<=D23)*(B2:B20)) formula,

but
this formula gives #VALUE! result.

How I can solve this problem.

Thanks.


--
sgm020

------------------------------------------------------------------------
sgm020's Profile:

http://www.excelforum.com/member.php...o&userid=26226
View this thread:

http://www.excelforum.com/showthread...hreadid=567786



Thank you very much.

Best regards.


--
sgm020
------------------------------------------------------------------------
sgm020's Profile: http://www.excelforum.com/member.php...o&userid=26226
View this thread: http://www.excelforum.com/showthread...hreadid=567786



All times are GMT +1. The time now is 05:20 PM.

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