Ordering the impossible!

EWSDustin

New Member
Joined
Dec 9, 2021
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hi!

Sorry, I can't make work the mini sheet, what would make it easier to show.
What I am looking for I'm not even sure if its possible.

In an Excel I have (Sheet A), with a (very long) list with a number of items. The list may contain repeated articles.

Then I have a second list (Sheet B), which contains the same articles, but here they are never repeated.

I have managed with conditional formatting and a small formula, to mark with a color one article of each from Sheet A, this way using the filter function, I can ask it to show only the blue articles, and paste next to it the articles from Sheet B, which is the final goal. I will put several photos of example in case it can be seen this way clearer.

What I need is that the articles from Sheet B are aligned with one of their identical articles of sheet B.
It's not necessary to have colors, table format, etc.

Is there any way, with or without macros, to align the items?
Thx in advance!

Sheet ASheet ASheet ASheet ASheet BSheet BSheet B
SupplierContainerProduct
Article​
LIDL ASIA (FOB)​
FSCU8234787​
UHRENKASTEN 2FACH SORT.​
35954735954766
LIDL ASIA (FOB)​
HLBU1682450​
UHRENKASTEN 2FACH SORT.​
35954735955655
LIDL ASIA (FOB)​
HLBU2866196​
UHRENKASTEN 2FACH SORT.​
35954735956022
LIDL ASIA (FOB)​
TLLU5394140​
UHRENKASTEN 2FACH SORT.​
35954735963122
LIDL ASIA (FOB)​
UACU5339988​
UHRENKASTEN 2FACH SORT.​
35954735965711
LIDL ASIA (FOB)
UACU8546510
UHRENKASTEN 2FACH SORT.
359547
DELTA-SPORT HANDELSKONTOR GMBH (DDP)​
CAAU5939644​
HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.​
359556
DELTA-SPORT HANDELSKONTOR GMBH (DDP)​
MIEU2003018​
HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.​
359556
DELTA-SPORT HANDELSKONTOR GMBH (DDP)​
MSKU5014698​
HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.​
359556
DELTA-SPORT HANDELSKONTOR GMBH (DDP)​
MSKU9102755​
HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.​
359556
DELTA-SPORT HANDELSKONTOR GMBH (DDP)
TRHU5664613
HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.
359556
DELTA-SPORT HANDELSKONTOR GMBH (DDP)​
CCLU6914704​
HOLZ KÜCHE FSC​
359560
DELTA-SPORT HANDELSKONTOR GMBH (DDP)
CSNU6618676
HOLZ KÜCHE FSC
359560
TARGA (DDP)​
TGBU6843965​
MILCHAUFSCHäUMER SMA 500 E1​
359631
TARGA (DDP)
TLLU6844197
MILCHAUFSCHäUMER SMA 500 E1
359631
DELTA-SPORT HANDELSKONTOR GMBH (DDP)
MSKU8255750
HOLZ SCHAUKELTIER ESEL FSC
359657
 

Attachments

  • How-I-Have-It.jpg
    How-I-Have-It.jpg
    202.6 KB · Views: 20
  • How-I-Need-It.jpg
    How-I-Need-It.jpg
    177.8 KB · Views: 20

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hi EWSDustin,

I'm not sure if I've correctly interpreted your requirement so how close is this?

EWSDustin.xlsx
ABC
1
2
3Article Nr.CtrAmount of Measurements
435954766
535955655
635956022
735963122
835965711
9
Sheet B


EWSDustin.xlsx
ABCDEFG
1
2
3SupplierContainerProductArticleColumn1Column2Column3
4LIDL ASIA (FOB)FSCU8234787UHRENKASTEN 2FACH SORT.359547   
5LIDL ASIA (FOB)HLBU1682450UHRENKASTEN 2FACH SORT.359547   
6LIDL ASIA (FOB)HLBU2866196UHRENKASTEN 2FACH SORT.359547   
7LIDL ASIA (FOB)TLLU5394140UHRENKASTEN 2FACH SORT.359547   
8LIDL ASIA (FOB)UACU5339988UHRENKASTEN 2FACH SORT.359547   
9LIDL ASIA (FOB)UACU8546510UHRENKASTEN 2FACH SORT.35954735954766
10DELTA-SPORT HANDELSKONTOR GMBH (DDP)CAAU5939644HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.359556   
11DELTA-SPORT HANDELSKONTOR GMBH (DDP)MIEU2003018HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.359556   
12DELTA-SPORT HANDELSKONTOR GMBH (DDP)MSKU5014698HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.359556   
13DELTA-SPORT HANDELSKONTOR GMBH (DDP)MSKU9102755HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.359556   
14DELTA-SPORT HANDELSKONTOR GMBH (DDP)TRHU5664613HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.35955635955655
15DELTA-SPORT HANDELSKONTOR GMBH (DDP)CCLU6914704HOLZ KÜCHE FSC359560   
16DELTA-SPORT HANDELSKONTOR GMBH (DDP)CSNU6618676HOLZ KÜCHE FSC35956035956022
17TARGA (DDP)TGBU6843965MILCHAUFSCHäUMER SMA 500 E1359631   
18TARGA (DDP)TLLU6844197MILCHAUFSCHäUMER SMA 500 E135963135963122
19DELTA-SPORT HANDELSKONTOR GMBH (DDP)MSKU8255750HOLZ SCHAUKELTIER ESEL FSC35965735965711
Sheet A
Cell Formulas
RangeFormula
E4:E19E4=IF(COUNTIF($D$4:$D4,[@Article])=COUNTIF([Article],[@Article]),INDEX('Sheet B'!$A$4:$A$10000,MATCH([@Article],'Sheet B'!$A$4:$A$10000,0)),"")
F4:G19F4=IF([@Column1]<>"",INDEX('Sheet B'!B$4:B$10000,MATCH([@Article],'Sheet B'!$A$4:$A$10000,0)),"")
 
