auto fill items across sheets with different structure

Mussa

Board Regular
Joined
Jul 12, 2021
Messages
245
Office Version
  1. 2019
  2. 2010
hello

I need fill items into column A for sheets IMPORT,EXPORT,REPORT based on sheet MAIN for column A .the sheet import,export are diffeernt structure, so should match column C with column B,C,Dfor sheet MAIN . as to sheet report is the same structure with match sheet MAIN .
fill.xlsm
ABCDEF
1DEL NOBATCH NO TTLTT1IMPORTEXPORT
2CCD-1CC-1SS-1TRU1210
3CCD-2CC-1SS-1LTR125
4CCD-3CC-2SS-2FG55
5TTM
6CCS-2CC-1SS-11TRR105
7CCS-3CC-1SS-11LTR2010
8TTM
9CSD-1CS-1LL-1RRL155
10CSD-2CS-2LL-2TTY1010
11TTM
12CCL3CS-4LL-4NNW1010
13CCL4CC-2SS-2LTR215
14TTM
15CCM5CC-3SS-3LTR225
16TTM
MAIN



fill.xlsm
ABCD
1DEL NOITEMBATCH NO IMPORT
21CC-1 SS-1 TRU56
32CC-1 SS-11 TRR7
43CC-3 SS-3 LTR9
IMPORT




fill.xlsm
ABCD
1DEL NOITEMBATCH NO EXPORT
21CS-4 LL-4 NNW23
32CC-2 SS-2 LTR90
EXPORT



fill.xlsm
ABCDEFG
1DEL NOITEMBATCH NO TTLTT1IMPORTEXPORT
21CC-1SS-1TRU8967
32CC-1SS-1LTR2349
43CS-4LL-4NNW566
54CC-2SS-2LTR9
REPORT

if it's not clear just tell me to issue the result
thanks
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
result should be
fill.xlsm
ABCD
1DEL NOITEMBATCH NO IMPORT
2CCD-11CC-1 SS-1 TRU56
3CCS-22CC-1 SS-11 TRR7
4CCM53CC-3 SS-3 LTR9
IMPORT


fill.xlsm
ABCD
1DEL NOITEMBATCH NO EXPORT
2CCL31CS-4 LL-4 NNW23
3CCL42CC-2 SS-2 LTR90
EXPORT


fill.xlsm
ABCDEFG
1DEL NOITEMBATCH NO TTLTT1IMPORTEXPORT
2CCD-11CC-1SS-1TRU8967
3CCD-22CC-1SS-1LTR2349
4CCL33CS-4LL-4NNW566
5CCL44CC-2SS-2LTR9
REPORT
 
Upvote 0

Forum statistics

Threads
1,216,140
Messages
6,129,105
Members
449,486
Latest member
malcolmlyle

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