[I'll preface this as I'm still fairly new and learning everything and just fumbling my way through]
So one of the ways we track our constituents is putting in the code.
For our “Payroll Deduction” employee givers we put in a ‘from’ date when they sign up and if they leave a ‘to date’. So it should be fairly easy to pull an active list by asking a query
Con_code = “payroll deduction”
AND con_code date to ‘is blank’ // meaning not filled in so still giving.
The fun for me is to go through and determine how many years they'd been giving to the program. So just export it and determine a datediff and there's their years of giving pin.
…BUT… some people gave from 2/01/2009 - 4/15/2014, and then we have another code for 6/14/2019 - __
How I built the query it just would pull up the second one and calculate that difference, but it would ignore the first.
Any way some of you might be able to figure out a way to calculate this constituent's giving of the proper 5 + 5 years
//
My thoughts were to just do a pull of all con_code with from/to dates, and have to manually delete the ones where the to is not blank and they're not duplicated, then have to run a column that did a
=if(TO="", datediff(from,today), datediff(from,TO)
then make another column of
=unique(names)
with next to it
=sumif(yearsgiving,unique_names)
hopefully the excel makes sense