Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default Sub-Totals within timescale

Simon Thwaites,
Another option is pivot tables
for details have a look at
http://www.contextures.com/xlPivot01.html

Cecil

"Simon Thwaites" wrote in message
...
have 5000 rows in data in the following format with 6 positions, 16 weeks

and 12 activities:

Position Week Activity Hours
PD 1 Sampling 2
AD 2 PM 3
PD 3 Analysis 2
AD 4 Analysis 1
SPM 5 PM 2
SPM 2 PM 4.5
PD 3 Sampling 6
RE 2 Analysis 5.5
RE 2 PM 8.4
SPM 5 Analysis 3
SPM 5 Analysis 4
PD 3 Analysis 3
AD 2 PM 3
AD 1 Sampling 3
PD 1 Sampling 3
PD 1 PM 1
AD 2 Analysis 4
AD 2 PM 9
AD 2 Analysis 11

I need to write a macro which can work out, for example, the amount of

time spent by PDs on Sampling between
week 4 and 7.
Currently I have loads of DSums stored and it works but highly laborious.
Can I write a macro which loops through cells and for example dumps

sub-totals in cells,
for AD time spent on Sampling
PD time spent on Analysis within a particular timescale etc.etc.




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
blank vs. 0 when plotting a dated timescale graph [email protected] Excel Worksheet Functions 1 June 13th 07 12:27 AM
External data retrieve timescale Richard Edwards Links and Linking in Excel 1 April 27th 06 01:44 PM
Timescale in Charts Sally Excel Discussion (Misc queries) 2 February 14th 06 03:21 AM
One dimensional timescale [email protected] Charts and Charting in Excel 2 January 20th 06 02:19 PM
Sub-Totals within timescale Bob Phillips[_6_] Excel Programming 0 May 6th 04 06:02 PM


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