Advanced Filter Help

Graham182

New Member
Joined
Jan 31, 2010
Messages
31
Hi

I've been inputting data into a spreadsheet of peoples equitment,
I've got multiple of people giving them to me,

My problem is
i'm trying to find an advance filter which will make it just show up the most newest of the persons equitment.

my Spreadsheet is laid out

id number - Listing of equitment - Date logged

55124 fax 04/01/09

So is there anyway of filtering just for the equitment with there lastest Date logged number?

Thanks
 

pbornemeier

Well-known Member
Joined
May 24, 2005
Messages
3,724
Not an advanced filter, but this works:

A1 and A4 must contain column headers

Two named ranges defined as follows:

rngEquipment
Code:
=OFFSET(Sheet1!$A$1,4,1,COUNTA(Sheet1!$A:$A)-3,1)
rngHelperDate
Code:
=OFFSET(Sheet1!$A$1,4,3,COUNTA(Sheet1!$A:$A)-3,1)
A2 is the ID Number you are looking up

D2 contains:
Code:
=MAX(rngHelperDate)
B2 contains:
Code:
=INDEX(rngEquipment,MATCH(D2,rngHelperDate,0))
A5 and down contains the list of ID Numbers
B5 and down contains the list of equipment
C5 and down contains the date

D5 and down contains a helper formula:
Code:
=(A5=$A$2)*C5
D2 contains:
Code:
=MAX(rngHelperDate)
B2 contains:
Code:
=INDEX(rngEquipment,MATCH(D2,rngHelperDate,0))
 

Forum statistics

Threads
1,082,278
Messages
5,364,202
Members
400,786
Latest member
ismi88

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top