Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default SUM WITH MULTIPLE CRITERIA

I am trying to add a series of numbers using a Date Range formula, however, I
am trying to add a criteria that would look at another column as well. For
example, assume the following:

Date Probability Amount
01/08 90% $1,000,000
01/08 100% $2,000,000
02/08 75% $1,250,000
02/08 100% $2,500,000

I want to sum by month and probability. I have the following date formula

=SUMPRODUCT((MONTH($N$2:$N$30)=MONTH($B$33))*(YEAR ($N$2:$N$30)=YEAR($B$33))*(C2:C30))

How do I add a qualifier to this formula to have it look at the probability
as well - for instance add all values where the probability is less than
100%,

I appreciate your assistance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default SUM WITH MULTIPLE CRITERIA

Say "Probability" is in Column B, and you enter the criteria into B32:

=SUMPRODUCT((TEXT(N2:N30,"mm/yy")=TEXT(B33,"mm/yy"))*(B2:B30<B32)*C2:C30)

I combined the date criteria into a single function.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"readystate" wrote in message
...
I am trying to add a series of numbers using a Date Range formula,

however, I
am trying to add a criteria that would look at another column as well.

For
example, assume the following:

Date Probability Amount
01/08 90% $1,000,000
01/08 100% $2,000,000
02/08 75% $1,250,000
02/08 100% $2,500,000

I want to sum by month and probability. I have the following date formula


=SUMPRODUCT((MONTH($N$2:$N$30)=MONTH($B$33))*(YEAR ($N$2:$N$30)=YEAR($B$33))*
(C2:C30))

How do I add a qualifier to this formula to have it look at the

probability
as well - for instance add all values where the probability is less than
100%,

I appreciate your assistance.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default SUM WITH MULTIPLE CRITERIA

Thanks...worked fine. Appreciate your assistance.

"Ragdyer" wrote:

Say "Probability" is in Column B, and you enter the criteria into B32:

=SUMPRODUCT((TEXT(N2:N30,"mm/yy")=TEXT(B33,"mm/yy"))*(B2:B30<B32)*C2:C30)

I combined the date criteria into a single function.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"readystate" wrote in message
...
I am trying to add a series of numbers using a Date Range formula,

however, I
am trying to add a criteria that would look at another column as well.

For
example, assume the following:

Date Probability Amount
01/08 90% $1,000,000
01/08 100% $2,000,000
02/08 75% $1,250,000
02/08 100% $2,500,000

I want to sum by month and probability. I have the following date formula


=SUMPRODUCT((MONTH($N$2:$N$30)=MONTH($B$33))*(YEAR ($N$2:$N$30)=YEAR($B$33))*
(C2:C30))

How do I add a qualifier to this formula to have it look at the

probability
as well - for instance add all values where the probability is less than
100%,

I appreciate your assistance.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default SUM WITH MULTIPLE CRITERIA

And I appreciate your feed-back.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"readystate" wrote in message
...
Thanks...worked fine. Appreciate your assistance.

"Ragdyer" wrote:

Say "Probability" is in Column B, and you enter the criteria into B32:

=SUMPRODUCT((TEXT(N2:N30,"mm/yy")=TEXT(B33,"mm/yy"))*(B2:B30<B32)*C2:C30)

I combined the date criteria into a single function.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"readystate" wrote in message
...
I am trying to add a series of numbers using a Date Range formula,

however, I
am trying to add a criteria that would look at another column as well.

For
example, assume the following:

Date Probability Amount
01/08 90% $1,000,000
01/08 100% $2,000,000
02/08 75% $1,250,000
02/08 100% $2,500,000

I want to sum by month and probability. I have the following date
formula


=SUMPRODUCT((MONTH($N$2:$N$30)=MONTH($B$33))*(YEAR ($N$2:$N$30)=YEAR($B$33))*
(C2:C30))

How do I add a qualifier to this formula to have it look at the

probability
as well - for instance add all values where the probability is less
than
100%,

I appreciate your assistance.





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
Nesting COUNTIF for multiple criteria in multiple columns NeedExcelHelp07 Excel Worksheet Functions 1 December 12th 07 05:47 PM
match multiple criteria ina range from multiple criteria multiplet RG Excel Worksheet Functions 8 September 28th 07 04:21 AM
Index & Match functions - multiple criteria and multiple results [email protected] Excel Worksheet Functions 4 May 2nd 07 03:13 AM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Saleem Excel Worksheet Functions 1 January 12th 05 10:54 AM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Arain Excel Worksheet Functions 1 January 12th 05 08:33 AM


All times are GMT +1. The time now is 09:51 PM.

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"