LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default DSUM - Need dynamic functionality

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
Is it bug or functionality? Surinder Singh Excel Discussion (Misc queries) 6 February 9th 09 01:28 PM
Odd functionality Amber Excel Worksheet Functions 4 July 10th 07 10:12 PM
Using Dynamic Criteria with DCOUNT/DSUM Nigel Rablin Excel Worksheet Functions 3 May 23rd 07 01:20 PM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Charts and Charting in Excel 0 March 1st 06 01:05 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM


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