Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a list of vehicles dispatched by date and time. Columns ar
labeled date, time, vehicle id, origin and destination. I want t list/filter the vehicles that have no entries for the last seven day but only want the most recent record (older than seven days) and I wan the entire row so I know where the vehicle was last. I can custo filter for a date range that is less than a given variable but can' figure out how write the IF to drop those record that have a mor recent date entry -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You could add a column to the list, and calculate the old dates there.
For example, with dates in column A and vehicles in column C, enter the following array formula in row 2: =IF(AND(A2<TODAY()-6,A2=MAX(IF($C$2:$C$200=C2,$A$2:$A$200))),A2,"") then hold Ctrl+Shift, and press the Enter key. Copy the formula down to the last row of data. Filter for NonBlank rows glctech < wrote: I have a list of vehicles dispatched by date and time. Columns are labeled date, time, vehicle id, origin and destination. I want to list/filter the vehicles that have no entries for the last seven days but only want the most recent record (older than seven days) and I want the entire row so I know where the vehicle was last. I can custom filter for a date range that is less than a given variable but can't figure out how write the IF to drop those record that have a more recent date entry. -- Debra Dalgleish Excel FAQ, Tips & Book List http://www.contextures.com/tiptech.html |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adv. Filter - Want to copy to inactive sheet | Excel Discussion (Misc queries) | |||
Adv. Filter - Want to copy to inactive sheet | Excel Discussion (Misc queries) | |||
DATA FILTER ARROWS DISPLAY WHILE INACTIVE | Excel Worksheet Functions | |||
display all records to filter | Excel Programming | |||
Zero records in Filter | Excel Programming |