How to multiply cells belonging to specific month of a year and company name?

kursenkoalla

New Member
Joined
Mar 6, 2017
Messages
1
My input is daily data from 2001 to 2016 for 200 companies.
The output is monthly data (Here I calculate "Product" in June, 2000 = product of all "(RD/100+1)" in June 2000:

ABCDEFGHIJ
1
2CompanyPrice CloseDateDaily ReturnsDaily DataCompanyDate Monthly Data
3XOM41,4601.06.2000-0,450,99XOM30.06.20000,94
4XOM39,5902.06.2000-4,520,95XOM31.07.20001,02
5XOM39,6603.06.20000,161XOM31.08.20001,01
6XOM41,1604.06.20003,781,04XOM30.09.2000
7XOM40,5605.06.2000-1,440,99XOM31.10.2000
7XOM40,0306.06.2000-1,310,99XOM30.11.2000
9XOM39,5907.06.2000-1,090,99XOM31.12.2000

<tbody>
</tbody>

Here (in J3): =PRODUCT(E3:E24)
Here (in J4): =PRODUCT(E25:E68) etc.

The problem is that I have to enter the formula for each month for each company to compute this. Is there a more efficient solution to the problem? P.S. Number of days each month/year/for each company isn't the same.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,214,654
Messages
6,120,758
Members
448,991
Latest member
Hanakoro

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