PC Review


Reply
Thread Tools Rate Thread

Adding a counting function within SumProduct

 
 
PBB
Guest
Posts: n/a
 
      20th Jun 2008
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 With Quote
 
 
 
 
Tim879
Guest
Posts: n/a
 
      20th Jun 2008
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 <P...@discussions.microsoft.com> 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 With Quote
 
PBB
Guest
Posts: n/a
 
      20th Jun 2008
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 <P...@discussions.microsoft.com> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Microsoft Excel Misc 2 28th Sep 2009 05:07 PM
Adding worksheets using sumproduct function gives error Jolly Microsoft Excel Misc 14 3rd Jul 2009 04:39 PM
Adding LOOKUP to an overwrought SUMPRODUCT function Arlen Microsoft Excel Misc 2 21st Jul 2008 11:20 PM
Counting non blanks with SUMPRODUCT? Mifty Microsoft Excel Misc 4 7th Feb 2008 01:00 PM
counting and sumproduct formulas samiam1 Microsoft Excel Programming 5 11th Nov 2005 06:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:37 AM.