NeedInformation
New Member
- Joined
- Feb 23, 2014
- Messages
- 14
- Office Version
- 2021
- Platform
- Windows
I'm having a brain cramp with trying to determine the total number (both in dollars and number of unique donors but reported separately) of all donors who gave in the first year but not in the second that live in a certain city. I don't need the donors themselves, just the total of the donations and number of unique donors.
I can sumproduct to find who donated in both. I'm having difficulty in finding who donated in the first year but did NOT donate in the second.
For example if my first year is 2018 and 2017 is the second and looking the City of Dallas I should only find those that are starred which should return a sum of $70 and a count of unique donors as 2
The logic is to find all donations in dallas, then find all who donated in 2018 but not in 2017.
I have a feeling this is a complicated, nested sumproduct but I'm stumped. Any pointers are much appreciated.
All values in any column are not necessarily unique.
I can sumproduct to find who donated in both. I'm having difficulty in finding who donated in the first year but did NOT donate in the second.
For example if my first year is 2018 and 2017 is the second and looking the City of Dallas I should only find those that are starred which should return a sum of $70 and a count of unique donors as 2
The logic is to find all donations in dallas, then find all who donated in 2018 but not in 2017.
I have a feeling this is a complicated, nested sumproduct but I'm stumped. Any pointers are much appreciated.
All values in any column are not necessarily unique.
DonorID | City | Year | Donation |
10 | San Antonio | 2018 | $10 |
10 | San Antonio | 2018 | $20 |
20 | Dallas | 2017 | $30 |
20 | Dallas | 2018 | $40 |
20 | Dallas | 2019 | $40 |
40 | Dallas | 2018 | $20* |
50 | San Antonio | 2018 | $30 |
50 | Dallas | 2017 | $30 |
60 | Dallas | 2018 | $30* |
60 | Dallas | 2018 | $20* |
60 | San Antonio | 2018 | $50 |