Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Auto generation of 3 levels of running number

I am currently working on a spreadsheet that should allow me to have a
running number of a task (T), sub task (ST) and sub sub task (SST). For
instance, for T1 consists of 3 ST. ST1 has 2 SST, and ST3 has 3 SST. T2
has only 2 ST.T2 consists of 2 ST with 2SST each.

For simplification, the following is the scenario:
T1 T2
ST1 ST2 ST3 ST1 ST2
SST1 SST2 SST1 SST2 SST3 SST1 SST2 SST1 SST2

Question: I would like for T to be assigned with a numerical value e.g.
1,2,3 with the ST having 1 decimal place (dp) no. e.g. 1.1, 1.2,
3.1,3.2,3.3 and SST having a 2 dp no. 1.1.1, 1.2.1 etc.

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Auto generation of 3 levels of running number

You don't say (not that I understand) how the data would be structured, but
assuming task in column A, sub-task in column B, sub-sub-task in column C,
you could use

=SUMIF(A:A,T1) for task
=SUMPRODUCT(--(A1:A1000=T1),--(B1:B1000=ST1),B1:B1000) for sub-task
=SUMPRODUCT(--(A1:A1000=T1),--(B1:B1000=ST1),--(C1:C1000=SST1),C1:C1000) for
sub-sub-task

By putting T1,ST1,SST1 in cells you can compare against the cell rather than
the value.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"hamiraj" wrote in message
lkaboutsoftware.com...
I am currently working on a spreadsheet that should allow me to have a
running number of a task (T), sub task (ST) and sub sub task (SST). For
instance, for T1 consists of 3 ST. ST1 has 2 SST, and ST3 has 3 SST. T2
has only 2 ST.T2 consists of 2 ST with 2SST each.

For simplification, the following is the scenario:
T1 T2
ST1 ST2 ST3 ST1 ST2
SST1 SST2 SST1 SST2 SST3 SST1 SST2 SST1 SST2

Question: I would like for T to be assigned with a numerical value e.g.
1,2,3 with the ST having 1 decimal place (dp) no. e.g. 1.1, 1.2,
3.1,3.2,3.3 and SST having a 2 dp no. 1.1.1, 1.2.1 etc.

Thanks.



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
Auto Numbering certificate generation scooterboy65 Excel Discussion (Misc queries) 2 September 17th 08 09:24 PM
Pivot Table For Running Inventory Levels GarrettD78 Excel Discussion (Misc queries) 0 May 15th 07 06:26 PM
Automatic number generation. BM Excel Discussion (Misc queries) 1 August 14th 06 02:38 PM
Auto generation of 3 levels of running number hamiraj Excel Worksheet Functions 1 December 27th 04 10:31 AM
Unique ID number generation Matt[_18_] Excel Programming 3 October 6th 03 03:18 PM


All times are GMT +1. The time now is 10:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"