Hi,
I've been struggling with this formula for several hours and for some reason I can't get my head around it. If anyone could help it'd be greatly appreciated. I've created a simple version of the document: please see the summary below. As this is my first post it won't let me post a link so I've left the link here of the stack overflow post I've done. - stackoverflow.com/questions/69177321/excel-multi-layer-if-vlookup-and-formula
There are 5 shops that all stock Apples, Pears, Bananas, and Oranges.
Internally stock is moved and bought very regularly. Hence the 'Stock Location and Amount' Section. Below is the 'September Stock Movement' - which shows where the stock has moved to and from. There is also an option if more stock is bought or sold - from the bank.
I need to create a formula that tracks the internal stock depending on the 'September Stock Movement' section - I've filled in some details to this section. If the formula in the 'Stock Location and Amount' section was complete then the data below would apply/work.
If it's a transfer of stock then it needs to reduce one shop's stock and add to the other. If it's a buy then it just needs to add it directly to the location of the shop receiving the purchase and reduce the balance in the bank, and if it's a sell it needs to reduce the shops stock but increase the bank's balance.
Note - the prices of the products are different.
Please help - hugely appreciated.
Bookmarks