Hello,
I have come to a sticking point and hoping someone can help.
I have two arrays of numbers. The first is the product barcode and current stock, lets call this the "stock array". The second is the same product barcode and the number ordered by customers, the "order array".
What I want to do is use a conditional VLOOKUP so that if the barcode appears in the "order array" I want the stock value in the "stock array" to decrease by the corresponding value in the "order array".
I have done a VLOOKUP on the barcode in the "order array" to return the number in stock in the "stock array" and created a new cell with the revised in stock value ("stock array" stock number - "order array" qty ordered)
Now I need some kind of VLOOKUP to use only the barcodes in the "order array" to return the new stock value and, very importantly, not to change any of the "stock array" stock values that aren't on the order array.
Sorry this is hard to explain by text but any help would be appreciated!
Thanks
Bookmarks