List Multiple Values Found in Column

meppwc

Well-known Member
Joined
May 16, 2003
Messages
604
Office Version
  1. 365
Platform
  1. Windows
I have a spreadsheet where column A consists of printer models. Column B is a list of associated part numbers.
NOTE: The values in both columns can be repeated. The data starts in row 2.
For each part number starting in B2 continuing to B4000, I am hoping to list the associated printer models found in column A starting at column C and continuing to the right until all values are found.
In the enclosed table you will see that the value in B2 through B5 resulted in one result found in column A. Also notice that in B6 the result was 7 printer models found in column A.
The formula that I seek will provide the results as seen from column C through column I. Using my real data the results could go beyond column I.

IB_CONTR_Asset_Listing_Account_Number_Report_MS_L1 (2).xls
ABCDEFGHI
1MODELPARTRESULTRESULTRESULTRESULTRESULTRESULTRESULT
21000Z-HEW51641A-DS1000Z-HEW
31000Z-HEW51641A-RM-DS1000Z-HEW
41000Z-HEW51645A-DS1000Z-HEW
51000Z-HEW51645A-RM-DS1000Z-HEW
61012-HEWQ2612A-DS1012-HEW1012-HEW1020Z-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
71012-HEWQ2612AJ-RM-DS
81012-HEWQ2612A-RM-DS
91012-HEWQ2612A-DS
101012-HEWQ2612AJ-RM-DS
111012-HEWQ2612A-RM-DS
121020Z-HEWQ2612A-DS
131020Z-HEWQ2612AJ-RM-DS
141020Z-HEWQ2612A-RM-DS
151020Z-HEWQ2612A-DS
161022-HEWQ2612A-DS
171022-HEWQ2612AJ-RM-DS
181022-HEWQ2612A-RM-DS
191022-HEWQ2612A-DS
201022-HEWQ2612AJ-RM-DS
211022-HEWQ2612A-RM-DS
221022-HEWQ2612A-DS
231022-HEWQ2612AJ-RM-DS
241022-HEWQ2612A-RM-DS
251100Z-HEWC4092A-DS
Sheet4
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
What version of Excel are you using?

I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Thank you for the advice. I updated my account as you suggested. I am using Office 365 and my version of Excel is 2012
 
Upvote 0
Thanks for that, how about
+Fluff 1.xlsm
ABCDEFGHI
1MODELPARTRESULTRESULTRESULTRESULTRESULTRESULTRESULT
21000Z-HEW51641A-DS1000Z-HEW
31000Z-HEW51641A-RM-DS1000Z-HEW
41000Z-HEW51645A-DS1000Z-HEW
51000Z-HEW51645A-RM-DS1000Z-HEW
61012-HEWQ2612A-DS1012-HEW1012-HEW1020Z-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
71012-HEWQ2612AJ-RM-DS1012-HEW1012-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
81012-HEWQ2612A-RM-DS1012-HEW1012-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
91012-HEWQ2612A-DS1012-HEW1012-HEW1020Z-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
101012-HEWQ2612AJ-RM-DS1012-HEW1012-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
111012-HEWQ2612A-RM-DS1012-HEW1012-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
121020Z-HEWQ2612A-DS1012-HEW1012-HEW1020Z-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
131020Z-HEWQ2612AJ-RM-DS1012-HEW1012-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
141020Z-HEWQ2612A-RM-DS1012-HEW1012-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
151020Z-HEWQ2612A-DS1012-HEW1012-HEW1020Z-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
161022-HEWQ2612A-DS1012-HEW1012-HEW1020Z-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
171022-HEWQ2612AJ-RM-DS1012-HEW1012-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
181022-HEWQ2612A-RM-DS1012-HEW1012-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
191022-HEWQ2612A-DS1012-HEW1012-HEW1020Z-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
201022-HEWQ2612AJ-RM-DS1012-HEW1012-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
211022-HEWQ2612A-RM-DS1012-HEW1012-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
221022-HEWQ2612A-DS1012-HEW1012-HEW1020Z-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
231022-HEWQ2612AJ-RM-DS1012-HEW1012-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
241022-HEWQ2612A-RM-DS1012-HEW1012-HEW1020Z-HEW1022-HEW1022-HEW1022-HEW
251100Z-HEWC4092A-DS1100Z-HEW
26
Data
Cell Formulas
RangeFormula
C2:C5,C25,C23:H24,C22:I22,C20:H21,C19:I19,C17:H18,C15:I16,C13:H14,C12:I12,C10:H11,C9:I9,C7:H8,C6:I6C2=TRANSPOSE(FILTER($A$2:$A$100,$B$2:$B$100=B2))
 
Upvote 0
Or, if you only want the distinct models
+Fluff 1.xlsm
ABCDEFGHI
1MODELPARTRESULTRESULTRESULTRESULTRESULTRESULTRESULT
21000Z-HEW51641A-DS1000Z-HEW
31000Z-HEW51641A-RM-DS1000Z-HEW
41000Z-HEW51645A-DS1000Z-HEW
51000Z-HEW51645A-RM-DS1000Z-HEW
61012-HEWQ2612A-DS1012-HEW1020Z-HEW1022-HEW
71012-HEWQ2612AJ-RM-DS1012-HEW1020Z-HEW1022-HEW
81012-HEWQ2612A-RM-DS1012-HEW1020Z-HEW1022-HEW
91012-HEWQ2612A-DS1012-HEW1020Z-HEW1022-HEW
101012-HEWQ2612AJ-RM-DS1012-HEW1020Z-HEW1022-HEW
111012-HEWQ2612A-RM-DS1012-HEW1020Z-HEW1022-HEW
121020Z-HEWQ2612A-DS1012-HEW1020Z-HEW1022-HEW
131020Z-HEWQ2612AJ-RM-DS1012-HEW1020Z-HEW1022-HEW
141020Z-HEWQ2612A-RM-DS1012-HEW1020Z-HEW1022-HEW
151020Z-HEWQ2612A-DS1012-HEW1020Z-HEW1022-HEW
161022-HEWQ2612A-DS1012-HEW1020Z-HEW1022-HEW
171022-HEWQ2612AJ-RM-DS1012-HEW1020Z-HEW1022-HEW
181022-HEWQ2612A-RM-DS1012-HEW1020Z-HEW1022-HEW
191022-HEWQ2612A-DS1012-HEW1020Z-HEW1022-HEW
201022-HEWQ2612AJ-RM-DS1012-HEW1020Z-HEW1022-HEW
211022-HEWQ2612A-RM-DS1012-HEW1020Z-HEW1022-HEW
221022-HEWQ2612A-DS1012-HEW1020Z-HEW1022-HEW
231022-HEWQ2612AJ-RM-DS1012-HEW1020Z-HEW1022-HEW
241022-HEWQ2612A-RM-DS1012-HEW1020Z-HEW1022-HEW
251100Z-HEWC4092A-DS1100Z-HEW
26
Data
Cell Formulas
RangeFormula
C2:C5,C25,C6:E24C2=TRANSPOSE(UNIQUE(FILTER($A$2:$A$100,$B$2:$B$100=B2)))
 
Upvote 0
Would I be correct in saying that I would copy =TRANSPOSE(FILTER($A$2:$A$100,$B$2:$B$100=B2)) to C2 and then copy it all the way down to C3295? That is what I tried and I did notice some positive results but also have many "#CALC!" errors as well. Did I do something incorrectly?
 
Upvote 0
Oh I see. I needed to adjust the range. I am good now and thank you so much. This will save me a ton of manual work.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,018
Messages
6,122,703
Members
449,093
Latest member
Mnur

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