Macro to Copy and Paste Rows to new sheet bases of cell value greater then 0

ECook2021

New Member
Joined
Jul 6, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I am trying to copy rows from a master estimate sheet (sheet 2) and paste them into a master PO sheet (sheet 5) based off positive value in Quantity column B11:B283. I do not need it to copy the entire row just values in columns B:G.

When it is pasted I want it to populate the table in the master po sheet.

This process needs to be automated for specific uses.

Thank you
 

Attachments

  • Master Estimate.PNG
    Master Estimate.PNG
    55.2 KB · Views: 11
  • Master PO.PNG
    Master PO.PNG
    32.3 KB · Views: 12

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
I did it all in one sheet, but that's easily changed.

MrExcelPlayground2.xlsm
ABCDEFGHIJKLMN
1Item No.QuantityUnitDescCost CodeUnit costTotalQuantityUnitDescCost CodeUnit costTotal
21sqftThing1$ 10.00$ -100ftOther thing2$ 20.00$ 2,000.00
32100ftOther thing2$ 20.00$ 2,000.00500cuydA3$ 30.00$ 15,000.00
43500cuydA3$ 30.00$ 15,000.00100ftC5$ 1,000.00$ 100,000.00
54eachB4$ 50.00$ -50eachE7$ 500.00$ 25,000.00
65100ftC5$ 1,000.00$ 100,000.00
76ftD6$ 50.00$ -
8750eachE7$ 500.00$ 25,000.00
Sheet40
Cell Formulas
RangeFormula
I2:N5I2=FILTER(B2:G8,B2:B8>0,"")
G2:G8G2=F2*B2
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

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