Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LOU LOU is offline
external usenet poster
 
Posts: 40
Default Sorting and Deleting Help

Good Day,

I have 3653 rows of data which have the following information by column;

ItemNumber Quantity Date
PRN223 56 02012003
PRN223 44 01042004
PRN223 41 06052003
PRN223 36 11272006
PRN223 49 08221999

What I need to do is first find the last time there was activity on the
item number, the example above would be the 11272006 date as the last
activity,
I then want to purge all the other rows except the one record. I have 562
different item numbers total.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 136
Default Sorting and Deleting Help

You don't specify your version
If you use Excel 2007:
1. You will first have to convert the date-like numbers to actual dates
Assuming your dates are in column C, paste this in column D:
=DATE(RIGHT(C1,4),LEFT(C1,2),MID(C1,2,2))
2. Sort dates Descending, so latest date in on top
3. Remove duplicates Key:= item number

If you don't use 2007:
3. Filter for unique records
4. Copy to a new location

"LOU" wrote:

Good Day,

I have 3653 rows of data which have the following information by column;

ItemNumber Quantity Date
PRN223 56 02012003
PRN223 44 01042004
PRN223 41 06052003
PRN223 36 11272006
PRN223 49 08221999

What I need to do is first find the last time there was activity on the
item number, the example above would be the 11272006 date as the last
activity,
I then want to purge all the other rows except the one record. I have 562
different item numbers total.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LOU LOU is offline
external usenet poster
 
Posts: 40
Default Sorting and Deleting Help

Thank you for the information. I am not sure how to filter it based on the
unique record, the date is in a good date format and I have sorted it by the
item number and date descending. How do I filter for only unique records?

Thank you.
Lou

"Tevuna" wrote:

You don't specify your version
If you use Excel 2007:
1. You will first have to convert the date-like numbers to actual dates
Assuming your dates are in column C, paste this in column D:
=DATE(RIGHT(C1,4),LEFT(C1,2),MID(C1,2,2))
2. Sort dates Descending, so latest date in on top
3. Remove duplicates Key:= item number

If you don't use 2007:
3. Filter for unique records
4. Copy to a new location

"LOU" wrote:

Good Day,

I have 3653 rows of data which have the following information by column;

ItemNumber Quantity Date
PRN223 56 02012003
PRN223 44 01042004
PRN223 41 06052003
PRN223 36 11272006
PRN223 49 08221999

What I need to do is first find the last time there was activity on the
item number, the example above would be the 11272006 date as the last
activity,
I then want to purge all the other rows except the one record. I have 562
different item numbers total.

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
Deleting cell data without deleting formula Tom Hall Excel Discussion (Misc queries) 4 October 29th 06 04:07 PM
Deleting data by sorting dates drc Excel Discussion (Misc queries) 1 October 2nd 06 06:33 PM
Sorting and deleting empty cells asianmike Excel Discussion (Misc queries) 0 January 30th 06 05:08 PM
deleting values in a worksheet without deleting the formulas patti Excel Worksheet Functions 1 October 28th 05 09:49 PM
how prevent formula in cell from deleting when deleting value???? sh-boom New Users to Excel 1 September 30th 05 06:12 PM


All times are GMT +1. The time now is 06:26 PM.

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"