VBA to extract data from Datasource to Master

FGaxha

Board Regular
Joined
Jan 10, 2023
Messages
221
Office Version
  1. 365
Platform
  1. Windows
Hi, Masters,

I have a workbook called "Master"
Column A to M
A= Code, B to M Jan, Feb,Mar, Apr to Dec.
I need to extract data from Workbook called "Datasource" to Master based on Code in Column A.
Datasource workbook contain 35000 rows, A= Code, column B to M Jan feb, to Dec.

Code on both workbooks are number's (7digits)
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Load each table to Power Query Editor. Perform a Join (Merge in PQ language) based upon common "Code."
 
Upvote 0
Im looking for a macro vba to lookup “”Master” column A, from workbook “Datasource” column A,.
Master A1:M100
Datasource A1:M35000

Column A contains numeric value 7digits on both workbooks.
Thank you!
 
Upvote 0
VBA is specific to your data. Suggest you load some sample data using XL2BB. No pictures as it cannot be manipulated.
 
Upvote 0
Master (contains 10 rows)
A1 b c d e f g h i j k l M

1
2
3

Datasource (contains 35000 rows)
A1 b c d e f g h i j k l M
1
2
3
4
5
6

I beed sumifs from Datasource to Master workbook.
 
Upvote 0
I don't understand your presentation. Please provide date in XL2BB format and show us a mocked up solution. Please then explain in detail what is happening in your sample data as it is not obvious to me.
 
Upvote 0
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,954
Members
449,095
Latest member
nmaske

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