Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dan in NY
 
Posts: n/a
Default database criteria

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

Hi Dan,

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

=SUMIF(range,criteria,sum_range)

Cheers,
Jon

"Dan in NY" wrote:

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

  #3   Report Post  
Dan in NY
 
Posts: n/a
Default

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?

"Springbok" wrote:

Hi Dan,

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

=SUMIF(range,criteria,sum_range)

Cheers,
Jon

"Dan in NY" wrote:

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

  #4   Report Post  
Dan in NY
 
Posts: n/a
Default

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.


"Dan in NY" wrote:

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?

"Springbok" wrote:

Hi Dan,

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

=SUMIF(range,criteria,sum_range)

Cheers,
Jon

"Dan in NY" wrote:

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

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
Function that filters a list (Database) for criteria in a range a. FirstVette52 Excel Worksheet Functions 0 February 8th 05 04:37 PM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM
Graphing Database Growth Rate DavidM Charts and Charting in Excel 1 February 2nd 05 12:01 AM
Specify a null value in an Excel Database criteria range Johnnyy2k Excel Worksheet Functions 2 December 28th 04 04:43 PM
Can I use a cell reference in the criteria for the sumif function. Number Cruncher Excel Worksheet Functions 2 November 4th 04 07:52 PM


All times are GMT +1. The time now is 12:21 AM.

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

About Us

"It's about Microsoft Excel"