Forum Discussion

ms_mit's avatar
ms_mit
Copper Contributor
Jul 16, 2020
Solved

Data conversion

I am working with some list of trees we planted with our little non-profit and I need a little snippet of code to automate the expansion of a list of fields with trees planted to a list of individual...
  • PeterBartholomew1's avatar
    Jul 16, 2020

    ms_mit 

    To work with MATCH, the accumulated count needs to be the first number associated with the plot, rather than the final count.

     

    Whilst you are refactoring your data, I would suggest that the best data structure would be to have one table that relates to individual trees and use a field to reference a second table which relates to plots.  The number of trees of a given species growing within a plot would then be a calculated quantity using COUNTIFS to search the tree table rather than being input data that controls the tree table as output.

Resources