match data between multiple workbooks and bring the data based on topics headers

KalilMe

Active Member
Joined
Mar 5, 2021
Messages
343
Office Version
  1. 2016
Platform
  1. Windows
hello
I have about five files in the same folder contain data and I have file name's target , the file TARGET contain data from col A:H what I want match COL B,C,D with the five files also the columns B,C,D and brings the values based on topic headers to FILE TARGET after last column is filled in H the headers IM1,EX1,RT1,SA1,PU1 are different in location in five files
this is the simple data but my real data are at least 5000 rows
first when target file before bring the values
ITEMGOODSTYPEPREXRTSAPUIM1EX1RT1SA1PU1
1FRIUTBANANASO2001234512
2VEGETIBLETOMATOEG100100100100
3FOOD1TUNE160GSP150150150200
4FOOD2TUNE180GTH25012325014
5FOOD3CHEESE CHEEDERNE3003007812
6FRIUTAPPLETU1205612058
7VEGETIBLEPOTATOGR10010010065
9FOOD5BISCUITS SWSW1501505847
10FOOD1TUNE160GIN14014014088
11FOOD2TUNE180GTW130887799
12FOOD3CHEESE MOZZIRELAIT3003004466
13FOOD5BISCUITS SWSS25045250250
14FRIUTAPPLEIT12099120120
15VEGETIBLEONIONPO10010012100
16VEGETIBLEONIONLOC101101101101



and expected result

ITEMGOODSTYPEPREXRTSAPUIM1EX1RT1SA1PU1
1FRIUTBANANASO2001234512445
2VEGETIBLETOMATOEG10010010010046767933
3FOOD1TUNE160GSP150150150200234
4FOOD2TUNE180GTH25012325014
5FOOD3CHEESE CHEEDERNE30030078127844
6FRIUTAPPLETU120561205833
7VEGETIBLEPOTATOGR100100100653333
9FOOD5BISCUITS SWSW150150584733
10FOOD1TUNE160GIN14014014088
11FOOD2TUNE180GTW1308877993
12FOOD3CHEESE MOZZIRELAIT300300446633
13FOOD5BISCUITS SWSS250452502503333333
14FRIUTAPPLEIT12099120120
15VEGETIBLEONIONPO100100121003
16VEGETIBLEONIONLOC10110110110133
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Hi,​
A1 is the first cell used ?​
Well elaborate at least your need in order any helper must not fill some holes …​
 
Upvote 0
hi
yes it begins from A1 : H the original data as in pic1
 
Upvote 0

Forum statistics

Threads
1,214,824
Messages
6,121,783
Members
449,049
Latest member
greyangel23

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