#1   Report Post  
Posted to microsoft.public.excel.misc
koba
 
Posts: n/a
Default Consoildating Rows


Hi Alll

I have a whole heap of raw data that is set up like this

ACCOUNT DATE PART-NO QTY SALES
MB 23/01/2004 6001 1 55
MB 15/03/2005 6001 1 59
MB 1/10/2003 6004 1 44
MB 7/12/2004 6004 1 110
MB 7/05/2003 6009 1 111
MB 27/08/2003 6009 1 112



I need to somehow delete or filter data and only show the most recent
sale of one particular part number, so I need it to look like
this

MB 15/03/2005 6001 1 59
MB 7/12/2004 6004 1 110
MB 27/08/2003 6009 1 112

Please any help would be much appreciated.

Thanks
Andrew


--
koba
------------------------------------------------------------------------
koba's Profile: http://www.excelforum.com/member.php...o&userid=28639
View this thread: http://www.excelforum.com/showthread...hreadid=506607

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Consoildating Rows

I would make sure that the data is sorted so that the latest date is at the
bottom of each group.

Then I'd put this formula in F2:
=IF(COUNTIF(C3:$C$65536,C2)=0,"keepit","Delete it")
And drag down

Then filter to show the "deleteit" rows.
delete those visible cells.

Then delete that helper column.

koba wrote:

Hi Alll

I have a whole heap of raw data that is set up like this

ACCOUNT DATE PART-NO QTY SALES
MB 23/01/2004 6001 1 55
MB 15/03/2005 6001 1 59
MB 1/10/2003 6004 1 44
MB 7/12/2004 6004 1 110
MB 7/05/2003 6009 1 111
MB 27/08/2003 6009 1 112



I need to somehow delete or filter data and only show the most recent
sale of one particular part number, so I need it to look like
this

MB 15/03/2005 6001 1 59
MB 7/12/2004 6004 1 110
MB 27/08/2003 6009 1 112

Please any help would be much appreciated.

Thanks
Andrew

--
koba
------------------------------------------------------------------------
koba's Profile: http://www.excelforum.com/member.php...o&userid=28639
View this thread: http://www.excelforum.com/showthread...hreadid=506607


--

Dave Peterson
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
Rows & Columns in Excel seadragon69 Excel Worksheet Functions 2 December 7th 05 05:54 PM
Automatically inserting rows ausdiver99 Excel Worksheet Functions 1 June 2nd 05 02:15 PM
Hiding Rows if the linked rows are blank KG Excel Discussion (Misc queries) 9 May 18th 05 02:32 AM
Insert rows Mr. G. Excel Worksheet Functions 3 March 31st 05 03:49 AM
flexible paste rows function that inserts the right number of rows marika1981 Excel Discussion (Misc queries) 1 February 18th 05 02:40 AM


All times are GMT +1. The time now is 11:14 PM.

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

About Us

"It's about Microsoft Excel"