Need Quick help please

sohaib

New Member
Joined
Feb 20, 2009
Messages
20
Hello..
The following pics show two of my sheets one named Stock and the other Order.. What i want to do is when ever i enter a new record in the order sheet.. The product name should be looked up in the Stock form and the quantity entered in the order form should be deducted from the the quantity in the Stock form ...
For example if i enter a new record in the order form with a product name "Mini Tower" and Quantity "5" then the outcome in the stock form should be 26-5=21.. However one more thing i want to make sure is that i should be able to enter Quantity(Stock) purchased in the stock form .. so it shouldn't be like there is a formula in the Quantity cell so when i purchase further stock and add it to the Stock sheet i.e (Quantity in the stock sheet).. the formula goes away..
Please solve my problem i will be really thankful



Excel Workbook
ABCDEFGH
2Part No.ComponentTypeQuantityPricePurchase DateExpiry DateOut of date
3Pt001Std TowerCase3445.00*4/10/2009 
4Pt002Lg TowerCase1260.00*2/21/2009Y
5Pt003Mini TowerCase2655.00*2/22/2009Y
6Pt004Alien SkinCase575.00*6/6/2009 
7Pt005Std DesktopCase7535.00*6/7/2009 
8Pt006PC2-5300 - 1GBRAM4140.00*6/8/2009 
9Pt007PC2-7200 - 512MBRAM6035.00*6/9/2009 
10Pt008PC2-7200 - 1GBRAM2345.00*10/8/2009 
11Pt009PC2-5300 - 512MBRAM5435.00*10/9/2009 
12Pt010PC2-4200 - 512MBRAM020.00*10/10/2009 
13Pt011PC2-4200 - 1GBRAM4125.00*10/11/2009 
14Pt0125400 - 400GBHDD20145.00*10/12/2009 
15Pt0135400 - 160GBHDD7889.00*10/13/2009 
16Pt0145400 - 100GBHDD078.00*5/10/2009 
17Pt0157200 - 100GBHDD1985.00*2/21/2009Y
18Pt0167200 - 160GBHDD1190.00*5/12/2009 
19Pt0177200 - 400GBHDD9125.00*5/13/2009 
20Pt0187200 - 500GBHDD32185.00*5/14/2009 
Stock


Excel Workbook
ABCDEFGHIJKLM
2Order Number:Retailer NameAddressPostcodeTelephone NumberOrder DateProduct TypeProductUnit PriceQuantityFinal PricePaidDelivered
3Od12345New Worldddnah922340092-442352675/17/2009RAMRam$100.002$200.00NY
4Od53724Computer Worldsdd1234500974-45918384/2/2009CaseLg Tower$20.004$80.00YY
5Od57321RegentsDukhan1234500974-4231523/10/2009CD/RWMini Tower$50.007$350.00NN
6Od54789CompsMatar1234500974-45918387/10/2009CDDVD$20.004$80.00NY
7Od52135Al JareerRayyan1567700974-45213672/5/2009HDD7200 - 500GB$200.003$600.00YY
Order
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Have a sheet for purchases and a sheet for sales. Have another sheet for stock and calculate the balance using SUMIF formulas. That way everything is transparent.
 
Upvote 0

Forum statistics

Threads
1,203,026
Messages
6,053,114
Members
444,639
Latest member
xRockox

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