Best way to compile this data with VBA

Valthanos

New Member
Joined
Apr 22, 2016
Messages
8
I have attached a workbook with two worksheets, Query Table (data shown below), and Breakdown.

I need to extract data from the Query Table, that is Late and not complete. That means any dates in column B, that are prior to today's date, and has a status in column G of anything other than an "X".

This needs compiled in a new sheet similar to how it is shown on the Breakdown worksheet.
For some reason I cannot figure out where to begin, let alone how to do it correctly.

Any help is appreciated.

OperationMfg Due DateJob NumberDetail NumberDescriptionQty Req'dStatusJob Leader
13​
11/30/2021​
4953A503454Vent Pin72ORich Heberle
25​
1/10/2022​
4770A417200BH Cavity Block20I-10%Rick Bottoni
25​
1/10/2022​
4770A417200BH Cavity Block20I-10%Rick Bottoni
8​
1/17/2022​
5016P101205Ejector Sleeve1OUTEric Borland
9​
1/17/2022​
5016P101900Metric Stage 1 Fwd Stop Base4outEric Borland
9​
1/17/2022​
5016P101901Metric Stage 1 Fwd Stop Nut4outEric Borland
9​
1/17/2022​
5016P101902Metric Stage 1 Fwd Stop Cap4outEric Borland
9​
1/17/2022​
5016P101920Metric Stage 1 Back Stop Base2outEric Borland
9​
1/17/2022​
5016P101921Metric Stage 1 Back Stop Nut2outEric Borland
9​
1/17/2022​
5016P101922Metric Stage 1 Back Stop Cap2outEric Borland
9​
1/17/2022​
5016P101940Metric Stage 2 Fwd Stop Base4outEric Borland
9​
1/17/2022​
5016P101941Metric Stage 2 Fwd Stop Nut4outEric Borland
9​
1/17/2022​
5016P101942Metric Stage 2 Fwd Stop Cap4outEric Borland
9​
1/17/2022​
5016P101960Metric Stage 2 Back Stop Base2outEric Borland
9​
1/17/2022​
5016P101961Metric Stage 2 Back Stop Nut2outEric Borland
9​
1/17/2022​
5016P101962Metric Stage 2 Back Stop Cap2outEric Borland

Breakdown:
2021Late Lines:1
November
Late Lines:1
Line#DueJob NumberDetailDescriptionQTYStatusWork CenterJob Leader
1​
11/30/20214953A503454Vent Pin72OGrindRich Heberle
2022Late Lines:60
January
Late Lines:29
Line#DueJob NumberDetailDescriptionQTYStatusWork CenterJob Leader
1​
1/10/20224770A417200BH Cavity Block20I-10%PlateRick Bottoni
2​
1/10/20224770A417200BH Cavity Block20I-10%PlateRick Bottoni
3​
1/17/20225016P101205Ejector Sleeve1OUTSawEric Borland
4​
1/17/20225016P101900Metric Stage 1 Fwd Stop Base4outSoft TurnEric Borland
5​
1/17/20225016P101901Metric Stage 1 Fwd Stop Nut4outSoft TurnEric Borland
6​
1/17/20225016P101902Metric Stage 1 Fwd Stop Cap4outSoft TurnEric Borland
7​
1/17/20225016P101920Metric Stage 1 Back Stop Base2outSoft TurnEric Borland
8​
1/17/20225016P101921Metric Stage 1 Back Stop Nut2outSoft TurnEric Borland
9​
1/17/20225016P101922Metric Stage 1 Back Stop Cap2outSoft TurnEric Borland
10​
1/17/20225016P101940Metric Stage 2 Fwd Stop Base4outSoft TurnEric Borland
11​
1/17/20225016P101941Metric Stage 2 Fwd Stop Nut4outSoft TurnEric Borland
12​
1/17/20225016P101942Metric Stage 2 Fwd Stop Cap4outSoft TurnEric Borland
13​
1/17/20225016P101960Metric Stage 2 Back Stop Base2outSoft TurnEric Borland
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,214,979
Messages
6,122,552
Members
449,088
Latest member
davidcom

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