Hi everyone!
I have a spreadsheet with product registration with the columns: ID, Product, Amount, Price, Total and Product type
These products are loaded into a sales registration form.
In this form I select the category: "Product type" and in the listbox the respective products of that category are loaded.
When I click the "Register Sale" button, the ListBox records are saved in the "Sales" sheet.
The problem is that I have repeated products in each category:
I would like to register only unique products. If I am making a duplicate record, I should just add the quantities.
That is, when registering the sale, I need to check if there are any items that have already been entered in the "Sales" spreadsheet. If there are repeated products, I just need to add the quantities: Sold Amount and Total $.
In this example, it would look like this:
It is possible? If anyone can help me, I will be very grateful.
Below is the spreadsheet I created.
I have a spreadsheet with product registration with the columns: ID, Product, Amount, Price, Total and Product type
These products are loaded into a sales registration form.
In this form I select the category: "Product type" and in the listbox the respective products of that category are loaded.
When I click the "Register Sale" button, the ListBox records are saved in the "Sales" sheet.
The problem is that I have repeated products in each category:
I would like to register only unique products. If I am making a duplicate record, I should just add the quantities.
That is, when registering the sale, I need to check if there are any items that have already been entered in the "Sales" spreadsheet. If there are repeated products, I just need to add the quantities: Sold Amount and Total $.
In this example, it would look like this:
It is possible? If anyone can help me, I will be very grateful.
Below is the spreadsheet I created.
Example (1).xlsm
drive.google.com