LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
JANA
 
Posts: n/a
Default Sumproduct w/date criteria not working

I'm using a sumproduct formula because I have 2 (or sometimes more) criteria
to meet. This has worked in the past for me, but this time one of the
criteria is a date field and my formula isn't working. Below is an example
and the formulas I'm using. Please correct my formulas or tell me a
different formula to use to make this work.
Thanks!

Spreadsheet 1, tab A
A B C
1 319 11/1/2004 $10
2 357 11/1/2004 $15
3 319 12/1/2004 $20
4 357 12/1/2004 $25
5 319 1/1/2005 $30
6 357 1/1/2005 $35
7 319 2/1/2005 $40
8 357 2/1/2005 $45

Spreadsheet 2, tab A
A B
1 319 $30 (formula below giving me $100 - totaling all 319)
2 319 $70 (formula below giving me 0)

cell B1 =sumproduct(--('[spreadsheet
1.xls]A'!$a$1:$a$7=$A1),--('[spreadsheet
1.xls]A'!$b$1:$b$7<"1/1/2005"),'[spreadsheet 1.xls]A'!$c$1:$c$7)

cell B2 =sumproduct(--('[spreadsheet
1.xls]A'!$a$1:$a$7=$A2),--('[spreadsheet
1.xls]A'!$b$1:$b$7="1/1/2005"),'[spreadsheet 1.xls]A'!$c$1:$c$7)
 
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
Unique sumproduct with criteria! Naomi Excel Worksheet Functions 5 March 14th 05 07:01 PM
Using COUNTIF with 2 criteria - SUMPRODUCT? Mike R. Excel Worksheet Functions 2 February 24th 05 05:57 AM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM
Sumproduct - multiple criteria in Column A briank Excel Worksheet Functions 2 January 6th 05 06:44 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM


All times are GMT +1. The time now is 08:10 AM.

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

About Us

"It's about Microsoft Excel"