Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default massive sorting exercise!

Hi
I have been tasked with a massive sorting exercise, example below

S/S pf a list of assets that each have a unique asset number.
Each asset is linked to a Parent asset through the unique asset number.
The data dump has not sorted these assets into the hirerarchy view (thats
what i have to now do)
Need to create either a macro or something to perform this function on 100+
s/s that have between 50k to 20m of data.

example

L&E
Lifts
Lift Car
Doors
Walls
Floor
Ceiling
Lift motor
Gear box
Motor
Sparks


I am sure you get the kinda of idea - any help on this would be excellent!!
Thanks Pete







  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default massive sorting exercise!

go through the list
check if there is a parent assest
if so, insert a cell on the left and place the parent asset name there
(determined through the unique asset number). On the right end, put in the
parent assets unique asset number
continue to do this until you don't have any more assests in the leftmost
column that have a parent asset.
remove all the extraneous unique asset numbers from the right side
sort the data. If you want an indented list, remove parents

Excel only has 65K rows, so 20M will not fit on the sheet.

--
Regards,
Tom Ogilvy





"Little pete" wrote in message
...
Hi
I have been tasked with a massive sorting exercise, example below

S/S pf a list of assets that each have a unique asset number.
Each asset is linked to a Parent asset through the unique asset number.
The data dump has not sorted these assets into the hirerarchy view (thats
what i have to now do)
Need to create either a macro or something to perform this function on

100+
s/s that have between 50k to 20m of data.

example

L&E
Lifts
Lift Car
Doors
Walls
Floor
Ceiling
Lift motor
Gear box
Motor
Sparks


I am sure you get the kinda of idea - any help on this would be

excellent!!
Thanks Pete









  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default massive sorting exercise!

that souunds easy but how do you write that as a macro?
if the unique asset number was in column W and the parent asset number for
that asset was in column X

THANKS!!



"Tom Ogilvy" wrote:

go through the list
check if there is a parent assest
if so, insert a cell on the left and place the parent asset name there
(determined through the unique asset number). On the right end, put in the
parent assets unique asset number
continue to do this until you don't have any more assests in the leftmost
column that have a parent asset.
remove all the extraneous unique asset numbers from the right side
sort the data. If you want an indented list, remove parents

Excel only has 65K rows, so 20M will not fit on the sheet.

--
Regards,
Tom Ogilvy





"Little pete" wrote in message
...
Hi
I have been tasked with a massive sorting exercise, example below

S/S pf a list of assets that each have a unique asset number.
Each asset is linked to a Parent asset through the unique asset number.
The data dump has not sorted these assets into the hirerarchy view (thats
what i have to now do)
Need to create either a macro or something to perform this function on

100+
s/s that have between 50k to 20m of data.

example

L&E
Lifts
Lift Car
Doors
Walls
Floor
Ceiling
Lift motor
Gear box
Motor
Sparks


I am sure you get the kinda of idea - any help on this would be

excellent!!
Thanks Pete










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
training exercise littlebit New Users to Excel 2 October 7th 06 06:17 PM
Translation Exercise ... Rebecca Excel Worksheet Functions 9 June 6th 06 09:18 PM
search massive lynch44 Excel Worksheet Functions 0 May 27th 06 02:10 AM
Lottery exercise Gary''s Student Excel Worksheet Functions 1 December 5th 05 07:20 PM
A 13 period exercise Steved Excel Worksheet Functions 1 August 9th 05 09:29 AM


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