Macro Help Needed

ticaroheath

New Member
Joined
Feb 3, 2022
Messages
14
Good Day Everyone!

I am in need of some help creating a macro for a project for work. I am a production scheduler. Here are the details. (sidenote: I sometimes suck at explaining so please question anything that doesn't sound right)

I have 4 tabs: Sheet 1, Sheet 2, Sheet 3, and Sheet 4.

I have information on Sheets 1,2,&3 that all have different information about the same ID number. I pull from several screens that all have different information about the same ID number.

Is there a way to take information from Sheet 1,2,&3 and combine it on Sheet 4? BUT I need it pulled by date (so i can schedule it properly) and the correct information goes to the proper column.
I assume that it would pull by date, several rows would have the same ID number and the info would fill into the columns as assigned. I'm not even sure if that's possible, but if its not, I'm super open to any great ideas!

Any help on this would be greatly appreciated.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi, Great if you share the Sheet details using XL2BB. It would help to understand the problem statement and provide the solution.

using VBA, it's possible to gather information from Sheet 1,2,3 and combine the details on sheet 4 based on data.

Thanks,
Saurabh
 
Upvote 0
I am not familiar with XL2BB. Is there any other way to work through this problem? or a step by step to use XL2BB?
 
Upvote 0
here is y xl2bb copy. There are 4 copies; 1 from each tab. please let me know if I did this incorrectly.

The 1st goal is to get all the info to fall under the proper column on sheet 4

Trial Spreadsheet.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAW
1IDProduction OrderOrder - Due DateItem NumberProduction LineDepartmentWork CenterMachineOpOperation DescriptionOp Qty DueHours ReqdQuantity OrderedSiteOperation - Due DateIn QueueWork Center DescriptionItem DescriptionQuantity CompletedSub Qty CompQuantity ScrappedQty ReworkedStart DateOperation StatusOut QueueReject QueueStd Setup TimeOrder QuantityStd Run TimeMilestone OperationRouting CodeOrder TypeRelease DateOrder DateOrder StatusSequenceUnit of MeasureQty To StartQuantity to CompleteOrder Quantity OpenStandard OperationMove Next OperationActual Setup TimeActual Run TimeQueue TimeWait TimeStandard Move TimeMachines per OperationSupplier
2134737122800123/7/20221VO8-082-5L2CY-ASSYW140300MASS SPEC, LEAK TEST10.00125.0010.02003/7/20220.0MASS SPEC LEAK TESTWLDT,BODY,S300,1/4",VO80.00.00.00.02/14/20220.00.00.08012.5Yes3/7/202212/28/2021FEA10.010.010.00Yes0.00.00.00.00.01.000
3134772122800473/2/2022101VO8-082-5L2CY-ASSYW180100101VO8-082-5L210.000.0010.02003/2/202210.0W180 STAGINGBODY,MACH,S316L,1/4"0.00.00.00.03/2/2022Q0.00.00.000.0Yes3/2/202212/28/2021REA10.010.010.00Yes0.00.00.00.00.01.000
4134773122800483/2/2022102VO8-082-5W1CY-ASSYW180100102VO8-082-5W14.000.004.02003/2/20224.0W180 STAGINGNIPL,TUBE,S304,0.38ODT0.00.00.00.03/2/2022Q0.00.00.000.0Yes3/2/202212/28/2021REA4.04.04.00Yes0.00.00.00.00.01.000
5127137120300413/2/202233CV3-084-2T1CY-ASSYW18010033CV30842T1/D4.000.004.02003/2/20224.0W180 STAGINGACT ADPTR 1.25-14BOSS0.00.00.00.03/2/2022Q0.00.00.000.0Yes3/2/202212/5/2021REA4.04.04.00Yes0.00.00.00.00.01.000
6134730122800053/3/2022CV2033CY-ASSYW180100CV2033/E22.000.0022.02003/2/20220.0W180 STAGINGVLV,GLB,1/2ODT,SWE,CV30.00.00.00.03/2/20220.00.00.000.0Yes3/3/202212/28/2021FEA22.022.022.00Yes0.00.00.00.00.01.000
7145817020100073/11/2022F-17290CY-ASSYW180100STAGE75.000.0075.02003/2/20220.0W180 STAGINGSTEM ASSY,MANL,1.5,CV8BS0.00.00.00.03/2/20220.00.00.000.0Yes2/21/20222/2/2022PEA75.075.075.00Yes0.00.00.00.00.01.000
8140945011801083/2/20222CV3-084-5WPG2CY-ASSYW180100Staging3.000.003.02003/2/20220.0W180 STAGINGWELD,ASSY,1/2" IPS,E0.00.00.00.03/2/20220.00.00.000.0Yes3/2/20221/18/2022FEA3.03.03.00Yes0.00.00.00.00.01.000
9145817020100073/11/2022F-17290CY-MACHW660150RECORD FLANGE HEAT #75.000.0075.02003/2/20220.0W660 SPECIAL INSTRUCTIONSTEM ASSY,MANL,1.5,CV8BS0.00.00.00.03/2/20220.00.00.000.0Yes2/21/20222/2/2022PEA75.075.075.00Yes0.00.00.00.00.01.000
10140945011801083/2/20222CV3-084-5WPG2CY-MACHW072200072-02743.000.253.02003/2/20220.0W072 DEBR,PARK.,OILDIPWELD,ASSY,1/2" IPS,E0.00.00.00.03/2/20220.00.00.0300.084005376Yes3/2/20221/18/2022FEA3.03.03.00Yes0.00.00.00.00.01.000
11145817020100073/11/2022F-17290CY-WELDW134200WELD FLNG/BELLOWS/STEM75.0037.5075.02003/8/20220.0W134 FABRICATED WELDINGSTEM ASSY,MANL,1.5,CV8BS0.00.00.00.03/2/20220.00.00.1700.5Yes2/21/20222/2/2022PEA75.075.075.00Yes0.00.00.00.00.01.000
12140945011801083/2/20222CV3-084-5WPG2CY-WELDW134250ASSEMBLE & WELD3.001.203.02003/2/20220.0W134 FABRICATED WELDINGWELD,ASSY,1/2" IPS,E0.00.00.00.03/2/20220.00.00.1700.4Yes3/2/20221/18/2022FEA3.03.03.00Yes0.00.00.00.00.03.000
13134773122800483/2/2022102VO8-082-5W1CY-MACHREVW525250CUT TO SIZE,DEBURR4.000.004.02003/2/20220.0W525 15" SOUTH BEND LATHNIPL,TUBE,S304,0.38ODT0.00.00.00.03/2/20220.00.00.000.0Yes3/2/202212/28/2021REA4.04.04.00Yes0.00.00.00.00.01.000
14134772122800473/2/2022101VO8-082-5L2CY-MACHW121250FINISH TOP10.000.0010.02003/2/20220.0W121 MORI SEIKI NLX2000YBODY,MACH,S316L,1/4"0.00.00.00.03/2/20220.00.00.000.0Yes3/2/202212/28/2021REA10.010.010.00Yes0.00.00.00.00.01.000
15127137120300413/2/202233CV3-084-2T1CY-MACHW123250MACHINE COMPLETE4.000.334.02003/2/20220.0W123 MORI SEIKI NLX2500SACT ADPTR 1.25-14BOSS0.00.00.00.03/2/20220.00.01.7500.083Yes3/2/202212/5/2021REA4.04.04.00Yes0.00.00.00.00.01.000
16134730122800053/3/2022CV2033CY-ASSYW148300CLEAN, ASSEM & TEST22.0011.0022.02003/3/20220.0W148 FINAL ASSEMBLY/TESTVLV,GLB,1/2ODT,SWE,CV30.00.00.00.03/2/20220.00.00.0800.5Yes3/3/202212/28/2021FEA22.022.022.00Yes0.00.00.00.00.01.000
17127137120300413/2/202233CV3-084-2T1CY-MACHW206300DRILL & TAP4.000.174.02003/2/20220.0W206 HAAS VF 1 CNC MILLACT ADPTR 1.25-14BOSS0.00.00.00.03/2/20220.00.01.000.0416Yes3/2/202212/5/2021REA4.04.04.00Yes0.00.00.00.00.01.000
18134772122800473/2/2022101VO8-082-5L2CY-MACHW121300FINISH BOTTOM10.000.0010.02003/2/20220.0W121 MORI SEIKI NLX2000YBODY,MACH,S316L,1/4"0.00.00.00.03/2/20220.00.00.000.0Yes3/2/202212/28/2021REA10.010.010.00Yes0.00.00.00.00.01.000
19140945011801083/2/20222CV3-084-5WPG2CY-ASSYW140300MASS SPEC, LEAK TEST3.000.263.02003/2/20220.0MASS SPEC LEAK TESTWELD,ASSY,1/2" IPS,E0.00.00.00.03/2/20220.00.00.1700.0850051Yes3/2/20221/18/2022FEA3.03.03.00Yes0.00.00.00.00.01.000
20140945011801083/2/20222CV3-084-5WPG2CY-MACHW095320FINAL INSPECTION3.000.003.02003/2/20220.0W095 INSPECTIONWELD,ASSY,1/2" IPS,E0.00.00.00.03/2/20220.00.00.000.0Yes3/2/20221/18/2022FEA3.03.03.00Yes0.00.00.00.00.01.000
Sheet1
 
Upvote 0
Trial Spreadsheet.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAW
1IDProduction OrderDue DateItem NumberDescriptionOrder TypeRelease DateOrder DateNeed DateManufacturing TypeLineOrder StatusShiftUMSequenceQty To StartQty To CompleteQuantity OpenActual Qty CompletedEstimated Qty To ScrapSiteActual Qty ScrappedEstimated Yield PercentSplit Order Cum IDSchedulerSales/JobRouting CodeBOM/Formula CodeBatchReceived DateReceived ByCommentsRemarksSupplierClosedClose DateCo/By TypeAssay PercentageGradeExpire DateReceipt StatusActiveSingle LotLot/SerialOrder Sheet PrintedUserModified DateActual TimeDetails
2136310010400023/31/2022F-407JCKT WLDT,2"S5,BP,DSP,5K3/31/20221/11/20223/31/2022Work OrderFEA15.015.015.00.00.02000.0100.00%No0.00%NoNoNo
3136311010400033/31/2022F-52INNR CYL ASSY,2",2K/5K3/31/20221/10/20223/31/2022Work OrderFEA15.015.015.00.00.02000.0100.00%No0.00%NoNoNo
4136319010400133/17/2022F-109INNR CYL WLDT,F/M1.5"-2"3/17/20221/10/20223/17/2022Work OrderFEA12.012.012.00.00.02000.0100.00%No0.00%NoNoNo
5136619010500033/14/2022CK8082816OWPG1CKLJVLV ,CHECK,2"SCH10,CV83/14/20221/9/20223/14/2022Work OrderFEA1.01.01.00.00.02000.0100.00%No0.00%NoNoNo
6136953010600423/17/2022EC4-084-CWPG6MVLV ,GLBE,0.5,EC4,MANL3/17/20221/23/20223/17/2022Work OrderFEA10.010.010.00.00.02000.0100.00%No0.00%NoNoNo
7137250010603673/24/20226CV3-084-2T1BONN ASSY,1/2",CV33/4/20221/31/2022Work OrderPEA1.01.01.00.00.02000.0100.00%No0.00%NoNoNo
8137607010700043/14/2022F-8786VLV,1/2"SCH10,6K3/14/20221/9/20223/14/2022Work OrderFEA1.01.01.00.00.02000.0100.00%No0.00%NoNoNo
9137608010700053/15/20222001-04-F17267VLV ,GLBE,0.5"ODT,2001,3/15/20221/9/20223/15/2022Work OrderFEA1.01.01.00.00.02000.0100.00%No0.00%NoNoNo
10137611010700083/14/2022F-7027CHNG OUT KIT,1",1K/4K3/14/20221/9/20223/14/2022Work OrderFEA7.07.07.00.00.02000.0100.00%No0.00%NoNoNo
11137612010700093/14/2022F-89932000 STD AUTO 3/4"SCH103/14/20221/11/20223/14/2022Work OrderFEA1.01.01.00.00.02000.0100.00%No0.00%NoNoNo
12137615010700123/16/2022CV8-812-CWPG6M-TWKIT TPWK,1.5",GLBE,MANL3/16/20221/9/20223/16/2022Work OrderFEA6.06.06.00.00.02000.0100.00%No0.00%NoNoNo
13137620010700173/16/2022EC4-812-CWPY6-TWTOPWRKS ASY GRAPH/FLOURO3/16/20221/9/20223/16/2022Work OrderFEA2.02.02.00.00.02000.0100.00%No0.00%NoNoNo
14137623010700213/31/2022F-407JCKT WLDT,2"S5,BP,DSP,5K3/31/20221/17/20223/31/2022Work OrderFEA4.04.04.00.00.02000.0100.00%No0.00%NoNoNo
15137625010700243/31/2022F-52INNR CYL ASSY,2",2K/5K3/11/20221/30/2022Work OrderPEA4.04.04.00.00.02000.0100.00%No0.00%NoNoNo
16137628010700273/11/2022F-6967CHG OUT KIT 2/5k 1" CHK3/11/20221/9/20223/11/2022Work OrderFEA2.02.02.00.00.02000.0100.00%No0.00%NoNoNo
17137641010700423/24/2022CV2033VLV,GLB,1/2ODT,SWE,CV33/24/20221/10/20223/24/2022Work OrderFEA27.027.027.00.00.02000.0100.00%No0.00%NoNoNo
18137645010700463/17/2022EC4-084-CWPG1-LP1/2"PS MAN CONTROL VALVE3/17/20221/9/20223/17/2022Work OrderFEA16.016.016.00.00.02000.0100.00%No0.00%NoNoNo
19137650010700513/16/2022F-11642ASY, .5-2",OS&Y GLAND3/16/20221/9/20223/16/2022Work OrderFEA5.05.05.00.00.02000.0100.00%No0.00%NoNoNo
20137651010700523/11/2022F-1173EVACUATION VALVE CPC3/11/20221/10/20223/11/2022Work OrderFEA8.08.08.00.00.02000.0100.00%No0.00%NoNoNo
Sheet2
 
Upvote 0
Trial Spreadsheet.xlsx
ABCDEFGHIJKLMNOPQRSTUV
1IDProduction OrderDue DateParent ItemOrder StatusComponent StatusQuantity OpenWork CenterMachineRelease DateShiftSequenceQty To StartActual Qty CompletedDescriptionPur/Mfg CodeBuyer/PlannerSales/JobProduction LineOperationSiteStatus ID
2114661102600043/16/2022F-407FScheduled Receipts10.0W1803/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC101002006
3114661102600043/16/2022F-407FScheduled Receipts10.0W6603/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC101502006
4114661102600043/16/2022F-407FScheduled Receipts10.0W1343/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC102502006
5114661102600043/16/2022F-407FScheduled Receipts10.0W1343/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC103002006
6114661102600043/16/2022F-407FScheduled Receipts10.0W1483/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC103502006
7114661102600043/16/2022F-407FScheduled Receipts10.0W1343/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC104002006
8114661102600043/16/2022F-407FScheduled Receipts10.0W1343/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC104502006
9114661102600043/16/2022F-407FScheduled Receipts10.0W1403/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC105002006
10114661102600043/16/2022F-407FScheduled Receipts10.0W6953/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC105502006
11114661102600043/16/2022F-407FScheduled Receipts10.0W1343/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC106002006
12114661102600043/16/2022F-407FScheduled Receipts10.0W1403/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC106502006
13114661102600043/16/2022F-407FScheduled Receipts10.0W6953/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC107002006
14114661102600043/16/2022F-407FScheduled Receipts10.0W1343/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC107502006
15114661102600043/16/2022F-407FScheduled Receipts10.0W1403/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC108002006
16114661102600043/16/2022F-407FScheduled Receipts10.0W1343/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC108502006
17114661102600043/16/2022F-407FScheduled Receipts10.0W6953/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC109002006
18114661102600043/16/2022F-407FScheduled Receipts10.0W0953/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC109502006
19114661102600043/16/2022F-407FScheduled Receipts10.0W1483/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC1010002006
20114661102600043/16/2022F-407FScheduled Receipts10.0WW5603/16/202210.00.0JCKT WLDT,2"S5,BP,DSP,5KMC1099502006
Sheet3
 
Upvote 0
Trial Spreadsheet.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBGBHBIBJBKBLBMBNBOBPBQBRBSBTBUBVBWBXBYBZCACBCCCDCECFCGCHCICJCKCLCM
1IDProduction OrderItem NumberDue DateParent ItemDescriptionWork CenterOrder TypeDepartmentComponent StatusRelease DateMachineProduction LineQuantity OpenOrder DateNeed DateOpManufacturing TypeOperation DescriptionLineOp Qty DueShiftOrder StatusHours ReqdSequenceQty To StartQuantity OrderedUMSiteActual Qty CompletedOperation - Due DateIn QueuePur/Mfg CodeQty To CompleteWork Center DescriptionItem DescriptionBuyer/PlannerSales/JobOperationQuantity CompletedEstimated Qty To ScrapSub Qty CompQuantity ScrappedActual Qty ScrappedStatus IDQty ReworkedEstimated Yield PercentStart DateSplit Order Cum IDSchedulerRouting CodeBOM/Formula CodeBatchReceived DateReceived ByCommentsRemarksSupplierClosedClose DateCo/By TypeAssay PercentageGradeExpire DateReceipt StatusActiveSingle LotLot/SerialOrder Sheet PrintedUserModified DateActual TimeDetailsOperation StatusOut QueueReject QueueStd Setup TimeOrder QuantityStd Run TimeMilestone OperationUnit of MeasureQuantity to CompleteOrder Quantity OpenStandard OperationMove Next OperationActual Setup TimeActual Run TimeQueue TimeWait TimeStandard Move TimeMachines per Operation
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Sheet4
Cells with Conditional Formatting
CellConditionCell FormatStop If True
1:1Cell ValueduplicatestextNO
 
Upvote 0
Hi, thanks for sharing details. I will share updates tomorrow.
 
Upvote 0

Forum statistics

Threads
1,214,614
Messages
6,120,520
Members
448,968
Latest member
Ajax40

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