LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Dynamic DSUM?

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

 
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
DSUM - Need dynamic functionality Don[_3_] Excel Worksheet Functions 8 June 12th 09 07:13 PM
DSUM I think [email protected] Excel Programming 2 February 27th 09 10:10 PM
DSUM Jed Excel Worksheet Functions 0 January 8th 08 11:35 PM
Using Dynamic Criteria with DCOUNT/DSUM Nigel Rablin Excel Worksheet Functions 3 May 23rd 07 01:20 PM
Sum If or DSUM help? towl Excel Worksheet Functions 2 August 16th 05 03:30 PM


All times are GMT +1. The time now is 07:23 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"