Forum Discussion

michaelhilland's avatar
michaelhilland
Copper Contributor
Apr 02, 2020
Solved

Excel Formula Help

Hi,

 

I have two tabs. Each tab possible has the same information in a number of rows and columns. I am wanting to check if one row in tab one matches any row in tab two. For example:

 

Tab One

ProductFileNameUPCProductSupplierPackagingItemPackagingItemSupplierPackagingMaterialMaterialClassificationItemWeight
Red/Black Plums x 6998574The Fresh Produce Centre LimitedStonefruit black pulp tray 6ACullen PackagingOther PaperPaper23
Red/Black Plums x 6998574The Fresh Produce Centre LimitedStonefruit 60x80mm product labelParagonPaper laminate labelsLabels2
Red/Black Plums x 6998574The Fresh Produce Centre LimitedPlain Flow wrapParagonPolyesterFlexible Films2
Red/Black Plums x 6998574Greenyard Fresh UK Ltd460 P160 FilmESP PackagingPolypropylenePlastic0

 

Tab Two

Product CodeNameSupplier NamePackaging LevelBase MaterialExtended MaterialPackaging TypeTotal Packaging Weight (g)
998574Red/Black Plums X 6Greenyard Fresh Uk LtdPrimaryPaperPaperTray17.18
998574Red/Black Plums X 6Greenyard Fresh Uk LtdPrimaryPlasticPlasticBag3.08
998574Red/Black Plums X 6Worldwide Fruit LimitedPrimaryPaperPaperTray17.18
998574Red/Black Plums X 6Worldwide Fruit LimitedPrimaryPlasticPlasticBag3.08
998574Red/Black Plums X 6Total BerryPrimaryPaperPaperTray17.18
998574Red/Black Plums X 6Total BerryPrimaryPlasticPlasticBag3.08

 

Ideally, I would need a formula that will return the last value of tab two, column Total Packaging Weight (g). Sol long as a number of conditions are met, these are that the UPC, Name, Product Supplier etc match in both tabs. 

  • michaelhilland You indicate that you are on Office365, so you might have access to the new FILTER function. I copied your tables and pasted them in a new sheet (all in one tab) with some color coding to visualise the relationships between the two tables. Please see attached. The results are in column I.

3 Replies