Referencing cells on Balances Tab

Hi, this was my addition to the template to add more filtering and grouping capabilities.