Production Table Help

TheDarkLord

New Member
Joined
Mar 13, 2009
Messages
23
i have an Excel table - Table1, with quantities of different ingredients used by batch for different products. the products are the column headings and the ingredients are the rows.

I have created another table - Table 2, with quantities to be made for each product in the top row. by multiplying these quantities with amount of ingredients for each product, i get the total ingredients to be used.

I would like to be able to get the list of ingredients by clicking a particular product, which would be like a material requisition list for that product.

kindly advise


table1: formula grid

...........product1........product2......product3.....product4......product5

ing1

ing2

ing3

ing4

ing5



table2 : compiled quantities of ingredients for quantity of product to be made.

.............................p1...........p2...........p3..........p4..............p5

qty
to be produced..........x ............x.............x.............x..............x

ing1

ing2

ing3

ing4

ing5

If i want to know the quantities of all ingredients to make product 1, i only have to click on button p1, and it will give me the list with the ingredient name and quantities.

kindly advise.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Are the 2 tables in the same worksheet? In the same workbook?
You could just have the formulas in the cells in table 2, and change the quantity to a non-zero value to get the list for a specific quantity of a product, unless you really want to use a button?
Cindy
 
Upvote 0
Yes, the two tables are on the same sheet, but I would just like to see the list of ingredients for a selected product only, as there are hundreds of products.

thanks :)
 
Upvote 0
Still clarifying (not intending to be confrontational)...
So, you would have hundreds of buttons, one for each product?
 
Upvote 0
Do you really need the hundreds of buttons at the same time...? Why not just have one button for all products where you enter the desired product and do a lookup to get the ingredients of that product?

Ed.
 
Upvote 0
Or, a single cell with Validation (found under the Data menu), using the list of products as your source, and "In cell dropdown" enabled.
 
Upvote 0
Do you really need the hundreds of buttons at the same time...? Why not just have one button for all products where you enter the desired product and do a lookup to get the ingredients of that product?

Ed.

This looks interesting, how would I proceed?
 
Upvote 0
It could look something like this:

Book1
ABCDEFG
1Product 1Product 2Product 3Product 2
2Ing 13 lb3 lb3.2 lb3 lbIng 1
3Ing21.5 lb1.5 lbIng 2
4Ing 35 oz6oz5 ozIng 3
5Ing 4 Ing 4
6Ing 5 Ing 5
7Ing 618 lb18 lbIng 6
8Ing 72 oz Ing 7
9Ing 812 gal Ing 8
10Ing 921 gal12 gal21 galIng 9
11Ing 1023 gal Ing 10
12Ing 11 Ing 11
13Ing 121.1 oz Ing 12
14Ing 131.4 oz1.4 oz1.4 ozIng 13
15Ing 142 tsp Ing 14
16Ing 15 Ing 15
Sheet1


To build it, select cell F1 (in this example). Click the "Data" menu item, then in the dropdown that appears choose "Validation..." This will launch a dialog box, which (on my machine) opens to the "Settings" tab. The first item, "Allow" has a dropdown: choose "List". The third item allows you to specify where this "list" is. Click the button on the right, then highlight in the spreadsheet the items in the Product row. Make sure the "In cell dropdown" radio button is checked, then click OK. Now, when a user clicks on cell F1, a dropdown arrow appears. Click that, and the list you specified appears for them to pick one. You are also allowed to type a value in the cell, and if that typed value is not in the list an error dialog box pops.

This functionality of Excel can be very useful, but there is one thing to note: your "list" must be on the same sheet if you are specifying it by address. However, if you use named ranges, you can specify the name of the list even if that list is on a different sheet. Named range, when correctly used, also has an added bonus: if you add products later you don't have to remember to go back and add the new products to the validation list.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,892
Messages
6,175,236
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top