Planogrammer
New Member
- Joined
- Feb 25, 2016
- Messages
- 5
Hey All,
So what I'm trying to do is pull data from 1 table or sheet into another. I have tried VLOOKUP & INDEX MATCH, on both separate sheets & also with both tables on the same sheet. I am trying to get Height Width & Depth fields to pull from one table to the other, by matching the UPC. So that only matches will populate, as there are different amounts of data in each table. The data would not line up by just dropping it in manually.
This is the table I would like to pull data from -
[TABLE="width: 500"]
<tbody>[TR]
[TD]UPC[/TD]
[TD][TABLE="width: 213"]
<tbody>[TR]
[TD="class: xl73, width: 213"]Long Description[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 47"]
<tbody>[TR]
[TD="class: xl73, width: 47"]Size[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]UOM[/TD]
[TD]Case Pack[/TD]
[TD]Height[/TD]
[TD]Width[/TD]
[TD]Depth[/TD]
[/TR]
[TR]
[TD][TABLE="width: 84"]
<tbody>[TR]
[TD="class: xl73, width: 84"]1480000034[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 213"]
<tbody>[TR]
[TD="class: xl73, width: 213"]MOTTS REG APPLE JUICE[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 47"]
<tbody>[TR]
[TD="class: xl73, width: 47"]64[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 53"]
<tbody>[TR]
[TD="class: xl73, width: 53"]FL[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]8[/TD]
[TD]9.65[/TD]
[TD]4.65[/TD]
[TD]4.6[/TD]
[/TR]
[TR]
[TD]1480000039[/TD]
[TD][TABLE="width: 213"]
<tbody>[TR]
[TD="class: xl73, width: 213"]MOTTS APPLE JUICE[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]128[/TD]
[TD]FL[/TD]
[TD]4[/TD]
[TD]11.76[/TD]
[TD]5.55[/TD]
[TD]5.55[/TD]
[/TR]
[TR]
[TD]1480000131[/TD]
[TD][TABLE="width: 213"]
<tbody>[TR]
[TD="class: xl73, width: 213"]MOTT'S MEDLEY APPLE 100%[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]64[/TD]
[TD]FL[/TD]
[TD]8[/TD]
[TD]9.65[/TD]
[TD]4.65[/TD]
[TD]4.6[/TD]
[/TR]
</tbody>[/TABLE]
& I would like to pull the Height Width & Depth fields into this table -
[TABLE="width: 500"]
<tbody>[TR]
[TD]UPC[/TD]
[TD]ITEM[/TD]
[TD]LONG DESCRIPTION[/TD]
[TD]SIZE[/TD]
[TD]UOM[/TD]
[TD]CASEPACK[/TD]
[TD]BRAND[/TD]
[TD]CATEGORY[/TD]
[TD]SUBTYPE[/TD]
[TD]PACKAGE TYPE[/TD]
[TD]ELIGIBLE[/TD]
[TD]STATUS[/TD]
[TD]HEIGHT[/TD]
[TD]WIDTH[/TD]
[TD]DEPTH[/TD]
[/TR]
[TR]
[TD][TABLE="width: 84"]
<tbody>[TR]
[TD="class: xl72, width: 84, align: right"]1153502556[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]162019[/TD]
[TD][TABLE="width: 212"]
<tbody>[TR]
[TD="class: xl72, width: 212"]WLD HRVST Orgnc Jce Apple[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]64[/TD]
[TD]oz[/TD]
[TD]8[/TD]
[TD]Wild Harvest[/TD]
[TD]SS Bottled[/TD]
[TD]Apple[/TD]
[TD]Bottle[/TD]
[TD]Yes[/TD]
[TD]UA[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 84"]
<tbody>[TR]
[TD="class: xl72, width: 84, align: right"]1153550042[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]16200[/TD]
[TD][TABLE="width: 212"]
<tbody>[TR]
[TD="class: xl72, width: 212"]WLD HRVST Orgnc Jce Lmnade[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]64[/TD]
[TD]oz[/TD]
[TD]8[/TD]
[TD]Wild Harvest[/TD]
[TD]SS Bottled[/TD]
[TD]Lemonade[/TD]
[TD]Bottle[/TD]
[TD]Yes[/TD]
[TD]UA[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 84"]
<tbody>[TR]
[TD="class: xl72, width: 84, align: right"]1480000032[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]161098[/TD]
[TD][TABLE="width: 212"]
<tbody>[TR]
[TD="class: xl72, width: 212"]MOTT Apple Juice Clear[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]32[/TD]
[TD]oz[/TD]
[TD]12[/TD]
[TD]MOTTS[/TD]
[TD]SS Bottled[/TD]
[TD]Apple[/TD]
[TD]Bottle[/TD]
[TD]Yes[/TD]
[TD]A[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
These are the top 4 lines(including headers) from both tables, so as you can see, the UPCs do not line up when sorted, due to variety in the tables. The 5th line in the second table matches the 1st line in the 1st table, just as an example. But they still do not line up after that.
So where i'm getting stuck is figuring out the proper formula to match the Height Width & Depth in a row by matching the UPC between the tables. I've tried VLOOKUP & INDEX MATCH without success so far. Any help would be much appreciated.
Thanks
So what I'm trying to do is pull data from 1 table or sheet into another. I have tried VLOOKUP & INDEX MATCH, on both separate sheets & also with both tables on the same sheet. I am trying to get Height Width & Depth fields to pull from one table to the other, by matching the UPC. So that only matches will populate, as there are different amounts of data in each table. The data would not line up by just dropping it in manually.
This is the table I would like to pull data from -
[TABLE="width: 500"]
<tbody>[TR]
[TD]UPC[/TD]
[TD][TABLE="width: 213"]
<tbody>[TR]
[TD="class: xl73, width: 213"]Long Description[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 47"]
<tbody>[TR]
[TD="class: xl73, width: 47"]Size[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]UOM[/TD]
[TD]Case Pack[/TD]
[TD]Height[/TD]
[TD]Width[/TD]
[TD]Depth[/TD]
[/TR]
[TR]
[TD][TABLE="width: 84"]
<tbody>[TR]
[TD="class: xl73, width: 84"]1480000034[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 213"]
<tbody>[TR]
[TD="class: xl73, width: 213"]MOTTS REG APPLE JUICE[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 47"]
<tbody>[TR]
[TD="class: xl73, width: 47"]64[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 53"]
<tbody>[TR]
[TD="class: xl73, width: 53"]FL[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]8[/TD]
[TD]9.65[/TD]
[TD]4.65[/TD]
[TD]4.6[/TD]
[/TR]
[TR]
[TD]1480000039[/TD]
[TD][TABLE="width: 213"]
<tbody>[TR]
[TD="class: xl73, width: 213"]MOTTS APPLE JUICE[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]128[/TD]
[TD]FL[/TD]
[TD]4[/TD]
[TD]11.76[/TD]
[TD]5.55[/TD]
[TD]5.55[/TD]
[/TR]
[TR]
[TD]1480000131[/TD]
[TD][TABLE="width: 213"]
<tbody>[TR]
[TD="class: xl73, width: 213"]MOTT'S MEDLEY APPLE 100%[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]64[/TD]
[TD]FL[/TD]
[TD]8[/TD]
[TD]9.65[/TD]
[TD]4.65[/TD]
[TD]4.6[/TD]
[/TR]
</tbody>[/TABLE]
& I would like to pull the Height Width & Depth fields into this table -
[TABLE="width: 500"]
<tbody>[TR]
[TD]UPC[/TD]
[TD]ITEM[/TD]
[TD]LONG DESCRIPTION[/TD]
[TD]SIZE[/TD]
[TD]UOM[/TD]
[TD]CASEPACK[/TD]
[TD]BRAND[/TD]
[TD]CATEGORY[/TD]
[TD]SUBTYPE[/TD]
[TD]PACKAGE TYPE[/TD]
[TD]ELIGIBLE[/TD]
[TD]STATUS[/TD]
[TD]HEIGHT[/TD]
[TD]WIDTH[/TD]
[TD]DEPTH[/TD]
[/TR]
[TR]
[TD][TABLE="width: 84"]
<tbody>[TR]
[TD="class: xl72, width: 84, align: right"]1153502556[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]162019[/TD]
[TD][TABLE="width: 212"]
<tbody>[TR]
[TD="class: xl72, width: 212"]WLD HRVST Orgnc Jce Apple[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]64[/TD]
[TD]oz[/TD]
[TD]8[/TD]
[TD]Wild Harvest[/TD]
[TD]SS Bottled[/TD]
[TD]Apple[/TD]
[TD]Bottle[/TD]
[TD]Yes[/TD]
[TD]UA[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 84"]
<tbody>[TR]
[TD="class: xl72, width: 84, align: right"]1153550042[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]16200[/TD]
[TD][TABLE="width: 212"]
<tbody>[TR]
[TD="class: xl72, width: 212"]WLD HRVST Orgnc Jce Lmnade[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]64[/TD]
[TD]oz[/TD]
[TD]8[/TD]
[TD]Wild Harvest[/TD]
[TD]SS Bottled[/TD]
[TD]Lemonade[/TD]
[TD]Bottle[/TD]
[TD]Yes[/TD]
[TD]UA[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 84"]
<tbody>[TR]
[TD="class: xl72, width: 84, align: right"]1480000032[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]161098[/TD]
[TD][TABLE="width: 212"]
<tbody>[TR]
[TD="class: xl72, width: 212"]MOTT Apple Juice Clear[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]32[/TD]
[TD]oz[/TD]
[TD]12[/TD]
[TD]MOTTS[/TD]
[TD]SS Bottled[/TD]
[TD]Apple[/TD]
[TD]Bottle[/TD]
[TD]Yes[/TD]
[TD]A[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
These are the top 4 lines(including headers) from both tables, so as you can see, the UPCs do not line up when sorted, due to variety in the tables. The 5th line in the second table matches the 1st line in the 1st table, just as an example. But they still do not line up after that.
So where i'm getting stuck is figuring out the proper formula to match the Height Width & Depth in a row by matching the UPC between the tables. I've tried VLOOKUP & INDEX MATCH without success so far. Any help would be much appreciated.
Thanks