Community
Forestry
Program
Work Team,
Cornell Univ.
Cornell University

Community Forestry
Home Page


Community Forestry Planning

  • Developing a Master Plan
  • Acknowledgments (work team members)


  • Conducting a Street Tree Inventory

  • Street Tree Project History
  • Hiring the SWAT Team
  • Using the Inventory
  •    - Inventory Methodology
       - Using Excel 2003
       - Using Excel 2007
       - Using STRATUM
  • Updating the Inventory


  • Resources

    Site contact:
    Dr. Nina L. Bassuk
    Horticulture Section
    134A Plant Science Bldg
    Cornell University
    Ithaca, NY 14853
    Phone: (607) 255-4586
    Fax:(607) 255-9998
    Email: nlb2@cornell.edu

    Community Forestry
    Conducting a Street Tree Inventory

    Using Excel 2003 to Analyze the Street Tree Inventory

    The following tutorial teaches you how to analyze the data in your inventory using Excel 2003. Note: Excel 2003 differs somewhat from the 2007 version of the program; another tutorial on this website teaches you to analyze inventory data using Excel 2007.

    We recommend using Excel for maintaining and updating the inventory because it is easy to use and generally familiar to most computer users, and it can also be used to analyze inventory data.

    There are a number of ways to get inventory data into Excel. How you choose to get the data into Excel depends in large measure on how the data was collected.

    (1) If your data was collected using a paper form, it will need to be entered manually into Excel; manual entry is time consuming, especially when the inventory involves large numbers of trees.

    (2) If your data was collected using the STRATUM/MCTI PDA Utility, it will be in an Access mdb file format and can be imported from the STRATUM_MCTI_Inventory table in the Access i-Tree_Grand_Database.mdb file as follows:

    • Office Button > Open
    • Navigate to location of the inventory i-Tree_Grand_Database.mdb file
    • Make sure that "Files of type" is set to "Access Databases"
    • Import the inventory i-Tree_Grand_Database.mdb file

    (3) If data is in the form of a GIS shapefile, it can be imported from the underlying dbf file as follows:

    • Office Button > Open
    • Navigate to location of the inventory shapefile
    • Make sure that "Files of type" is set to "dBase files"
    • Import the inventory dbf file

    Note: data fields used in the examples below are based on the data fields in the Sample Tree Inventory Workbook and the Paper Survey Template. The data fields in your inventory may differ from the fields in this workbook and template.

    Filtering Data - to find all records in the inventory possessing a common feature

    Filter your tree inventory by field to generate a list based on a specified attribute. For example, you may wish to generate a list of all trees with a "Consult" designation, all available planting sites, all trees of a particular species, etc.

    To filter the inventory data for all trees with a "Consult" designation in the Sample Tree Inventory Workbook:

    • Click on the Data tab at the top of the Excel spreadsheet (the All Sites worksheet tab at the bottom of the spreadsheet should be active)
    • Highlight Filter (below "Sort") in the Pop-up menu - a new Pop-up menu will appear to the right
    • Click on Autofilter - a downward pointing arrow should appear at the top of each column (see image below)
    screen capture

    • At the top of the ConsultNeeded column (you will probably need to scroll to the right in the spreadsheet to find this column), click on the arrow associated with the column - a new Pop-up menu will appear to the right
    • Click on Yes in the Pop-up menu
    • A new list will be created showing only those records in the inventory where a consult designation of "Yes" was given
    • To return all records to view, click on the arrow associated with the column
    • Click on All in the Pop-up menu

    Inventory data can be filtered for multiple criteria. For example, suppose you wanted to generate a list of all trees with a "Consult" designation that are Sugar Maples with a dbh greater than or equal to 30. This can be done as follows:

    • Repeat the steps above to generate a list of those records in the inventory where a consult designation of "Yes" was given
    • At the top of the CommonName column, click on the arrow associated with the column - a new Pop-up menu will appear to the right
    • Click on Sugar Maple
    • A new list will be created showing only those records in the inventory where a consult designation of "Yes" was given that were also Sugar Maples
    • At the top of the DBH column, click on the arrow associated with the column - a new Pop-up menu will appear to the right
    • Click on Custom
    • In the Custom Auto Filter message box for DBH, select "is greater than or equal to" in the upper left window, type "30" in the upper right window, and click Okay at the bottom of the message box
    • A new list will be created showing only those records in the inventory where a consult designation of "Yes" was given that were also Sugar Maples with a dbh greater than or equal to 30.

    To save your new list as a new spreadsheet table:

    • Click on the empty box above the first record in the first column on the left - this will highlight in blue the entire table
    • Right click anywhere in the table
    • Click on Copy in the Pop-up menu
    • Click on an empty worksheet tab at the bottom of the spreadsheet (if you need to create a new worksheet, right click on any of the tabs, click on Insert in the Pop-up menu, click on Worksheet and Okay in the Insert message box)
    • In the empty worksheet, click on cell 1A (column A row 1)
    • Right click in this box
    • Click on Paste in the Pop-up menu
    • The list you created by filtering data will be copied to the worksheet

    Making Pivot Tables - to summarize values within a data field

    Create a pivot table to summarize and graph your data. For example, you can use a pivot table to analyze Species Distribution, Genus Distribution, Size Class Distribution, Tree Condition, Percent Stocking, etc.

    To create a pivot table analyzing the species distribution for all trees in the Sample Tree Inventory Workbook:

    • Click on the Data tab at the top of the Excel spreadsheet (the All Sites worksheet tab at the bottom of the worksheet should be active)
    • Click on PivotTable and Pivot Chart Report in the Pop-up menu (about halfway down)
    • In the Pivot Table and Pivot Chart Wizard message box, the default settings are to select an Excel list or database and to create a Pivot Table - if these settings are acceptable, click Next at the bottom of the message box
    • Under "Where is the data you want to use" the range should be all data in the table (by default, there should be a moving hyphenated box around the table) - if data has not been selected, select all data in the table so that the range of all data appears in the Range window, then click Next at the bottom of the message box
    • Under "Where do you want to put the Pivot Table report" select New Worksheet, then click Finish at the bottom of the message box
    • A new worksheet will be created and a Pivot Table tools menu will be visible either at the top of the spreadsheet or in the worksheet itself
    • On the right side of the worksheet, under Pivot Table Field List, click on Botanic Name
    • Drag Botanic Name into "Drop Row Fields Here" - a list of species in the table with become visible
    • Go back to the Pivot Table Field List, click again on Botanic Name, and drag Botanic Name into "Drop Data Items Here"
    • Column B will be filled with a count for the number of trees of each species found in the worksheet (see image below)
    screen capture

    • Double click on cell 3A: Count of BotanicName
    • In the Pivot Table Field message box, with Count of BotanicName highlighted in the top window and Count highlighted in the "Summarize By" window, select % of total in the "show data as" window, then click on Okay
    • Column B will be filled with a percentage for each species of the total number of trees found in the worksheet
    • To represent these percentages in a chart, click on the Chart Wizard icon in the Pivot Table tools menu (if this menu is not visible, right click on cell 3A: Count of Botanic Name table and then click on PivotChart in the Pop-up window)

    The data in the Count of Botanic Name table can be filtered in much the same as the data in a worksheet:

    • Right click on any of the cells in column A below cell 4A: BotanicName
    • In the Pop-up window, select Field Options
    • In the Pivot Table Field message box, click on Advanced
    • In the Pivot Table Field Advanced Options message box, select Descending under AutoSort options and Count of BotanicName in the Using Field Window, On in Top 10 AutoShow, and then click on Okay
    • Click on Okay in the Pivot Table Field message box
    • The Count of Botanic Name table will now show the ten most prevalent species and the percentage for each species of the total number of trees of these ten species (not the total number of trees)
    • To represent these percentages in a chart, click on the Chart Wizard icon in the Pivot Table tools menu

    You may have noticed that "Planting Site" is the most common species since planting sites are included in the All Sites worksheet. To filter out planting sites and obtain a more valid analysis of tree species:

    • Click on the arrow in cell 4A to the right of Botanic Name
    • In the Pop-up Window, scroll to Planting Site in the list of species
    • Click on the Planting Site box to uncheck it
    • The table (and an associated graph if you have created one) will reflect the removal of "Planting Site" from inclusion in the table

    Using STRATUM

    Back to Conducting a Street Tree Inventory



    © Copyright, Horticulture Section, School of Integrative Plant Science, Cornell University.