Kind of stuck on this problem of getting the AVERAGE result of a FVSCHEDULE function. The formula needs to look through a table and only load values into the FVSCHEDULE in the table that match atleast a couple criteria.

So in the data table there are time series values in columns C-J (12 months of data), in columns A and B are various buckets or criteria. Lets call them Bucket1, Bucket2 and Bucket3 in column A, and category1, category2, category3 in column B.

I'd like the have this formula calculate the FVSCHEDULE of the data in columns C-J independently in each row for all the rows in the table where Bucket1 and Category1 are both in the same row and then average all those FVSCHEDULE values.
One other caveat is that I'd like to be able to do this for a dynamic range so that each range of values grows in width as I take the formulas across my summary table

Is this even theoretically possible in excel or would i need to break this into distinct functions or build a whole series of calculated columns in the data table?