Perform statistical calculations to data found in an array

yayo12

New Member
Joined
May 26, 2008
Messages
4
Hello guys

I was wondering if anyone might be able to help me with the following problem. I have a table that has data by weeks. I want to create a reference that lists each week by month or even quarter and then perform statistical calculations (min, max, median, etc) to the data that meets the time period selected.
For example

7/267/1910/2910/22
1122

<tbody>
</tbody>

I want to create a separate reference list that would look something like
Q37/26
Q37/19
July7/26
July7/19

<tbody>
</tbody>

In theory I would have a custom list where the user can select the desired time period (either a quarter, or a month) and then have the formula take that, look for the corresponding weeks and then perform a calculation. Say for example the median of July, or the sum of Q4

I know it has to be a nested formula, but not sure which operations and in what order to write it so it works.
Thank you
 
Last edited:

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,216,085
Messages
6,128,733
Members
449,465
Latest member
TAKLAM

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