Unique product total Count

anupamfloyd

New Member
Joined
May 31, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have a table like this , where products and number of sales each day is shown
ProductSales
A2
B1
C2
A1
A4
B1
D2


I would like to know how to get a cummulative total sales of each product. something like below for the above table.
ProductSales
A7
B2
C2
D2
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Like this ?

Excel Formula:
=LET(pd,B3:B9,sa,C3:C9,u,UNIQUE(pd),h,B2:C2,VSTACK(h,HSTACK(u,SUMIF(pd,u,sa))))


1717146366576.png
 
Upvote 0
Solution

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top