PC Review


Reply
Thread Tools Rate Thread

Dynamic DSUM?

 
 
Don
Guest
Posts: n/a
 
      11th Jun 2009
I have a large table with approx. 1500 rows and 34 columns. It
compiles and summarizes payroll hours, by day of the week, type of
hour, and location.

Each row contains a different unit identifier code.

Data is stored in 7 separate daily payroll files, one day on each tab
of the workbook. We have complex tab names such as SA, SU, MO, TU,
WE, TH, FR for these files. As you see, real complex.

Anyway, the dsum formula is pretty straight forward as shown below.

=DSUM(SU!$A$1:$J$10000,"OT",SU!$M$1:$O$2)

Here comes the problem. I need a way to make the DSUM formula dynamic
or the criteria cells to be dynamic so the unit identifier code is
brought into play. The daily payroll data files are between 5,000 and
50,000 lines and the same unit identifier will show up many times.

As the formula is written above, cell O2 is where the unit identifier
is shown. Although I realize I could just repeat M1:O2 1500 times
simply changing the unit identifier each time, it seems as though
there should be an easier way.

I am currently using SUMPRODUCT to get our data but it is very slow to
compile and very processor intensive. DSUM seems to work much quicker
and appears to be as accurate so it looks like an alternative.

Your assistance is greatly appreciated.

Don

 
Reply With Quote
 
 
 
 
Homey
Guest
Posts: n/a
 
      11th Jun 2009
Table command on Data menu may help you. It can plug list of labels into
criteria cell and make table of answrs.


"Don" <(E-Mail Removed)> wrote in message
news:7b122841-8443-4044-b245-(E-Mail Removed)...
|I have a large table with approx. 1500 rows and 34 columns. It
| compiles and summarizes payroll hours, by day of the week, type of
| hour, and location.
|
| Each row contains a different unit identifier code.
|
| Data is stored in 7 separate daily payroll files, one day on each tab
| of the workbook. We have complex tab names such as SA, SU, MO, TU,
| WE, TH, FR for these files. As you see, real complex.
|
| Anyway, the dsum formula is pretty straight forward as shown below.
|
| =DSUM(SU!$A$1:$J$10000,"OT",SU!$M$1:$O$2)
|
| Here comes the problem. I need a way to make the DSUM formula dynamic
| or the criteria cells to be dynamic so the unit identifier code is
| brought into play. The daily payroll data files are between 5,000 and
| 50,000 lines and the same unit identifier will show up many times.
|
| As the formula is written above, cell O2 is where the unit identifier
| is shown. Although I realize I could just repeat M1:O2 1500 times
| simply changing the unit identifier each time, it seems as though
| there should be an easier way.
|
| I am currently using SUMPRODUCT to get our data but it is very slow to
| compile and very processor intensive. DSUM seems to work much quicker
| and appears to be as accurate so it looks like an alternative.
|
| Your assistance is greatly appreciated.
|
| 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
DSUM - Need dynamic functionality Don Microsoft Excel Worksheet Functions 8 12th Jun 2009 07:13 PM
Using Dynamic Criteria with DCOUNT/DSUM Nigel Rablin Microsoft Excel Worksheet Functions 3 23rd May 2007 01:20 PM
Dynamic Range with unused formula messing up x axis on dynamic graph cabybake Microsoft Excel Discussion 6 25th Jan 2006 06:40 PM
How to network dynamic DSL connected winXP to dynamic DSL connectedwin2K between Office & home? dummy Windows XP General 1 20th Nov 2005 04:28 AM
Repeater, Panel, dynamic user control - can't retrieve dynamic controls in code behind theComputer7 Microsoft C# .NET 2 23rd Jun 2004 04:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:21 PM.