Interesting Multiple Coincidences or Pivot Table Problem

Josue Barocio

Board Regular
Joined
Mar 8, 2002
Messages
101
I need a unique type of Pivot (I think) table. The file below explains what is needed better than I can in words.

The input file has the name of assemblies in column A and a list of the components needed to produce the assembly in column B. In the list, part 10 is used in assemblies Control and Sensor. Part 14 is used in the Control and Dynamic assemblies and part 20 is used in the Sensor and Dynamic assemblies.

The output file needs to be a matrix identifying at a glance assemblies that have common parts, Control, Sensor, and Dynamic in the example. The only assembly with unique parts is the Titan.

I can approach the objective with a Pivot table, but I have not been able to avoid listing all the components (17 in the example, about 50 assemblies and 1200 records in the actual live file)

Any ideas about functions that may help get to the desired output file would be appreciated. I've tried transposing, vlookup, hlookup, match, etc.

Thanks,

Joe
Matrix.xls
ABCDE
1INPUTFILE
2ASSEMBLYPART
3Control10
4Control11
5Control12
6Control13
7Control14
8Sensor20
9Sensor21
10Sensor10
11Sensor22
12Dynamic30
13Dynamic14
14Dynamic20
15Dynamic31
16Dynamic32
17Titan40
18Titan41
19Titan42
20
21OUTPUTFILE
22ControlSensorDynamicTitan
23Controlxxx
24Sensorxxx
25Dynamicxxx
26Titanx
Sheet1
 
arunjhalani said:
JPG
Is it necessary to follow the route of MS Query?
I just copied the Column of Assembly into another Column & then Made a pivot in which both row & Column field has Assembly as field & the Data field has part into it; This also solves the problem.
Well, that's another approach ! so it's not necessary, but I think it's still the one that is most "maintanable" in time. Mainly because you don't have to, a) modify the input file, and b) create maunally (or with another method) the array of unique assemblies.
 
Upvote 0

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
arunjhalani said:
JPG
Is it necessary to follow the route of MS Query?
I just copied the Column of Assembly into another Column & then Made a pivot in which both row & Column field has Assembly as field & the Data field has part into it; This also solves the problem.

The method you suggest is exactly what I tried in my first attempt, but I was only able to display intersections of the assemblies, never the common parts. If you are able to pivot the original file directly into the matrix provided in the post, please describe the steps in more detail.

Thanks,

Joe
 
Upvote 0

Forum statistics

Threads
1,216,122
Messages
6,128,961
Members
449,480
Latest member
yesitisasport

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top