Upvote 0
Solution
Hi EWSDustin,

I'm not sure if I've correctly interpreted your requirement so how close is this?

EWSDustin.xlsx
ABC
1
2
3Article Nr.CtrAmount of Measurements
435954766
535955655
635956022
735963122
835965711
9
Sheet B


EWSDustin.xlsx
ABCDEFG
1
2
3SupplierContainerProductArticleColumn1Column2Column3
4LIDL ASIA (FOB)FSCU8234787UHRENKASTEN 2FACH SORT.359547   
5LIDL ASIA (FOB)HLBU1682450UHRENKASTEN 2FACH SORT.359547   
6LIDL ASIA (FOB)HLBU2866196UHRENKASTEN 2FACH SORT.359547   
7LIDL ASIA (FOB)TLLU5394140UHRENKASTEN 2FACH SORT.359547   
8LIDL ASIA (FOB)UACU5339988UHRENKASTEN 2FACH SORT.359547   
9LIDL ASIA (FOB)UACU8546510UHRENKASTEN 2FACH SORT.35954735954766
10DELTA-SPORT HANDELSKONTOR GMBH (DDP)CAAU5939644HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.359556   
11DELTA-SPORT HANDELSKONTOR GMBH (DDP)MIEU2003018HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.359556   
12DELTA-SPORT HANDELSKONTOR GMBH (DDP)MSKU5014698HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.359556   
13DELTA-SPORT HANDELSKONTOR GMBH (DDP)MSKU9102755HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.359556   
14DELTA-SPORT HANDELSKONTOR GMBH (DDP)TRHU5664613HOLZ SCHMINKTISCH, EINKAUFSWAGEN, WERKBANK FSC 3FACH SORT.35955635955655
15DELTA-SPORT HANDELSKONTOR GMBH (DDP)CCLU6914704HOLZ KÜCHE FSC359560   
16DELTA-SPORT HANDELSKONTOR GMBH (DDP)CSNU6618676HOLZ KÜCHE FSC35956035956022
17TARGA (DDP)TGBU6843965MILCHAUFSCHäUMER SMA 500 E1359631   
18TARGA (DDP)TLLU6844197MILCHAUFSCHäUMER SMA 500 E135963135963122
19DELTA-SPORT HANDELSKONTOR GMBH (DDP)MSKU8255750HOLZ SCHAUKELTIER ESEL FSC35965735965711
Sheet A
Cell Formulas
RangeFormula
E4:E19E4=IF(COUNTIF($D$4:$D4,[@Article])=COUNTIF([Article],[@Article]),INDEX('Sheet B'!$A$4:$A$10000,MATCH([@Article],'Sheet B'!$A$4:$A$10000,0)),"")
F4:G19F4=IF([@Column1]<>"",INDEX('Sheet B'!B$4:B$10000,MATCH([@Article],'Sheet B'!$A$4:$A$10000,0)),"")
It works!
Whenever I am given a formula, instead of copying and pasting it and moving on, I try to recreate it step by step and understand what each parentisis refers to, so I can understand it. What I still find very difficult is to know which functions to use without having an example in front of me, like in a puzzle, I can only understand it if I have the final example in front of me, without it, I wouldn't know which pieces should fit together.
Thank you very much for your help,
 
Upvote 0
It works!
Whenever I am given a formula, instead of copying and pasting it and moving on, I try to recreate it step by step and understand what each parentisis refers to, so I can understand it. What I still find very difficult is to know which functions to use without having an example in front of me, like in a puzzle, I can only understand it if I have the final example in front of me, without it, I wouldn't know which pieces should fit together.
Thank you very much for your help,
You're welcome.

Don't worry as you're not alone. Many of the solutions on the forum are responded to with "Of course!" (and I've made such exclamations) as the questioner remembers the function or demonstrated technique.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,190
Members
452,616
Latest member
intern444

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