database criteria

D

Dan in NY

Hi, I'm using Excel 2002 and I'm using the DSUM formula to sum various rows
where the criteria is "F". However, there are also rows where the values are
"FWD". So, in the resulting DSUM formula, it sums both "F" and "FWD" rows.
Is there a way to make the criteria explicit to just "F"? Thanks in advance
 
S

Springbok

Hi Dan,

By your description I think you need to use a SUMIF.

=SUMIF(range,criteria,sum_range)

Cheers,
Jon
 
D

Dan in NY

I'm acutally using multiple criteria (hense the DSUM), of which one of them
is where a particular field is "F". Excel seems to match loosely with
anything that starts with "F" since when I use "FWD" as the criteria, it
correctly pulls only rows with "FWD" in that field.

Any other thoughts?
 
D

Dan in NY

I found the solution in another post (should have searched harder).

In the criteria area, instead of: F, it should be ="=F"

Thanks to Debra Dalgleish for the solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top