Copying Data from certain tabs which have different headers and are updated multiple times a week into a separate Master Tab that has a table

Bramsey77

New Member
Joined
Jul 23, 2021
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
Hello All,

I really hope you guys can help. I am having a really hard time making a macro for this repetitive task that has to be done constantly. I have 8 tabs I need to pull data from and I need to copy all the data from those tabs and enter it into a master tab that has a table which is generating Pivot tables. The Tabs have different headers but all the headers are in the master table already. I just need help coming up with a macro that would copy the data from each tab enter it into the master tab with the table and put the data in the right position according to the headers. Below are the headers and the last picture is where they need to be copied into.
1627483841946.png


1627483660988.png

1627483699135.png

1627483716948.png

1627483736059.png

1627483817018.png

1627483854294.png
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
It would really help if you could identify which worksheets have which headers.
 
Upvote 0
If you standardized the column layout you can easily create a copy and paste macro to take a row from each and paste it to the master. By standardize, I mean all the columns in the feeder sheets are in the proper place (column) where it appears in the master. You can achieve this by inserting blank columns and hiding them in the feeder sheets. See below for the columns that should be inserted and then hidden.

Order Table
Book11
ABCDEFGHIJKLMNOP
1Project KeyPK DescriptionApplicant IOWBS/OrderOrder DescriptionStatusActual YTD 2021 [ IA ]Expectation 2021 [ K ]Expectation 2022 [ M ]Expectation 2023 [ O ]Expectation 2024 [ Q ]Expectation 2025 [ S ]Expectation 2026 [ U ]Expectation 2027Plan 2021Month to Date
Order Table


No columns to insert, all columns aligned
Book11
ABCDEFGHIJKLM
1Actual YTD 2021 [ IA ]Expectation 2021 [ K ]Expectation 2022 [ M ]Expectation 2023 [ O ]Expectation 2024 [ Q ]Expectation 2025 [ S ]Expectation 2026 [ U ]
2Project KeyApplicant IOOrderUser Status IOUSDUSDUSDUSDUSDUSDUSD
1


One column inserted (column G) that should then be hidden
Book11
ABCDEFGH
1Expectation 2021 [ K ]
2Project KeyApplicant IOOrderUser Status IOUSD
2


Eight columns inserted (columns G - N) that should then be hidden
Book11
ABCDEFGHIJKLMNO
1Plan 2021
2Project KeyApplicant IOOrderUser Status IO
3


No columns to insert
Book11
ABCDEFG
1Actual YTD 2021 [ IA ]
2Project KeyApplicant IOOrderUser Status IOUSD
4
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,999
Members
452,373
Latest member
TimReeks

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