Hi,
I'm trying to create a formula that calculates the YTD value for April (start of our fiscal year) to the month selected in a validation list.
I have multiple columns per month as shown below:
Row 6 March March March March March March
Row 7 Volume Volume ASP ASP Value Value
Row 8 Budget Actual Budget Actual Budget Actual
13 99 23 13 17 15
April starts in column H and March finishes in column CA.
I also have a validation list with the 12 month names in cell A1.
I've tried the following formulas but they only seem to be showing the value of the currently selected month (instead of April to the selected month):
=SUM(H10:INDEX(H10:CA10,MAX(MATCH($A$1,$H$6:$CA$6,0),MATCH("Volume",$H$7:$CA$7,0),MATCH("Budget",$H$8:$CA$8,0))))
=SUM(H10:INDEX(H10:CA10,AND(MATCH($A$1,$H$6:$CA$6,0),MATCH("Volume",$H$7:$CA$7,0),MATCH("Budget",$H$8:$CA$8,0))))
=SUM(H10:INDEX(H10:CA10,MATCH($A$1&"Volume"&"Budget",$H$6:$CA$6&$H$7:$CA$7&$H$8:$CA$8,0)))
Can anyone advise where I'm going wrong?
Any help would be much appreciated.
Thanks,
K
I'm trying to create a formula that calculates the YTD value for April (start of our fiscal year) to the month selected in a validation list.
I have multiple columns per month as shown below:
Row 6 March March March March March March
Row 7 Volume Volume ASP ASP Value Value
Row 8 Budget Actual Budget Actual Budget Actual
13 99 23 13 17 15
April starts in column H and March finishes in column CA.
I also have a validation list with the 12 month names in cell A1.
I've tried the following formulas but they only seem to be showing the value of the currently selected month (instead of April to the selected month):
=SUM(H10:INDEX(H10:CA10,MAX(MATCH($A$1,$H$6:$CA$6,0),MATCH("Volume",$H$7:$CA$7,0),MATCH("Budget",$H$8:$CA$8,0))))
=SUM(H10:INDEX(H10:CA10,AND(MATCH($A$1,$H$6:$CA$6,0),MATCH("Volume",$H$7:$CA$7,0),MATCH("Budget",$H$8:$CA$8,0))))
=SUM(H10:INDEX(H10:CA10,MATCH($A$1&"Volume"&"Budget",$H$6:$CA$6&$H$7:$CA$7&$H$8:$CA$8,0)))
Can anyone advise where I'm going wrong?
Any help would be much appreciated.
Thanks,
K