PC Review


Reply
Thread Tools Rate Thread

DSUM I think

 
 
donflak@gmail.com
Guest
Posts: n/a
 
      27th Feb 2009
I have a need to sum data from a table on a different sheet in a
workbook but I need it to only return data that matches multiple
criteria.

The table has multiple columns but the 3 important columns are A, E, &
H.

I have column headers A=FIN, E=LDC, and H=OT

On the report page I am assembling I have a column (A) which includes
Finance Numbers.

I need a formula that will search the SATURDAY tab of the workbook
which contains data through line 35000 and sum the figures in the OT
column only if certain criteria in the FIN column and the LDC column
match.

I have the following LDC criteria already established in S1:T3

LDC LDC
>=2000 <=2999
>=9200 <=9200


The formula I already have is:

=DSUM(SATURDAY!$A$1:$J$35000,"OT",$S$1:$T$3)

The problem is that this formula does not filter the data for finance
number relevance, it only filters based on the LDC criteria I
established in S1:T3.

How do I add the 2nd criteria to match the value I have in my report
column A with the values in the SATURDAY tab Column A "FIN".

I need my results filtered on both criteria.

Thanks in advance for any assistance you can provide.

Don
 
Reply With Quote
 
 
 
 
Tom Hutchins
Guest
Posts: n/a
 
      27th Feb 2009
Add another column to your criteria section, titled FIN. In this column pull
in the values you need to match from the report sheet. You will have to
repeat the LDC criteria for each FIN value in the criteria section. For
example, using your LDC criteria, if the FIN values to match are AAA, BBB,
and XXX, your criteria section might look like this:

FIN LDC LDC
AAA >=2000 <=2999
AAA >=9200 <=9200
BBB >=2000 <=2999
BBB >=9200 <=9200
XXX >=2000 <=2999
XXX >=9200 <=9200

and your DSUM formula might be
=DSUM(SATURDAY!$A$1:$J$35000,"OT",$S$1:$U$7)

I don't understand the second line of your LDC criteria. >=9200 AND <=9200
will only return values exactly equal to 9200.

Hope this helps,

Hutch

"(E-Mail Removed)" wrote:

> I have a need to sum data from a table on a different sheet in a
> workbook but I need it to only return data that matches multiple
> criteria.
>
> The table has multiple columns but the 3 important columns are A, E, &
> H.
>
> I have column headers A=FIN, E=LDC, and H=OT
>
> On the report page I am assembling I have a column (A) which includes
> Finance Numbers.
>
> I need a formula that will search the SATURDAY tab of the workbook
> which contains data through line 35000 and sum the figures in the OT
> column only if certain criteria in the FIN column and the LDC column
> match.
>
> I have the following LDC criteria already established in S1:T3
>
> LDC LDC
> >=2000 <=2999
> >=9200 <=9200

>
> The formula I already have is:
>
> =DSUM(SATURDAY!$A$1:$J$35000,"OT",$S$1:$T$3)
>
> The problem is that this formula does not filter the data for finance
> number relevance, it only filters based on the LDC criteria I
> established in S1:T3.
>
> How do I add the 2nd criteria to match the value I have in my report
> column A with the values in the SATURDAY tab Column A "FIN".
>
> I need my results filtered on both criteria.
>
> Thanks in advance for any assistance you can provide.
>
> Don
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with DSUM Gator Microsoft Access Form Coding 3 18th Nov 2008 05:29 PM
DSUM =?Utf-8?B?Zmx5aW5nYnI=?= Microsoft Excel Worksheet Functions 1 4th Feb 2006 08:32 PM
dsum PaulOakley Microsoft Excel New Users 1 18th Jul 2005 04:49 PM
DSUM =?Utf-8?B?VG5rbnNuag==?= Microsoft Excel Worksheet Functions 1 10th Jun 2005 03:31 AM
DSum Gina Microsoft Access Reports 2 12th Apr 2004 06:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:36 PM.