I have a spreadsheet that has one tab showing stock levels and item costs and another tab showing sales - the sales tab picks up the items and sales prices from the stock sheet etc and I want to return data the sales tab to the stock tab showing quantity sold.
I am using the following formula in the qty sold column - however if the same item is sold on more than one row it only picks up the number from the first row - can someone help me adjust the formula so that it picks up the data on every row this appears.
=IFERROR(VLOOKUP(A2,Sales!$B$2:$D$30,3,FALSE),0)
ie in the example below the qty column in the stock sheet only shows sales of 4 and not 6
Thank you for your help
Marc
I am using the following formula in the qty sold column - however if the same item is sold on more than one row it only picks up the number from the first row - can someone help me adjust the formula so that it picks up the data on every row this appears.
=IFERROR(VLOOKUP(A2,Sales!$B$2:$D$30,3,FALSE),0)
ie in the example below the qty column in the stock sheet only shows sales of 4 and not 6
03/01/2022 | Amazon Echo | 17.00 | 4 |
09/01/2022 | Amazon Echo | 17.00 | 2 |
Marc