#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default SUMPRODUCT

I have a followinf Formula.

=SUMPRODUCT((DataCustNum=28901)*
(DataOrderDate=1/1/2003)*
(DataOrderDate<=12/31/2003)*
(DataAmount)
)

There are some data with blank OrderDate ( for DataOrderDate and DataAmount
and DataCustNum). The output is Zero for this formula even though there is
data for the criteria specified in the formula.
What could be the problem ?

Thanks in advance,

Shashi


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default SUMPRODUCT

Shashi

Instead try:

=SUMPRODUCT((DataCustNum=28901)*
(DataOrderDate=DATE(2003,1,1)*
(DataOrderDate<=DATE(2003,12,31)*
(DataAmount)


--
Best Regards
Leo Heuser
MVP Excel

Followup to newsgroup only please.

"Shashi Bhosale" skrev i en meddelelse
...
I have a followinf Formula.

=SUMPRODUCT((DataCustNum=28901)*
(DataOrderDate=1/1/2003)*
(DataOrderDate<=12/31/2003)*
(DataAmount)
)

There are some data with blank OrderDate ( for DataOrderDate and

DataAmount
and DataCustNum). The output is Zero for this formula even though there is
data for the criteria specified in the formula.
What could be the problem ?

Thanks in advance,

Shashi





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default SUMPRODUCT

=SUMPRODUCT((DataCustNum=28901)*
(DataOrderDate=DataValue("1/1/2003"))*
(DataOrderDate<=DateValue("12/31/2003"))*
(DataAmount))




Might fix it.


or

=SUMPRODUCT((DataCustNum=28901)*
(Year(DataOrderDate)=2003)*
(DataAmount))

--
Regards,
Tom Ogilvy


"Shashi Bhosale" wrote in message
...
I have a followinf Formula.

=SUMPRODUCT((DataCustNum=28901)*
(DataOrderDate=1/1/2003)*
(DataOrderDate<=12/31/2003)*
(DataAmount)
)

There are some data with blank OrderDate ( for DataOrderDate and

DataAmount
and DataCustNum). The output is Zero for this formula even though there is
data for the criteria specified in the formula.
What could be the problem ?

Thanks in advance,

Shashi




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
Sumproduct jcastellano Excel Worksheet Functions 3 March 15th 06 02:10 PM
sumproduct Todd Excel Worksheet Functions 2 March 14th 06 04:03 AM


All times are GMT +1. The time now is 09:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"