Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mark Rucker
 
Posts: n/a
Default How do I setup criteria in DSUM to sum values NOT equal (<>)

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.
  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

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

Mark Rucker wrote:
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.



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disjoint range for DSUM criteria Jim Bennett Excel Worksheet Functions 2 June 9th 05 03:50 AM
how to sum highest ranking values meeting criteria within a limit? QuantumPion Excel Discussion (Misc queries) 4 June 7th 05 02:15 PM
conditional criteria in DSUM S. H. Drew Excel Discussion (Misc queries) 7 May 2nd 05 06:14 PM
how do I isolate only one row in the criteria for the dsum functi. lxnv Excel Worksheet Functions 1 March 22nd 05 02:21 PM
DSUM and DCount when criteria values are similar BAC Excel Worksheet Functions 1 February 14th 05 06:38 PM


All times are GMT +1. The time now is 07:16 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"