Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Sumproduct wont work

I have a table I am trying to pull data from but I can't seem to get my
formula to work properly.

=SUMPRODUCT((Query!$F$2:$F$66="JDoe")*(Query!$C$2: $C$66="Inbound"))*(Query!K:K=7/26/2004)

Basically I have a table with the username, whether it was inbound or
outbound, and the date of call. I am trying to pull the Inbound calls
for JDoe on 7/26 but the formula does not seem to be reading my last
criteria as a date. I tried apostraphe's and quotes and neither helped.


Is there a sybmol that I am missing or a better way to be going about
this? One person at work suggested a countif with other nested
countif's but didn't have time to explain the logic. Any help would be
greatly appreciated. Thanks guys


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Sumproduct wont work

You can't use entire columns in an array formula, and all arrays have to
have the same size. Try:


=SUMPRODUCT(--(Query!$F$2:$F$66="JDoe"),--(Query!$C$2:$C$66="Inbound"),
--(Query!$K$2:$K$66=DATE(2004,7,6)))

In article ,
Mycotopian wrote:

I have a table I am trying to pull data from but I can't seem to get my
formula to work properly.

=SUMPRODUCT((Query!$F$2:$F$66="JDoe")*(Query!$C$2: $C$66="Inbound"))*(Query!K:K
=7/26/2004)

Basically I have a table with the username, whether it was inbound or
outbound, and the date of call. I am trying to pull the Inbound calls
for JDoe on 7/26 but the formula does not seem to be reading my last
criteria as a date. I tried apostraphe's and quotes and neither helped.


Is there a sybmol that I am missing or a better way to be going about
this? One person at work suggested a countif with other nested
countif's but didn't have time to explain the logic. Any help would be
greatly appreciated. Thanks guys


---
Message posted from http://www.ExcelForum.com/

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Sumproduct wont work

Maybe a little typo in JE's formula?

Change
DATE(2004,7,6) to
DATE(2004,7,26)

Regards,

Daniel M.

"Mycotopian " wrote in message
...
I copied your formula and pasted it into the cell and it is still not
pulling any records. My dates on the table are formatted as 7/26/2004
do I need to change it?


---
Message posted from http://www.ExcelForum.com/



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
why is there a { in my formula and why wont it work? Gorgsey Excel Discussion (Misc queries) 6 March 19th 09 03:17 AM
cntrl+n wont work JKC Excel Discussion (Misc queries) 4 June 15th 06 05:30 PM
IF sum is GreaterThan 0... why wont this work!? Tan. Excel Worksheet Functions 3 January 18th 06 09:36 PM
Multiple conditions...why wont this work? Curtis Excel Worksheet Functions 4 January 16th 06 06:26 AM
Control + C wont work WREFORD Excel Discussion (Misc queries) 3 August 25th 05 04:44 PM


All times are GMT +1. The time now is 02:50 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"