ShyamExcel
New Member
I'm working on something that i need some help with.
I don't see an option to attach a sample Excel file, so here is a sample. Runs from A3 to A354 excluding the heading(heading on A2 and B2)
Week Start Volume
1/2/2006 477
1/9/2006 391
1/16/2006 303
1/23/2006 386
1/30/2006 595
2/6/2006 1051
2/13/2006 1158
2/20/2006 1026
2/27/2006 1275
3/6/2006 1207
3/13/2006 1066
3/20/2006 1173
3/27/2006 1092
4/3/2006 1090
4/10/2006 587
4/17/2006 620
4/24/2006 727
It has 2 columns. One is a date and a metric named volume.
It has data from 2006 to 2012. I'm looking to find trends in growth over time.
I thought of finding median for every year and then look at YoY growth%. I wrote an array formula like this for finding median when the date is from year 2006 {=MEDIAN(IF(A3:A354<="1/31/2006"+0,B3:B354))}
This worked great. I found that +0 thing in a site.
But when I got to 2007, I had to use both less and than greater than for dates and the formula kept giving error.
{=MEDIAN(IF(AND(A3:A354<="12/30/2007"+0),(A3:A354>"1/1/2007"+0)),B3:B354)}
Can you help me figure out where I'm going wrong? When the cell contains dates, I thought excel does greater than or less than operations.
I have a lots of such data sets for various products to calculate for, so hoping this will can help me get the Median for each of the 6 years and then I could just do a YoY growth percent calculation on the medians.
Any ideas welcome!
Thanks
Shyam
I don't see an option to attach a sample Excel file, so here is a sample. Runs from A3 to A354 excluding the heading(heading on A2 and B2)
Week Start Volume
1/2/2006 477
1/9/2006 391
1/16/2006 303
1/23/2006 386
1/30/2006 595
2/6/2006 1051
2/13/2006 1158
2/20/2006 1026
2/27/2006 1275
3/6/2006 1207
3/13/2006 1066
3/20/2006 1173
3/27/2006 1092
4/3/2006 1090
4/10/2006 587
4/17/2006 620
4/24/2006 727
It has 2 columns. One is a date and a metric named volume.
It has data from 2006 to 2012. I'm looking to find trends in growth over time.
I thought of finding median for every year and then look at YoY growth%. I wrote an array formula like this for finding median when the date is from year 2006 {=MEDIAN(IF(A3:A354<="1/31/2006"+0,B3:B354))}
This worked great. I found that +0 thing in a site.
But when I got to 2007, I had to use both less and than greater than for dates and the formula kept giving error.
{=MEDIAN(IF(AND(A3:A354<="12/30/2007"+0),(A3:A354>"1/1/2007"+0)),B3:B354)}
Can you help me figure out where I'm going wrong? When the cell contains dates, I thought excel does greater than or less than operations.
I have a lots of such data sets for various products to calculate for, so hoping this will can help me get the Median for each of the 6 years and then I could just do a YoY growth percent calculation on the medians.
Any ideas welcome!
Thanks
Shyam