Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 920

Auto update quantity from one sheet to another

$
0
0

We have an Inventory list with columns for Brand, Product, Qty then the multiple prices columns.

We have a Sales sheet with columns for the Date, Product (which uses Data Validation for a drop down list which pulls up all of the products from the Products column in the Inventory Sheet), Type, Price, Qty, then Total Cost.

When an item is sold it is logged in the Sales sheet but we then have to go into the Inventory sheet and update the Qty there as well.

Is it possible to have the Qty in the Inventory automatically update when we log an item sold with the qty in the Sales sheet??

I have found this code but am having a hard time adjusting it to fit our sheets particularly, if at all possible.

=C2 + SUMIFS('Receiving Sheet'!QuantityColumn, 'Receiving Sheet'!ItemIDColumn, A2) - SUMIFS('Sales Sheet'!QuantityColumn, 'Sales Sheet'!ItemIDColumn, A2) Or… =LET(ItemID, A2, InitialQty, C2, ReceivedQty, SUMIFS('Receiving Sheet'!QuantityColumn, 'Receiving Sheet'!ItemIDColumn, ItemID), SoldQty, SUMIFS('Sales Sheet'!QuantityColumn, 'Sales Sheet'!ItemIDColumn, ItemID), NewQty, InitialQty + ReceivedQty - SoldQty, NewQty)

Inventory list image:Inventory list image

Inventory Sales image:Inventory Sales image


Viewing all articles
Browse latest Browse all 920

Trending Articles