The bakery problem

skoo

New Member
Joined
Mar 30, 2011
Messages
2
I'm working an a bakery as an accountant. Kinda.
We get the order from the shops, calculate the total for each kind of bread, croissant (there are 70 sorts of them) and send them to the bakers to make the bread.
We also have to input this data in our accountant software, we have to 'bake' the difference between our existing stocks and the order.
Here comes the trouble.
I have two different documents: the first one have the total amounts from the order. The second one is the stock.
For each kind of product there is an assigned code in the software:
for example : 800g bread - 12500 and a quantity - 52 pieces.
When I export the stocks on excel I get this number, the product name, and the available quantity. I want to extract the quantity from the order to input the results in the PC.
Question:
I need a formula what get the stock of the bread from the 'stock' document which contains 3 filled cells on each row, first cell is the 'code', second is the product name and 3rd is the quantity. This number can appear anywhere in the document, I need to locate it and copy somewhere else to extract from the order.

Thanks!
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,214,641
Messages
6,120,694
Members
448,979
Latest member
DET4492

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