Is there a way to have Excel compare cells in a row to cells in another row (on a different sheet or excel file) to look for a partial or full match and return the row “name”? Example below. One file lists the possible packages and what is contained in those packages (Package A has a nut, bolt, widget, and spacer) a separate file or sheet contains the order from a customer. The contents of the order are compared to the contents of all of the packages, and any rows that contain all of the contents of the order are returned as “if you order this you get everything you need”. Trying to figure this out has me stumped…. Any help is really, really appreciated!
[TABLE="width: 407"]
<colgroup><col span="5"><col></colgroup><tbody>[TR]
[TD="colspan: 5"]Available packages[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pkg A[/TD]
[TD]nut[/TD]
[TD]bolt[/TD]
[TD]widget[/TD]
[TD]spacer[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pkg B[/TD]
[TD]spacer[/TD]
[TD]bolt[/TD]
[TD]nut[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pkg C[/TD]
[TD]bolt[/TD]
[TD]nut[/TD]
[TD]widget[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pkg D[/TD]
[TD]bolt[/TD]
[TD]nut[/TD]
[TD]spacer[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 5"]Customer Order[/TD]
[TD](Goal)[/TD]
[/TR]
[TR]
[TD]Order 1[/TD]
[TD]bolt[/TD]
[TD]nut[/TD]
[TD]spacer[/TD]
[TD][/TD]
[TD]Pkg D[/TD]
[/TR]
[TR]
[TD]Order 2[/TD]
[TD]bolt[/TD]
[TD]widget[/TD]
[TD][/TD]
[TD][/TD]
[TD]Pkg A, Pkg C[/TD]
[/TR]
[TR]
[TD]Order 3[/TD]
[TD]spacer[/TD]
[TD]o-ring[/TD]
[TD]nut[/TD]
[TD][/TD]
[TD]n/a[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 407"]
<colgroup><col span="5"><col></colgroup><tbody>[TR]
[TD="colspan: 5"]Available packages[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pkg A[/TD]
[TD]nut[/TD]
[TD]bolt[/TD]
[TD]widget[/TD]
[TD]spacer[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pkg B[/TD]
[TD]spacer[/TD]
[TD]bolt[/TD]
[TD]nut[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pkg C[/TD]
[TD]bolt[/TD]
[TD]nut[/TD]
[TD]widget[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pkg D[/TD]
[TD]bolt[/TD]
[TD]nut[/TD]
[TD]spacer[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 5"]Customer Order[/TD]
[TD](Goal)[/TD]
[/TR]
[TR]
[TD]Order 1[/TD]
[TD]bolt[/TD]
[TD]nut[/TD]
[TD]spacer[/TD]
[TD][/TD]
[TD]Pkg D[/TD]
[/TR]
[TR]
[TD]Order 2[/TD]
[TD]bolt[/TD]
[TD]widget[/TD]
[TD][/TD]
[TD][/TD]
[TD]Pkg A, Pkg C[/TD]
[/TR]
[TR]
[TD]Order 3[/TD]
[TD]spacer[/TD]
[TD]o-ring[/TD]
[TD]nut[/TD]
[TD][/TD]
[TD]n/a[/TD]
[/TR]
</tbody>[/TABLE]