Refresh one dataset with another

coops_46

Board Regular
Joined
Jan 27, 2017
Messages
102
I have two sets of data which contain some (43) columns in common.
I would like to refresh the shared columns in dataset 1 with dataset 2 (as dataset 2 will be updated daily)
I'd like to be able to do this by clicking a 'refresh' button in dataset 1 which then has it's data refreshed by using dataset 2.


Column A in both datasets is a unique ID. Lets say there are 9 ID's in both as of yesterday (there are hundreds, but this is an example) 1,2,3,4,5,6,7,8.9
If dataset 2 now contains ID # 10,11 and 12 when refresh button is clicked, these rows will need to be added to the bottom of datasheet 1. ID's 1-9 will need to still be refreshed.


Do the columns need to be in the same order in both datasets for a refresh to work, or can we just look for column names and match, regardless of the order?


Thanks in advance and if any more info is required please ask
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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