Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PBB PBB is offline
external usenet poster
 
Posts: 3
Default Adding a counting function within SumProduct

Experts: I can't figure this out... I need to add another array to this
formula.

=SUMPRODUCT(--(A3:A236="John
Gay"),--(W3:W236=--"2008-01-01"),--(W3:W236<=--"2008-12-31"))

In array #1 I am searched "column A" for the name John Gay. In arrays #2 &
#3 I am searching "column W" for entry's within a date range. My problem is
this:

I have another column (column Y) that has numerical entry's. This column
represents the quantity of products that John Gay sold on any given date
within the date range. Most of the entry's in "column Y" have a value larger
than 1.

How can I modify this formula to count the actual total of the numerical
values in "column Y" after array #1, #2 & #3 have been recognized as true or
false?

I hope I have explained my issue clearly... Anyones help would be greatly
appreciated. Thanks...
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 208
Default Adding a counting function within SumProduct

TRY THIS...

=SUMPRODUCT(--(A3:A236="John Gay"),--(W3:W236=--"2008/01/01"),--
(W3:W236<=--"2008-12-31"),--(X3:X236<""))


It assumes that the numerical value is in column . You can also change
it to total the numerical values by changing the --(X3:X236<"") to
x3:x236

On Jun 20, 8:13 am, PBB wrote:
Experts: I can't figure this out... I need to add another array to this
formula.

=SUMPRODUCT(--(A3:A236="John
Gay"),--(W3:W236=--"2008-01-01"),--(W3:W236<=--"2008-12-31"))

In array #1 I am searched "column A" for the name John Gay. In arrays #2 &
#3 I am searching "column W" for entry's within a date range. My problem is
this:

I have another column (column Y) that has numerical entry's. This column
represents the quantity of products that John Gay sold on any given date
within the date range. Most of the entry's in "column Y" have a value larger
than 1.

How can I modify this formula to count the actual total of the numerical
values in "column Y" after array #1, #2 & #3 have been recognized as true or
false?

I hope I have explained my issue clearly... Anyones help would be greatly
appreciated. Thanks...


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PBB PBB is offline
external usenet poster
 
Posts: 3
Default Adding a counting function within SumProduct

Thanks TIM879 - This worked great !!

"Tim879" wrote:

TRY THIS...

=SUMPRODUCT(--(A3:A236="John Gay"),--(W3:W236=--"2008/01/01"),--
(W3:W236<=--"2008-12-31"),--(X3:X236<""))


It assumes that the numerical value is in column . You can also change
it to total the numerical values by changing the --(X3:X236<"") to
x3:x236

On Jun 20, 8:13 am, PBB wrote:
Experts: I can't figure this out... I need to add another array to this
formula.

=SUMPRODUCT(--(A3:A236="John
Gay"),--(W3:W236=--"2008-01-01"),--(W3:W236<=--"2008-12-31"))

In array #1 I am searched "column A" for the name John Gay. In arrays #2 &
#3 I am searching "column W" for entry's within a date range. My problem is
this:

I have another column (column Y) that has numerical entry's. This column
represents the quantity of products that John Gay sold on any given date
within the date range. Most of the entry's in "column Y" have a value larger
than 1.

How can I modify this formula to count the actual total of the numerical
values in "column Y" after array #1, #2 & #3 have been recognized as true or
false?

I hope I have explained my issue clearly... Anyones help would be greatly
appreciated. Thanks...



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
Counting non blanks with SUMPRODUCT? Mifty Excel Discussion (Misc queries) 4 February 7th 08 01:00 PM
counting function but not double counting duplicates JRD Excel Worksheet Functions 2 November 7th 07 06:43 PM
counting and adding A.S. Excel Discussion (Misc queries) 4 June 12th 07 09:24 PM
counting and adding Isaiah I Excel Discussion (Misc queries) 2 June 11th 07 08:49 PM
do I need array formula or sumproduct for counting? Karin Excel Worksheet Functions 3 March 30th 06 05:50 PM


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