View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ted M H Ted M H is offline
external usenet poster
 
Posts: 83
Default 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.