atomictoyguy
New Member
- Joined
- May 2, 2011
- Messages
- 18
I have a membership spreadsheet that has two sheets of data.
Sheet 1: Member Details
Sheet 2: Transactions
What I would like to do is create a formula that will count the highest consecutive years of membership. I know I can create a count if to find the total number of renewals pretty easily.
On my spreadsheet I can cross reference my members to their transactions using their member ID number. My Transaction sheet contains Transaction Date, ID#, Transaction Type (New, Renew), & Expiration Date.
So basically I only want it to count if the years are consecutive.
The below list should result in a formula value of 11. It shouldn't count the 1996-1997 transaction.
The reason I want this is I want to implement lifetime memberships for anybody that has reached 10yrs of consecutive membership.
Sheet 1: Member Details
Sheet 2: Transactions
What I would like to do is create a formula that will count the highest consecutive years of membership. I know I can create a count if to find the total number of renewals pretty easily.
On my spreadsheet I can cross reference my members to their transactions using their member ID number. My Transaction sheet contains Transaction Date, ID#, Transaction Type (New, Renew), & Expiration Date.
So basically I only want it to count if the years are consecutive.
The below list should result in a formula value of 11. It shouldn't count the 1996-1997 transaction.
Code:
[FONT=Lucida Console]4/17/1996 34 NEW 4/17/1997
3/27/1999 34 RENEW 4/17/2000
2/2/2000 34 RENEW 4/17/2001
4/24/2001 34 RENEW 4/17/2002
4/6/2002 34 RENEW 4/17/2003
4/22/2003 34 RENEW 4/17/2004
4/17/2004 34 RENEW 4/17/2005
4/30/2005 34 RENEW 4/17/2006
4/2/2006 34 RENEW 4/17/2007
10/9/2006 34 RENEW 4/17/2008
7/15/2008 34 RENEW 7/15/2009
5/3/2009 34 RENEW 7/15/2010[/FONT]