Where Used...

tmanya

New Member
Joined
Mar 27, 2011
Messages
6
Excel ‘07

SCENARIO A:

I have 4 worksheets with the following columns in each (all are text):

A: Comp
B: CompDesc
C: Material
D: MatDesc

The Worksheets are named 01, 02, 03, 04.

I have named ranges that cover each column of data – _01Comp, _01CompDesc, _01Material, _01MatDesc – with the number changing depending on the worksheet (_02Comp, _03Comp, etc). The named ranges do not include the column heading (ex. _04Comp = $A$2:$A$111).

Sheet 01 is an export of data that shows what assembly each component is used in (one component can go into mult assemblies and each assembly can have more than one of the components in it). Sheet 02 takes the list of assemblies from column C in sheet 01, filtered down to a unique list, and pulls a new listing of where used. Sheet 03 does the same from the sheet 02 data and sheet 04 does the same with the 03.

Not every component goes all the way to the 4th set so the ‘end’ may not only be in the 4th tab.

I ultimately need to identify all the final assemblies that each component goes into.

I’m not sure if the best way to handle this is with a formula (or a series or them) or with VBA. I am fairly comfortable working with code that has already been written but have never written any myself.

Any help, assistance, advice, direction would be hugely appreciated.

Thank you,
Tanya
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Here are some data examples.

01
Excel Workbook
ABCD
101Comp01CompDesc01Material01MatDesc
21489308IC, 256MB FLASH MEMORY BGA641489308EHIC, 256MB FLS MEM SW REV 03.02.000 BGA64
31489308IC, 256MB FLASH MEMORY BGA641489308EJIC, 256MB FLS MEM SW REV 03.02.000 BGA64
41489308IC, 256MB FLASH MEMORY BGA641489308EKIC, 256MB FLS MEM SW REV 03.50.000 BGA64
51489308IC, 256MB FLASH MEMORY BGA641489308ELIC, 256MB FLS MEM SW REV 04.02.000 BGA64
61489308IC, 256MB FLASH MEMORY BGA641489308FIC, 256MB FLASH MEMORY (SW REV20.00.000)
71489308IC, 256MB FLASH MEMORY BGA641489308GIC, 256MB FLASH MEMORY (SW REV02.03.000)
81489308IC, 256MB FLASH MEMORY BGA641489308HIC, 256MB FLASH MEMORY (SW REV02.04.000)
91489308IC, 256MB FLASH MEMORY BGA641489308JIC, 256MB FLASH MEMORY (SW REV20.01.000)
01
Excel 2007

02
Excel Workbook
ABCD
102Comp02CompDesc02Material02MatDesc
21489308EHIC, 256MB FLS MEM SW REV 03.02.000 BGA641556150-8EHJ61J MY09 HFT PCBA LEADFREE,
31489308EHIC, 256MB FLS MEM SW REV 03.02.000 BGA641556150-9EHJ61J MY09 HFT PCBA LEADFREE,
02
Excel 2007

03
Excel Workbook
ABCD
103Comp03CompDesc03Material03MatDesc
21556150-8EHJ61J MY09 HFT PCBA LEADFREE,2085684+5J61L MY11 HFT NA LEADFREE,
31556150-8EHJ61J MY09 HFT PCBA LEADFREE,2085684+6J61L MY11 HFT NA LEADFREE,
41556150-8EHJ61J MY09 HFT PCBA LEADFREE,2085769+5J50L MY11 HFT NA LEADFREE,
51556150-8EHJ61J MY09 HFT PCBA LEADFREE,2085770+5J74G MY11 HFT NA LEADFREE,
61556150-8EHJ61J MY09 HFT PCBA LEADFREE,2127983+6J68C MY11 HFT NA LEADFREE,
71556150-8EHJ61J MY09 HFT PCBA LEADFREE,2127986+5J31T MY11 HFT NA LEADFREE,
81556150-8EHJ61J MY09 HFT PCBA LEADFREE,2127986+6J31T MY11 HFT NA LEADFREE,
03
Excel 2007

04
Excel Workbook
ABCD
104Comp04CompDesc04Material04MatDesc
2
04
Excel 2007
 
Upvote 0

Forum statistics

Threads
1,224,606
Messages
6,179,866
Members
452,948
Latest member
UsmanAli786

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