Need to add rows based on previous column values

csimpson24

New Member
Joined
Feb 22, 2018
Messages
22
Hello all,

Ripping my hair out over this one and cannot find an answer anywhere. Here is an example of my data. I want to automatically add a new row after the last job entry. So in the example below, I would add a new row for job 106144 with Opr 60, a new row for job 108422 with Opr 30, a new row for Job 108466 with Opr 20, and so on. Any help would be GREATLY appreciated. It's been years since I've written in VBA by the way.

JobNumCompanyPlantAsmOprOperation

<tbody>
</tbody>
106144GCBGCB010MECHENG
106144GCBGCB020MACH
106144GCBGCB030FAB
106144GCBGCB040ASSEM
106144GCBGCB050TEST

<colgroup><col><col span="2"><col span="2"><col></colgroup><tbody>
</tbody>

<tbody>
</tbody>

108422GCBGCB010FAB
108422GCBGCB020MACH

<colgroup><col><col span="2"><col span="2"><col></colgroup><tbody>
</tbody>
108446GCBGCB010MACH
108449GCBGCB010FAB
108449GCBGCB020MACH

<colgroup><col><col span="2"><col span="2"><col></colgroup><tbody>
</tbody>
 
Glad to help & thanks for the feedback
 
Upvote 0

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,214,979
Messages
6,122,560
Members
449,089
Latest member
Motoracer88

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