Page 1 of 1
[Solved] Report of product sales
Posted: Tue Feb 20, 2024 3:09 am
by onyx6977
Hey Everyone,
I am trying to make a page in my daily sales report show how many of each item was sold. I can do it in Google sheets but I can't get the formula to work in calc. I need a formula not a filter.
Google Formula = "=UNIQUE(Sales!N2:N1608)" then "=sumifs(Sales!$E$2:$E$1608,Sales!$N$2:$N$1608,A2)"
Calc does not recognize the "UNIQUE".
Re: Formula to have list of how many of each product sold
Posted: Tue Feb 20, 2024 3:57 am
by RusselB
While I think I understand what you're trying to do, my lack of knowledge regarding the UNIQUE function in Google may mean that my understanding is incorrect.
Can you tell us where in the Google spreadsheet the UNIQUE function is placed? If it's A2 (as I suspect), then you might want to reconsider using Calc's SUMIFS and look at SUMPRODUCT.
Re: Formula to have list of how many of each product sold
Posted: Tue Feb 20, 2024 5:38 pm
by onyx6977
Here is the Spreadsheet:
I used CONCATENATE on the Sales sheet to make a helper column for the UNIQUE formula in A2 of the Most Sold sheet.
Here is the Google Sheets Link to see that it works on Google.... but will not convert to Office Calc:
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Re: Formula to have list of how many of each product sold
Posted: Tue Feb 20, 2024 6:36 pm
by lader
I added the UNIQUE function as a new macro ...
Re: Formula to have list of how many of each product sold
Posted: Tue Feb 20, 2024 7:10 pm
by onyx6977
lader wrote: ↑Tue Feb 20, 2024 6:36 pm
I added the UNIQUE function as a new macro ...
I am new to this. I opened your file and everything works fine. I do not know how to transfer the macro into my existing spreadsheet to make it work.
Re: Formula to have list of how many of each product sold
Posted: Tue Feb 20, 2024 10:11 pm
by Villeroy
Re: Formula to have list of how many of each product sold
Posted: Tue Feb 20, 2024 10:14 pm
by onyx6977
Not looking for a Pivot report... Looking for a formula that works like "Unique" in excel (google sheets). Need it to run automatically.