Hi,
I have a few thousand rows of historical data, based on when a location was setup and operational (date exists in a column in the data), I need to count how many times in any given year of the past ten years the location was visited (date exists in a column in the data) and then by site, hope this makes sense and thanks in advance for the help
Data
I have a few thousand rows of historical data, based on when a location was setup and operational (date exists in a column in the data), I need to count how many times in any given year of the past ten years the location was visited (date exists in a column in the data) and then by site, hope this makes sense and thanks in advance for the help
Data
Data Format | Results | ||||||||
Location | Opened | Visited | Opened | 2015 | 2016 | 2017 | 2018 | 2019 | |
Site 1 | 2/3/18 | 4/1/18 | 2015 | 1 | 1 | ||||
Site 1 | 2/3/18 | 6/7/18 | 2016 | ||||||
Site 1 | 2/3/18 | 4/1/19 | 2017 | ||||||
Site 1 | 2/3/18 | 7/24/20 | 2018 | 2 | 1 | ||||
Site 2 | 6/7/15 | 9/16/17 | |||||||
Site 2 | 6/7/15 | 11/6/18 | |||||||
Sites | 2015 | 2016 | 2017 | 2018 | 2019 | ||||
Site 1 | 2 | 1 | |||||||
Site 2 | 1 | 1 | |||||||
Site 3 |