Macro - Copy Rows

JakeDB

New Member
Joined
Jul 9, 2018
Messages
1
Hi all, hoping that someone will be able to point me in the right direction! I'm having some issues trying to create a macro to loop through each of the criteria options. At the top of my worksheet I have a couple of rows which calculate some figures from the filtered data, and I would like to copy this across to a new sheet with the criteria ID.

The worksheet with the data looks like:

A6:AP6 contains my headings
Column A6 onwards contain the IDs I would like to filter
C1:AP2 contain the rows I would like to copy the values of across to a new worksheet for each ID.


Let me know if you need anymore information, any help would be appreciated!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,214,395
Messages
6,119,265
Members
448,881
Latest member
Faxgirl

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