rockandahardplace
New Member
- Joined
- Jan 22, 2011
- Messages
- 6
Hello,
I have searched high and low on this fabulous forum for the last day trying to find a solution to my problem . But alas I couldn't find the exact right fit for what I need to do...
I have two sets of data. They are in separate worksheets and arranged within their respective sheets by row. Column A in both sheets houses the headings/titles. In Sheet 1 you see the drink names and if you read across have an idea how to assemble the ****tails:
Excel 2010
The second sheet is just 'random' combinations of products:
Excel 2010
I need to find out if the entire contents of one row (e.g., Combo 7) of Sheet 2 fit into a recipe from Sheet 1. In my example Combo 7 (vodka & cranberry) are two elements found in both the Cosmo and Cape Cod. It's not required that all of the ingredients be listed. Most of the posts I have seen compare individual items in a list against other individual items. I need to treat these as a block. Ideally, the output would be in a separate worksheet and generate a matrix something like the following with 1s and 0s for true and false:
Excel 2010
Hopefully, this challenge will entice some of the programming experts to give this some attention. I appreciate in advance any guidance that you are able to provide. Thanks!!!
I have searched high and low on this fabulous forum for the last day trying to find a solution to my problem . But alas I couldn't find the exact right fit for what I need to do...
I have two sets of data. They are in separate worksheets and arranged within their respective sheets by row. Column A in both sheets houses the headings/titles. In Sheet 1 you see the drink names and if you read across have an idea how to assemble the ****tails:
Excel Workbook | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | Cosmo | vodka | cranberry | triple sec | lime | |||||
2 | Mojito | rum | mint | lime | sugar | soda | ||||
3 | Long Island | vodka | tequila | rum | gin | triple sec | sweet & sour | coca cola | ||
4 | Gin & Tonic | gin | tonic | lime | ||||||
5 | Cape Cod | cranberry | vodka | |||||||
6 | Blood Mary | vodka | tomato | hot sauce | worcestershire | lemon | salt | celery | ||
Sheet1 |
The second sheet is just 'random' combinations of products:
Excel Workbook | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | Combo 1 | vodka | lemon | rum | |||
2 | Combo 2 | lemon | lime | soda | sugar | ||
3 | Combo 3 | tequila | lime | ||||
4 | Combo 4 | tomato juice | vodka | celery | |||
5 | Combo 5 | mint | vodka | ||||
6 | Combo 6 | mint | rum | ||||
7 | Combo 7 | cranberry | vodka | ||||
8 | Combo 8 | midori | triple sec | ||||
9 | Combo 9 | whiskey | orange | bitters | |||
Sheet2 |
I need to find out if the entire contents of one row (e.g., Combo 7) of Sheet 2 fit into a recipe from Sheet 1. In my example Combo 7 (vodka & cranberry) are two elements found in both the Cosmo and Cape Cod. It's not required that all of the ingredients be listed. Most of the posts I have seen compare individual items in a list against other individual items. I need to treat these as a block. Ideally, the output would be in a separate worksheet and generate a matrix something like the following with 1s and 0s for true and false:
Excel Workbook | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Cosmo | Mojito | Long Island | Gin & Tonic | Cape Cod | Blood Mary | |||
2 | Combo 1 | 0 | 0 | 0 | 0 | 0 | 0 | ||
3 | Combo 2 | 0 | 0 | 0 | 0 | 0 | 0 | ||
4 | Combo 3 | 0 | 0 | 0 | 0 | 0 | 0 | ||
5 | Combo 4 | 0 | 0 | 0 | 0 | 0 | 1 | ||
6 | Combo 5 | 1 | 0 | 0 | 0 | 0 | 0 | ||
7 | Combo 6 | 0 | 1 | 0 | 0 | 0 | 0 | ||
8 | Combo 7 | 1 | 0 | 0 | 0 | 1 | 0 | ||
9 | Combo 8 | 0 | 0 | 0 | 0 | 0 | 0 | ||
10 | Combo 9 | 0 | 0 | 0 | 0 | 0 | 0 | ||
Sheet3 |
Hopefully, this challenge will entice some of the programming experts to give this some attention. I appreciate in advance any guidance that you are able to provide. Thanks!!!