Create List in row if value matches

NORRILLOUS

New Member
Joined
Apr 10, 2014
Messages
36
Office Version
  1. 365
Platform
  1. Windows
Sheet 1
A​
B​
C​
Machine​
Order Number​
ID Number​
31hbkb1252we
2qfw1262er
1wf3df2er7e
1wgfwsg2e7e7
2wdgw27e2e748
3cedvh4848859

Sheet 2
A​
B​
Machine​
O,ID Number​
1wf3df,2er7e,wgfwsg,2e7e7

For my example, I would like to use the data above in sheet 1 to return values (Columns B,C) to sheet 2 (Column B) if value is found in Column A
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
What version of Excel are you using?

I suggest that you update your Account details (or 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
What version of Excel are you using?

I suggest that you update your Account details (or 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’)
I am using Office 365. and I updated my profile! Thanks for the tip(y)
 
Upvote 0
Ok, thanks for that. How about
Excel Formula:
=TEXTJOIN(",",,FILTER(Sheet1!$B$2:$C$7,Sheet1!$A$2:$A$7=A2))
 
Upvote 0
That works really well is there a way to add a second filter to filter it further down if needed? ie..

Excel Formula:
=TEXTJOIN(",",,FILTER(Order Number Range,Machine Range=A2),Filter(Date Range=D2)
 
Upvote 0
Yes it's possible, but you would need to supply some sample data

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
Yes it's possible, but you would need to supply some sample data

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
I tried this as well. but I get a #VALUE! error. Let me get the other setup and I will return.

Excel Formula:
=TEXTJOIN(",",,FILTER('Press Schedule'!$F$2:$F$5000,'Press Schedule'!$E$2:$E$5000=E18)*('Press Schedule'!A2:A5000=G3))
 
Upvote 0
Data:

Production Schedule Analysis.xlsm
ABCDEFGHIJKLM
1Order Due DatePackage.VolumePackage.ShapePackage.SystemMachine NameOrder NumberGlobal Order ID Order Quantity Package.Sealing Var.Packaging Material.DenominationCustomer NameDesign Number/ RevisionProduction Status
24/30/2021946 mlBaseGT 6P17608993493567724,000-/mCloverUS-L952-04Not Started
34/30/2021946 mlBaseGT 6P17608593493568148,000-/mCloverUS-L923-04Not Started
44/30/2021946 mlBaseGT 6P17608493493568024,000-/mCloverUS-L953-03Not Started
54/30/2021946 mlBaseGT 6P17609093493568424,000-/mCloverUS-L926-02Not Started
65/3/2021946 mlBaseGT 6P17614993495507524,000-/mGold Medal Products CoUS-R209-02Not Started
Press Schedule


Sheet I am working in:

Production Schedule Analysis.xlsm
ABCDEFGHIJ
1Week 18
2TR/GTSkiveSizeMachineFriday
34/30/2021
18GT-Mini237 ml 1P#VALUE!#CALC!
19GT-Mini315 ml 3P 176033,176043,176042,175958,175959,0176158-S,0176184-S,0176177-S,176187,176186,176205,176222,0175970-S,0176215-S,0176154-S,0176153-S,0176152-S,176101,176223 #N/A
20GT-Mini237 ml 3P 176033,176043,176042,175958,175959,0176158-S,0176184-S,0176177-S,176187,176186,176205,176222,0175970-S,0176215-S,0176154-S,0176153-S,0176152-S,176101,176223 #N/A
21GT-Mini180 ml 3P 176033,176043,176042,175958,175959,0176158-S,0176184-S,0176177-S,176187,176186,176205,176222,0175970-S,0176215-S,0176154-S,0176153-S,0176152-S,176101,176223 #N/A
22GT-Mini118 ml 3P 176033,176043,176042,175958,175959,0176158-S,0176184-S,0176177-S,176187,176186,176205,176222,0175970-S,0176215-S,0176154-S,0176153-S,0176152-S,176101,176223 #N/A
23GT-Mini237 ml 4P####################################################################################################################################################################N/A
24GT-Mini180 ml 4P####################################################################################################################################################################N/A
25GT-Mini118 ml 4P####################################################################################################################################################################N/A
26GT-Mini315 ml 5P 176211,176104,176103,176102,176216,176204,0176150-S,176151,175969,176214,175723,176095,175722,175995,176303,0176284-S,0176282-S,0176283-S,176241,176285,176301,175994,0176028-S,176233,176232,176027,176238,176367,176119 #N/A
27GT-Mini237 ml 5P 176211,176104,176103,176102,176216,176204,0176150-S,176151,175969,176214,175723,176095,175722,175995,176303,0176284-S,0176282-S,0176283-S,176241,176285,176301,175994,0176028-S,176233,176232,176027,176238,176367,176119 #N/A
28GT-Mini180 ml 5P 176211,176104,176103,176102,176216,176204,0176150-S,176151,175969,176214,175723,176095,175722,175995,176303,0176284-S,0176282-S,0176283-S,176241,176285,176301,175994,0176028-S,176233,176232,176027,176238,176367,176119 #N/A
29GT-Mini118 ml 5P 176211,176104,176103,176102,176216,176204,0176150-S,176151,175969,176214,175723,176095,175722,175995,176303,0176284-S,0176282-S,0176283-S,176241,176285,176301,175994,0176028-S,176233,176232,176027,176238,176367,176119 #N/A
DAILY ORDERS
Cell Formulas
RangeFormula
G1G1="Week "&WEEKNUM(G3)
G2G2=G3
G3G3=TODAY()
G18G18=TEXTJOIN(",",,FILTER('Press Schedule'!$F$2:$F$5000,'Press Schedule'!$E$2:$E$5000=E18)*('Press Schedule'!A2:A5000=G3))
G19:G23,G25:G29G19=TEXTJOIN(",",,FILTER('Press Schedule'!$F$2:$F$5000,'Press Schedule'!$E$2:$E$5000=E19))
G24G24=TEXTJOIN(",",,FILTER('Press Schedule'!$F$2:$F$5000,'Press Schedule'!$E$2:$E$5000=E24,""))
I18I18=TEXTJOIN(",",,FILTER('Press Schedule'!F2:F5000,'Press Schedule'!E2:E5000='Change Over Triggers'!E5))
I19:I29I19=SMALL(IF('Press Schedule'!E6:E5001=E19,ROW('Press Schedule'!F3:F5001)),ROW(2:2))
Press CTRL+SHIFT+ENTER to enter array formulas.


I would ultimately like to filter this down by Machine, Date & Size.
 
Upvote 0
That formula should be
Excel Formula:
=TEXTJOIN(",",,FILTER('Press Schedule'!$F$2:$F$5000,('Press Schedule'!$E$2:$E$5000=E18)*('Press Schedule'!A2:A5000=G3)))
 
Upvote 0
That worked very well! On most of it... I am not sure what I did wrong in the other cells that are getting the #CALC! Error

Production Schedule Analysis.xlsm
ABCDEFG
2TR/GTSkiveSizeMachineFriday
34/30/2021
4TRSkivBase1000 ml2P#CALC!
5TRSkivBase946 ml2P#CALC!
6TRSkivBase473 ml2P#CALC!
7TRSkivBase315 ml2P#CALC!
8TRSkivBase237 ml2P#CALC!
9GTSkivBase946 ml6P#CALC!
10GTSkivBase473 ml6P#CALC!
11GTSkivBase315 ml6P#CALC!
12GTSkivBase237 ml6P#CALC!
13GT-Base946 ml6P#CALC!
14GT-Base473 ml6P#CALC!
15GT-Base315 ml6P#CALC!
16GT-Base237 ml6P#CALC!
17
18GT-Mini237 ml 1P 176105,176221,0176206-S,0175966-S,0176213-S,0176203-S
19GT-Mini315 ml 3P 176205,176222,0175970-S,0176215-S,0176154-S,0176153-S,0176152-S,176101
20GT-Mini237 ml 3P 176205,176222,0175970-S,0176215-S,0176154-S,0176153-S,0176152-S,176101
21GT-Mini180 ml 3P 176205,176222,0175970-S,0176215-S,0176154-S,0176153-S,0176152-S,176101
22GT-Mini118 ml 3P 176205,176222,0175970-S,0176215-S,0176154-S,0176153-S,0176152-S,176101
23GT-Mini237 ml 4P 0176201-S,0175715-S,0176161-S,0176313-S,0176314-S,0176311-S,0176312-S,0176198-S,0176197-S,0175968-S,0176196-S,0176199-S,0176200-S
24GT-Mini180 ml 4P 0176201-S,0175715-S,0176161-S,0176313-S,0176314-S,0176311-S,0176312-S,0176198-S,0176197-S,0175968-S,0176196-S,0176199-S,0176200-S
25GT-Mini118 ml 4P 0176201-S,0175715-S,0176161-S,0176313-S,0176314-S,0176311-S,0176312-S,0176198-S,0176197-S,0175968-S,0176196-S,0176199-S,0176200-S
26GT-Mini315 ml 5P 176211,176104,176103,176102,176216,176204,0176150-S,176151,175969,176214,175723,176095,175722
27GT-Mini237 ml 5P 176211,176104,176103,176102,176216,176204,0176150-S,176151,175969,176214,175723,176095,175722
28GT-Mini180 ml 5P 176211,176104,176103,176102,176216,176204,0176150-S,176151,175969,176214,175723,176095,175722
29GT-Mini118 ml 5P 176211,176104,176103,176102,176216,176204,0176150-S,176151,175969,176214,175723,176095,175722
DAILY ORDERS
Cell Formulas
RangeFormula
G2G2=G3
G3G3=TODAY()
G4:G16,G18:G29G4=TEXTJOIN(",",,FILTER('Press Schedule'!$F$2:$F$5000,('Press Schedule'!$E$2:$E$5000=E4)*('Press Schedule'!$A$2:$A$5000=$G$3)))
 
Upvote 0

Forum statistics

Threads
1,214,914
Messages
6,122,211
Members
449,074
Latest member
cancansova

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