Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default filter inactive records

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default filter inactive records

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default filter inactive records

Works great, Thanks for the hel

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adv. Filter - Want to copy to inactive sheet Maki Excel Discussion (Misc queries) 7 January 20th 10 12:59 PM
Adv. Filter - Want to copy to inactive sheet Maki Excel Discussion (Misc queries) 1 January 12th 10 10:50 PM
DATA FILTER ARROWS DISPLAY WHILE INACTIVE lassie Excel Worksheet Functions 0 August 3rd 05 02:41 PM
display all records to filter con_orense Excel Programming 1 June 11th 04 03:20 AM
Zero records in Filter pancho[_2_] Excel Programming 0 July 15th 03 03:42 PM


All times are GMT +1. The time now is 11:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"