![]() |
€uromeinke, FEJ. and Ghoulish Delight RULE!!! NA abides. |
![]() |
#1 |
"ZER-bee-ak"
Join Date: Jan 2005
Posts: 4,409
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() The actual lists are more complicated, but for simplicity, let's say I have this list of recipes in Excel that looks like this:
French Toast
Pancakes
Hollandaise Sauce
What I need is a list of ingredients with what recipes they're used in. E.g., Eggs are used in French Toast, Pancakes, and Hollandaise. Butter is used in French Toast and Hollandaise. Flour is only used in Pancakes. Is there a relatively easy way to create that? |
![]() |
Submit to Quotes
![]() |
![]() |
#2 |
Senior Member
Join Date: Jun 2006
Location: Me & Manyard hangin out!
Posts: 5,433
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Wow, that's a good one. I would think you would have to start by imputing the full recipes into look up tables, but how to get the query to come up with a list of the recipes as a "where used" in excel is a perplexing question for me. Good luck!
__________________
Meddle not in the affairs of Dragons, for you are crunchy and good with ketchup! |
![]() |
Submit to Quotes
![]() |
![]() |
#3 |
I LIKE!
Join Date: Jan 2005
Posts: 7,819
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I could write you a SQL query but that's not going to help you much.
![]() |
![]() |
Submit to Quotes
![]() |
![]() |
#4 |
Senior Member
Join Date: Jun 2006
Location: Me & Manyard hangin out!
Posts: 5,433
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Well, a lot of help we turned out to be. We could just toss in some HTML code and call it a day!
__________________
Meddle not in the affairs of Dragons, for you are crunchy and good with ketchup! |
![]() |
Submit to Quotes
![]() |
![]() |
#5 |
"ZER-bee-ak"
Join Date: Jan 2005
Posts: 4,409
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
How much would you charge?
|
![]() |
Submit to Quotes
![]() |
![]() |
#6 |
8/30/14 - Disneyland -10k or Bust.
|
How are they listed in the table:
A1 French Toast A2 Eggs A3 Cinnamon A4 Butter A5 Pancakes A6 Eggs A7 Flour . . . How can you tell an ingredient cell from an item cell?
__________________
- Taking it one step at a time.
|
![]() |
Submit to Quotes
![]() |
![]() |
#7 |
"ZER-bee-ak"
Join Date: Jan 2005
Posts: 4,409
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Like this:
A1 French Toast A2 Eggs A3 Cinnamon A4 Butter A6 Pancakes A7 Eggs A8 Flour It's essentially a plain list, but each item is listed in its own cell. Each recipe/ingredient list is separated by an empty row. I can fiddle with the layout of that would help. E.g., either of these would be easy to accomplish with a quick bunch of cut & pastes: A1 French Toast A2 Eggs A3 Cinnamon A4 Butter B1 Pancakes B2 Eggs B3 Flour _____________________________ A1 French Toast B2 Eggs B3 Cinnamon B4 Butter A6 Pancakes B7 Eggs B8 Flour |
![]() |
Submit to Quotes
![]() |
![]() |
#8 |
"ZER-bee-ak"
Join Date: Jan 2005
Posts: 4,409
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
A friend suggested this solution which suited me just fine:
Column A | Column B Dish | Ingredient French Toast | Eggs French Toast | Bread French Toast | Butter Pancakes | Eggs Pancakes | Flour Pancakes | Sugar Hollandaise Sauce | Eggs Hollandaise Sauce | Butter Hollandaise Sauce | Lemon Then filter on the ingredient. I pretty much taught myself how to use Excel, to there are huge gaps in my knowledge--including this probably obvious solution. ![]() Thank you all for putting up with my ignorance. |
![]() |
Submit to Quotes
![]() |
![]() |
#9 |
.
Join Date: Feb 2005
Posts: 13,354
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
You'll need to put the dish in a separate column from ingredients and then repeat for each row (as SB suggests).
Once you've done that, what you're asking for is why god invented pivot tables. |
![]() |
Submit to Quotes
![]() |
![]() |
#10 |
Senior Member
Join Date: Jun 2006
Location: Me & Manyard hangin out!
Posts: 5,433
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I knew Alex would have the answer!
__________________
Meddle not in the affairs of Dragons, for you are crunchy and good with ketchup! |
![]() |
Submit to Quotes
![]() |