adding and subtracting stock figures

Joined
Feb 12, 2003
Messages
1
:P Hello EveryOne - I've been away for a while, but it's that time again when we have major project derailment due to our collective ignorance; though we're hoping one of you will know "The Answer"

"The Problem"

Background
A grocery shop, any old business, is selling or issuing goods and recording the sale in an Excel based invoice, using VLOOKUP, entering the Product_ID returns the Description and Selling_Price from the Stock database workbook.
User adds Number_Sold and the Sales_Value is calculated

Now, the problem is if initially we sell 3 off Product P7 which has an opening stock of 10 items we get a stock balance of 7 no problem; but then next customer comes in and buys 2 x P7 ; number sold should increase to 5 and stock balance decrease to 5.

We can't solve this without inserting a new column of Product Sold adding the 2 then subtracting from the cell with 5 and putting the answer in another new cell.

Messy and surely this is not the way to do it; As I'm sure lots of businesses want to carry out this simple stock update transaction hundreds of times a day, there has to be an elegant solution.

Any ideas gratefully received

Many ThanKs & Regards

PeterK
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,215,129
Messages
6,123,210
Members
449,090
Latest member
bes000

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