Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Sum with multiple conditions - sumproduct, dsum or dproduct?
Hello,
I'm trying to get a total sum from one column, based on criteria in two other columns, where one of the criteria is a date range. For example, Column A is a date; Column B is a category, and Column C is a $ spent figure. I'd like to know if something is within a specific date range (e.g., Col A date =1/1/08 and <=3/31/08; and tied to a specific category (e.g., Col B = Supplies); then what is the total sum that was spent (Col C) for this category in this date range? I've tried sumif; sumproduct, dsum, dproduct based on examples in discussion groups, but none seem to help. Please HELP! :) Thank you in advance. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Sum with multiple conditions - sumproduct, dsum or dproduct?
What version of Excel are you using? You can do this using SUMIFS if you
have Excel 2007. It's a multi-criteria version of SUMIF and it's new with 2007. "hjneedshelp" wrote: Hello, I'm trying to get a total sum from one column, based on criteria in two other columns, where one of the criteria is a date range. For example, Column A is a date; Column B is a category, and Column C is a $ spent figure. I'd like to know if something is within a specific date range (e.g., Col A date =1/1/08 and <=3/31/08; and tied to a specific category (e.g., Col B = Supplies); then what is the total sum that was spent (Col C) for this category in this date range? I've tried sumif; sumproduct, dsum, dproduct based on examples in discussion groups, but none seem to help. Please HELP! :) Thank you in advance. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Sum with multiple conditions - sumproduct, dsum or dproduct?
=SUMPRODUCT(--(A2:A200=--"2008-01-01"),--(A2:A200<--"2008-04-01"),--(B2:B200="Supplies"),C2:C200)
Unless you have Excel 2007, you cannot use whole columns with SUMPRODUCT -- __________________________________ HTH Bob "hjneedshelp" wrote in message ... Hello, I'm trying to get a total sum from one column, based on criteria in two other columns, where one of the criteria is a date range. For example, Column A is a date; Column B is a category, and Column C is a $ spent figure. I'd like to know if something is within a specific date range (e.g., Col A date =1/1/08 and <=3/31/08; and tied to a specific category (e.g., Col B = Supplies); then what is the total sum that was spent (Col C) for this category in this date range? I've tried sumif; sumproduct, dsum, dproduct based on examples in discussion groups, but none seem to help. Please HELP! :) Thank you in advance. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Sum with multiple conditions - sumproduct, dsum or dproduct?
Thanks! I'll try that.
I have Excel 2003. I'm hoping to skip MS Office '07 for the next one. Thanks! :) "Bob Phillips" wrote: =SUMPRODUCT(--(A2:A200=--"2008-01-01"),--(A2:A200<--"2008-04-01"),--(B2:B200="Supplies"),C2:C200) Unless you have Excel 2007, you cannot use whole columns with SUMPRODUCT -- __________________________________ HTH Bob "hjneedshelp" wrote in message ... Hello, I'm trying to get a total sum from one column, based on criteria in two other columns, where one of the criteria is a date range. For example, Column A is a date; Column B is a category, and Column C is a $ spent figure. I'd like to know if something is within a specific date range (e.g., Col A date =1/1/08 and <=3/31/08; and tied to a specific category (e.g., Col B = Supplies); then what is the total sum that was spent (Col C) for this category in this date range? I've tried sumif; sumproduct, dsum, dproduct based on examples in discussion groups, but none seem to help. Please HELP! :) Thank you in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
SUMPRODUCT multiple conditions | Excel Discussion (Misc queries) | |||
SUMPRODUCT or INDEX/MATCH for multiple conditions and multiple rec | Excel Discussion (Misc queries) | |||
Sumproduct Multiple < Conditions | Excel Worksheet Functions | |||
Multiple SumProduct conditions | Excel Worksheet Functions | |||
Sumproduct Multiple Conditions | Excel Worksheet Functions |