LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Multiple criteria for sumproduct

=sumproduct(--(sheet1!K$2:50001<=C$6),--(Sheet1!E$2:E$50001=C44),Sheet1!T$2:T:50001)

As posted, the formula has some ranges not properly defined. It's missing
the column letter in the first array and there's an extra colon in the last
array. However, those won't cause a #REF! error, Excel just won't accept
that as a formula and will display the general "The formula you typed
contains an error" message.

=SUMPRODUCT(--(Sheet1!K$2:K$50001<=C$6),--(Sheet1!E$2:E$50001=C44),Sheet1!T$2:T$50001)


--
Biff
Microsoft Excel MVP


"John" wrote in message
...
I say your post and wondering if you have advice for a formula I'm tryinig
to
write:
C6=4/25/08
C44=Project1213

=sumproduct(--(sheet1!K$2:50001<=C$6),--(Sheet1!E$2:E$50001=C44),Sheet1!T$2:T:50001)

I want to sum datat in column T that has a specific ID in column E that
has
a date less than 4/25/08. The reason I have I'm using a specific cell ref
for the date is because I want it to change to the current date. So
tommorow
date will be 4/26/08. I keep getting a #Ref! error when I'm writing this,
any ideas?

"Domenic" wrote:

Try...

=SUMPRODUCT(--('Wholesale Orders'!C2:C2000=A2),--('Wholesale
Orders'!G2:G2000=DATE(2008,1,1)),--('Wholesale
Orders'!G2:G2000<=DATE(2008,12,31)),'Wholesale Orders'!F2:F2000)

Hope this helps!

In article ,
ocuhcs wrote:

I am trying to keep a running sum of customer order amounts for a given
year
to compare TY vs. LY using the following formula:

=SUMPRODUCT(--('Wholesale
Orders'!G2:G2000<=DATE(2008,12,31)),--('Wholesale
Orders'!G2:G2000=DATE(2008,1,1)),--('Wholesale
Orders'!C2:C2000=A2))--('Wholesale Orders'!F2:F2000)

With the G column as the date range, C column as the customer name, and
F
column as the $amount.

i do not get an error, but the formula result is an erroneous value. Do
the
arrays in sumproduct need to fall in a specific sequence?




 
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 Multiple criteria Tony D Excel Worksheet Functions 1 February 24th 06 09:26 PM
Multiple Criteria in SumProduct, N/A Result dcd123 Excel Worksheet Functions 7 October 7th 05 01:26 PM
multiple criteria in if or sumproduct tbird0566 Excel Worksheet Functions 1 September 19th 05 09:11 PM
Using Sumproduct with multiple Criteria Mark Jackson Excel Worksheet Functions 1 May 6th 05 10:07 PM
sumproduct using multiple criteria tifosi3 Excel Worksheet Functions 2 January 6th 05 08:46 PM


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

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"