Assuming your database is in a sheet named Data... create a dynamic named range that will allow for expansion/contraction of the data without having to reference entire columns....
So while in the Data sheet, go to Formulas tab and select Define Name from Defined Names section, enter a name like MyData and use formula for refers to field:
and click Ok.
Then in the main sheet enter a formula like:
confirmed with CTRL+SHIFT+ENTER not just ENTER.
Note: Replace the 3 and 2012, respectively with cell references to month number and year, then re-confirm with CSE keys
Bookmarks