Maybe if I use the frequency function?

ExcelMBA

New Member
Joined
Nov 29, 2013
Messages
7
I have a data table that registers daily sales and there are several sales per day. I need to create an array function that groups sales into single days. </SPAN></SPAN>
E.g.</SPAN></SPAN>
Date Product Sales</SPAN></SPAN>
1/1/13 X 50</SPAN></SPAN>
1/1/13 Y 100</SPAN></SPAN>
1/2/13 X 10</SPAN></SPAN>
1/2/13 X 20</SPAN></SPAN>
1/3/13 Y 50</SPAN></SPAN>
1/3/13 Z 200</SPAN></SPAN>
...

Result array must show:</SPAN></SPAN>

Date Sales</SPAN></SPAN>
1/1/13 150</SPAN></SPAN>
1/2/13 30</SPAN></SPAN>
1/3/13 250</SPAN></SPAN>
...

I could manage if this is achieved: create an array formula that changes this:</SPAN></SPAN>
</SPAN></SPAN>
{50,100,10,20,50,200...}</SPAN> </SPAN>

And summarizes data to this:</SPAN></SPAN>

{150,30,250...}</SPAN> </SPAN>

Hope someone can help. Thank you </SPAN></SPAN>:)
 
That`s amazing!

It Works great, although I`m still scratching my head on how it actually Works! Thank you very much Cyrilbrd. It`s not 100% exactly what I need but I`m going to start working from this. You`ve done so much. Much more than I would`ve ever imagined. You`re awesome pal! Thanks.</SPAN></SPAN>
 
Upvote 0

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
That`s amazing!

It Works great, although I`m still scratching my head on how it actually Works! Thank you very much Cyrilbrd. It`s not 100% exactly what I need but I`m going to start working from this. You`ve done so much. Much more than I would`ve ever imagined. You`re awesome pal! Thanks.

Most welcome.
Glad it somehow worked for you.
And thanks for the kind words.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,885
Members
452,364
Latest member
springate

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