Conditional Copy/Paste help needed...

mrlab

New Member
Joined
Dec 17, 2012
Messages
1
I have a multi-tab spreadsheet and want to auto-populate data from one sheet to another sheet based on IF a value exists on first sheet.

On my first tab, 'Bill of Materials Pricing', IF Qty Exists in column "I", THEN would like to write the values from columns A, B and I from that particular row onto my 'Packing Sheet' tab in the first blank row available (starting in row 18):

PartNumber, Description, Quantity

For example, if in 'Bill of Materials Pricing' cell I9, I enter a quantity of "3":
I want the Part Number (A) from that row written to 'Packing Sheet' B18
I want the Description (B) from that row written to 'Packing Sheet' B19
I want the Quantity (I) from that row written to 'Packing Sheet' B20

Values would be something like this: TOD3060 30" x 60" Table Frame 3

Then I want the macro to look for each additional cell with quantity in column I and do the same - adding the Part Number, Description and Qty to the next blank line on the 'Packing Sheet'.

See my attached spreadsheet...DSG TRANSFER MASTER v7.xls Anyone help me out on this one?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,215,507
Messages
6,125,212
Members
449,214
Latest member
mr_ordinaryboy

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