#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
archivesgirl
 
Posts: n/a
Default Sumproduct


I've tried using this formula to count data from colum F where data from
column E is between December 1, 2005 and January 1, 2006. I keep getting
the #VALUE!
I've tried different scenarios with different operators and functions
but to no avail.

=SUMPRODUCT(--('mail-data'!F2:F1002)if('mail-data'!$E$2:$E$1002DATE(2005,11,30))*--('mail-data'!$E$2:$E$1002<DATE(2006,1,1)))


--
archivesgirl
------------------------------------------------------------------------
archivesgirl's Profile: http://www.excelforum.com/member.php...o&userid=31827
View this thread: http://www.excelforum.com/showthread...hreadid=515817

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernie Deitrick
 
Posts: n/a
Default Sumproduct

archivesgirl,

For a simple count, you can ignore column F:

=SUMPRODUCT(('mail-data'!$E$2:$E$1002DATE(2005,11,30))*('mail-data'!$E$2:$E$1002<DATE(2006,1,1)))

But if you have a criteria for column F, you would add that like so:

=SUMPRODUCT(('mail-data'!$F$2:$F$10="Fred")*('mail-data'!$E$2:$E$10DATE(2005,11,30))*('mail-data'!$E$2:$E$10<DATE(2006,1,1)))


HTH,
Bernie
MS Excel MVP


"archivesgirl" wrote in message
news:archivesgirl.23ow61_1140710408.1027@excelforu m-nospam.com...

I've tried using this formula to count data from colum F where data from
column E is between December 1, 2005 and January 1, 2006. I keep getting
the #VALUE!
I've tried different scenarios with different operators and functions
but to no avail.

=SUMPRODUCT(--('mail-data'!F2:F1002)if('mail-data'!$E$2:$E$1002DATE(2005,11,30))*--('mail-data'!$E$2:$E$1002<DATE(2006,1,1)))


--
archivesgirl
------------------------------------------------------------------------
archivesgirl's Profile: http://www.excelforum.com/member.php...o&userid=31827
View this thread: http://www.excelforum.com/showthread...hreadid=515817



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 Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


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