Hi All -
I've seen some really great solutions posted on here, so figured I'd come ask for help!
I am building a workbook that utilizes a FILTER function to return results to a variety of worksheets from a data set within the workbook. The function is predicated on a single cell with a code to populate a given section of the worksheet. My issue is that since the data set is always changing, the only way (that I've found) to get the FILTER function to fill in the areas I need filled, is to manually go through the worksheet(s) and expand a given section until the #SPILL error goes away, and my data appears in the section.
My question is - is there a way to have Excel automatically add/remove rows to my worksheet in order to capture all data in the spill range without me having to manually expand/contract all of the sections? I feel it should be possible, as the program will know how many rows of data there are for a given result, but I am lost as to how to get there. I've included some screenshots below to help illustrate what I'm referring to. The FILTER function uses the code in B9 to return results, and this happens multiple times on the worksheet as you wll see in subsequent screenshots - the bolded lines are the codes used
What it looks like after I expand the rows in a given section - aka what I'd like to get it to do on it's own
Example of other sections of the worksheet
Hoping some of the Excel witches and wizards on here can help me work some magic!
TIA