=SUMIF(Range1,1,Range2)
will sum Range2 where Range1 equals 1
=SUMPRODUCT(--(Range1=1),--(Range3=2),Range2)
will sum Range2 where Range1 equals 1 AND Range3 equals 2
so sumproduct is much more flexible for this kind of work than DSUM ever
will be.Maybe you should post back without involving DSUM and just inform
what you are trying to do

Signature
Regards,
Peo Sjoblom
>I have a large worksheet named "By Week" with H columns of data, and about
> 6000 rows of data. I am trying to sum a range in a column labeled "Hours"
[quoted text clipped - 21 lines]
> can 'click' on the criteria value I want and not have a data range that
> includes multiple values.
archsmooth - 17 Sep 2007 19:20 GMT
Actually, I had tried SUMIF, but was doing it wrong. I am too lazy to
actually type in the conditional each time, and was incorrectly using an '='
with the cell I selected that contained the criterion value I wanted. After
reading your reply, I tried again and found that a formula such as:
=SUMIF('By Week'!A$2:A$5903,'By Week'!A44,'By Week'!G$2:G$5903) where A44
contains the desired criterion will work nicely for all columns.
> =SUMIF(Range1,1,Range2)
>
[quoted text clipped - 33 lines]
> > can 'click' on the criteria value I want and not have a data range that
> > includes multiple values.