I am trying to write a condition in excel that will select one row of data that contains at least 8 columns based on the "oldest date" for each account number within a list of different account numbers that could be repeated in the listing by up to 5 rows of the same account number but different dates.
This list contains over 50,000 rows but are separated or different by the account # and the date of activity or transaction.
I am trying to select the row of data for each account number that has the "oldest date" but I am not sure how to write this code/condition in excel (not VBA) using an if statement or a vlookup statement.
My data is as follows:
Title row (A1 through J1)
A1 B1 C1 D1 E_1
Area_ID District_ID District_Name Account_# "Date"
South District_S Name_A 111111 Mar 2
South District_S Name_A 111111 Apr 9
South District_S Name_A 111111 May 5
North District_N Name_N 222222 Jan 6
North District_N Name_N 222222 Feb 3
West District_W Name_W 555555 Feb 8
West District_W Name_W 999999 Apr 6
West District_W Name_W 111111 May 1
East District_E Name_E 888888 Nov 9
etc.
The desired results of the above data would be as follows
South District_S Name_S 111111 May 5
North District_N Name_N 222222 Feb 3
West District_W Name_W 111111 May 1
East District_E Name_E 888888 Nov 8
Note that only the row that contains the oldest date is selected for "each account number".
Note: I only listed the five major column headings. There are a few other headings that are not that important.
Thanks`for any help.
example
that is indicated in example column "x"
This list contains over 50,000 rows but are separated or different by the account # and the date of activity or transaction.
I am trying to select the row of data for each account number that has the "oldest date" but I am not sure how to write this code/condition in excel (not VBA) using an if statement or a vlookup statement.
My data is as follows:
Title row (A1 through J1)
A1 B1 C1 D1 E_1
Area_ID District_ID District_Name Account_# "Date"
South District_S Name_A 111111 Mar 2
South District_S Name_A 111111 Apr 9
South District_S Name_A 111111 May 5
North District_N Name_N 222222 Jan 6
North District_N Name_N 222222 Feb 3
West District_W Name_W 555555 Feb 8
West District_W Name_W 999999 Apr 6
West District_W Name_W 111111 May 1
East District_E Name_E 888888 Nov 9
etc.
The desired results of the above data would be as follows
South District_S Name_S 111111 May 5
North District_N Name_N 222222 Feb 3
West District_W Name_W 111111 May 1
East District_E Name_E 888888 Nov 8
Note that only the row that contains the oldest date is selected for "each account number".
Note: I only listed the five major column headings. There are a few other headings that are not that important.
Thanks`for any help.
example
that is indicated in example column "x"