Following up from this thread, I am wondering if it is possible to take this formula to create essentially a dynamically updating table as new counties appear.
This searches an existing list for time time a particular county appears then displays the results as:
County1 AMT
County2 AMT
County3 AMT
...and so on.
What I would like to do is append the word "Total" to the bottom of the list of counties and in the column next to it use a =SUM(COUNTIFS(County,UNIQUE(County))) to display the total number of times all counties have appeared.
So I would end up with :
County1 AMT
County2 AMT
County3 AMT
Totals SUM
Excel Formula:
=LET(u,UNIQUE(SORT(County)),CHOOSE({1,2},u,COUNTIFS(County,u)))
This searches an existing list for time time a particular county appears then displays the results as:
County1 AMT
County2 AMT
County3 AMT
...and so on.
What I would like to do is append the word "Total" to the bottom of the list of counties and in the column next to it use a =SUM(COUNTIFS(County,UNIQUE(County))) to display the total number of times all counties have appeared.
So I would end up with :
County1 AMT
County2 AMT
County3 AMT
Totals SUM