Lounge of Tomorrow

€uromeinke, FEJ. and Ghoulish Delight RULE!!! NA abides.  


Go Back   Lounge of Tomorrow > A.S.C.O.T > Egg Head
Swank Swag
FAQ Members List Calendar Today's Posts Clear Unread

Reply
 
Thread Tools Search this Thread Display Modes
Old 12-16-2015, 03:26 PM   #1
SzczerbiakManiac
"ZER-bee-ak"
 
SzczerbiakManiac's Avatar
 
Join Date: Jan 2005
Posts: 4,409
SzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of cool
Question Excel How To: Reverse Ingredient List

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
  • Eggs
  • Bread
  • Butter

Pancakes
  • Eggs
  • Flour
  • Sugar

Hollandaise Sauce
  • Eggs
  • Butter
  • Lemon

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?
__________________
SzczerbiakManiac is offline   Submit to Quotes Reply With Quote
Old 12-17-2015, 12:59 AM   #2
RStar
Senior Member
 
RStar's Avatar
 
Join Date: Jun 2006
Location: Me & Manyard hangin out!
Posts: 5,433
RStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of cool
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!
www.StarTownGifts.com
RStar is offline   Submit to Quotes Reply With Quote
Old 12-18-2015, 05:26 AM   #3
scaeagles
I LIKE!
 
scaeagles's Avatar
 
Join Date: Jan 2005
Posts: 7,819
scaeagles is the epitome of coolscaeagles is the epitome of coolscaeagles is the epitome of coolscaeagles is the epitome of coolscaeagles is the epitome of coolscaeagles is the epitome of coolscaeagles is the epitome of coolscaeagles is the epitome of coolscaeagles is the epitome of coolscaeagles is the epitome of coolscaeagles is the epitome of cool
I could write you a SQL query but that's not going to help you much.
scaeagles is offline   Submit to Quotes Reply With Quote
Old 12-18-2015, 08:42 PM   #4
RStar
Senior Member
 
RStar's Avatar
 
Join Date: Jun 2006
Location: Me & Manyard hangin out!
Posts: 5,433
RStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of cool
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!
www.StarTownGifts.com
RStar is offline   Submit to Quotes Reply With Quote
Old 12-20-2015, 04:06 PM   #5
SzczerbiakManiac
"ZER-bee-ak"
 
SzczerbiakManiac's Avatar
 
Join Date: Jan 2005
Posts: 4,409
SzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of cool
Quote:
Originally Posted by scaeagles View Post
I could write you a SQL query but that's not going to help you much.
How much would you charge?
__________________
SzczerbiakManiac is offline   Submit to Quotes Reply With Quote
Old 12-20-2015, 07:49 PM   #6
Moonliner
8/30/14 - Disneyland -10k or Bust.
 
Moonliner's Avatar
 
Join Date: Jan 2005
Posts: 9,022
Moonliner is the epitome of coolMoonliner is the epitome of coolMoonliner is the epitome of coolMoonliner is the epitome of coolMoonliner is the epitome of coolMoonliner is the epitome of coolMoonliner is the epitome of coolMoonliner is the epitome of coolMoonliner is the epitome of coolMoonliner is the epitome of coolMoonliner is the epitome of cool
Send a message via AIM to Moonliner Send a message via MSN to Moonliner Send a message via Yahoo to Moonliner
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.
Moonliner is offline   Submit to Quotes Reply With Quote
Old 12-21-2015, 09:09 AM   #7
SzczerbiakManiac
"ZER-bee-ak"
 
SzczerbiakManiac's Avatar
 
Join Date: Jan 2005
Posts: 4,409
SzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of cool
Quote:
Originally Posted by Moonliner View Post
How are they listed in the table:
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
__________________
SzczerbiakManiac is offline   Submit to Quotes Reply With Quote
Old 12-21-2015, 10:31 AM   #8
SzczerbiakManiac
"ZER-bee-ak"
 
SzczerbiakManiac's Avatar
 
Join Date: Jan 2005
Posts: 4,409
SzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of coolSzczerbiakManiac is the epitome of cool
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.
__________________
SzczerbiakManiac is offline   Submit to Quotes Reply With Quote
Old 12-22-2015, 05:36 PM   #9
Alex
.
 
Join Date: Feb 2005
Posts: 13,354
Alex is the epitome of coolAlex is the epitome of coolAlex is the epitome of coolAlex is the epitome of coolAlex is the epitome of coolAlex is the epitome of coolAlex is the epitome of coolAlex is the epitome of coolAlex is the epitome of coolAlex is the epitome of coolAlex is the epitome of cool
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.
Alex is offline   Submit to Quotes Reply With Quote
Old 12-22-2015, 11:39 PM   #10
RStar
Senior Member
 
RStar's Avatar
 
Join Date: Jun 2006
Location: Me & Manyard hangin out!
Posts: 5,433
RStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of coolRStar is the epitome of cool
I knew Alex would have the answer!
__________________
Meddle not in the affairs of Dragons, for you are crunchy and good with ketchup!
www.StarTownGifts.com
RStar is offline   Submit to Quotes Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 12:41 PM.


Lunarpages.com Web Hosting

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.