How do I setup criteria in DSUM to sum values NOT equal (<>)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Greetz,
I want to use DSUM on a data set. I want to sum values in a field where the
criteria is setup as NOT EQUAL rather than EQUALS. Like this:
CRITERIA1
<>"MAY2004"

Which would give me a sum of all values where field/column CRITERIA1 is not
equal to MAY2004. But I can't figure out how to get it to do this for me.
 
Does the Criteria1 column contain text, or dates formatted as mmmyyyy?
If it's text, your example should work.
If it's dates, you could enter a date in another cell, and refer to it,
e.g.: ="<>"&P1

Or, use two columns for the date in the criteria area, e.g.:

Criteria1 Criteria1
="<"&P1
=">"&Q1

where P1 contains 5/1/05 and Q1 contains 5/31/05
 

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

Similar Threads

Summing a range of cells with criteria 7
DSUM using alpha numeric codes 1
Dsum Help 0
Sumif criteria "equal" 3
multiple criteria then sum 5
DSUM criteria 3
Excel Macro to use cells as a autofilter 0
DSUM with dates 1

Back
Top