ArchieDavid
New Member
- Joined
- Jan 31, 2014
- Messages
- 3
Hi,
I have this data in excel sheet1:
Component Name Partname
BMW Car Engine
BMW Car Body
BMW Car Wheels
Cesna APlane Rotor
Rotor Spinner Blade
Engine CarPart Piston
Piston SmlPart SparkPlug
I would like to create a macro and would output this on sheet2
If Key used is BMW the output would be:
Level Component Name Partname
1 BMW Car Engine
1 BMW Car Body
1 BMW Car Wheels
2 Engine CarPart Piston
3 Piston SmlPart Spark Plug
if key used is Cesna, output on sheet2 should be:
Level Component Name Partname
1 Cesna APlane Rotor
2 Rotor Spinner Blade
Thanks in advance.
Archie
I have this data in excel sheet1:
Component Name Partname
BMW Car Engine
BMW Car Body
BMW Car Wheels
Cesna APlane Rotor
Rotor Spinner Blade
Engine CarPart Piston
Piston SmlPart SparkPlug
I would like to create a macro and would output this on sheet2
If Key used is BMW the output would be:
Level Component Name Partname
1 BMW Car Engine
1 BMW Car Body
1 BMW Car Wheels
2 Engine CarPart Piston
3 Piston SmlPart Spark Plug
if key used is Cesna, output on sheet2 should be:
Level Component Name Partname
1 Cesna APlane Rotor
2 Rotor Spinner Blade
Thanks in advance.
Archie