I'm stumped. Been trying this all morning.
I have an excel file with two sheets:
A. Master List + Output -- contains the base list of value that I want to check presence for against in all other columns in the "Daily Orders" sheet.
B. Daily Orders -- contains lists of each day's purchased items. Will grow to the right.
I'm trying to check for each item in the "master-list" to see if it appears in each column in the "daily orders" sheet. If it appears in each column, then print it in the "output" column, preferably to match the master-list order from top down.
Imagine I was trying to build a list over time that could output what food items from a master list are ordered on every date.
Is there a way to do this? Many thanks for any suggestions.
Master List and Output Sheet
[TABLE="class: grid, width: 700, align: left"]
<tbody>[TR]
[TD]MASTER-LIST[/TD]
[TD]VALUE-APPEARS-CONSISTENTLY-IN-EACH-DAILY-COLUMN-OUTPUT[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]apples[/TD]
[TD]apples[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]kiwi[/TD]
[TD]sausage[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sausage[/TD]
[TD]cereal[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]cereal[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]potatoes[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Daily Orders Sheet
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]AUG-1[/TD]
[TD]AUG-12[/TD]
[TD]AUG-15[/TD]
[TD]AUG-19[/TD]
[TD]+[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]apples[/TD]
[TD]apples[/TD]
[TD]chicken[/TD]
[TD]banana[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]banana[/TD]
[TD]sausage[/TD]
[TD]apples[/TD]
[TD]sausage[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]broth[/TD]
[TD]pasta[/TD]
[TD]sausage[/TD]
[TD]lettuce[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]celery[/TD]
[TD]cereal[/TD]
[TD]potatoes[/TD]
[TD]apples[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sausage[/TD]
[TD]squash[/TD]
[TD]cereal[/TD]
[TD]kiwi[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]cereal[/TD]
[TD]potatoes[/TD]
[TD][/TD]
[TD]cereal[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have an excel file with two sheets:
A. Master List + Output -- contains the base list of value that I want to check presence for against in all other columns in the "Daily Orders" sheet.
B. Daily Orders -- contains lists of each day's purchased items. Will grow to the right.
I'm trying to check for each item in the "master-list" to see if it appears in each column in the "daily orders" sheet. If it appears in each column, then print it in the "output" column, preferably to match the master-list order from top down.
Imagine I was trying to build a list over time that could output what food items from a master list are ordered on every date.
Is there a way to do this? Many thanks for any suggestions.
Master List and Output Sheet
[TABLE="class: grid, width: 700, align: left"]
<tbody>[TR]
[TD]MASTER-LIST[/TD]
[TD]VALUE-APPEARS-CONSISTENTLY-IN-EACH-DAILY-COLUMN-OUTPUT[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]apples[/TD]
[TD]apples[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]kiwi[/TD]
[TD]sausage[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sausage[/TD]
[TD]cereal[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]cereal[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]potatoes[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Daily Orders Sheet
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]AUG-1[/TD]
[TD]AUG-12[/TD]
[TD]AUG-15[/TD]
[TD]AUG-19[/TD]
[TD]+[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]apples[/TD]
[TD]apples[/TD]
[TD]chicken[/TD]
[TD]banana[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]banana[/TD]
[TD]sausage[/TD]
[TD]apples[/TD]
[TD]sausage[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]broth[/TD]
[TD]pasta[/TD]
[TD]sausage[/TD]
[TD]lettuce[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]celery[/TD]
[TD]cereal[/TD]
[TD]potatoes[/TD]
[TD]apples[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sausage[/TD]
[TD]squash[/TD]
[TD]cereal[/TD]
[TD]kiwi[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]cereal[/TD]
[TD]potatoes[/TD]
[TD][/TD]
[TD]cereal[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]