A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Updating & Archiving Records



 
 
Thread Tools Display Modes
  #1  
Old June 10th, 2009, 04:42 PM posted to microsoft.public.excel.worksheet.functions
sandy
external usenet poster
 
Posts: 1
Default Updating & Archiving Records


Hi,

I am using Excel 2007.

I have a large spreadsheet and new data is added periodically.

I have several columns of data associated with a description & date.

The data associated with each description is unique to that day.

I want to archive the older desciption data after I add newer
description data.

Column B = date of the data
Column E = description (phrase)

How do I remove duplicate older rows of description data from my main
spreadsheet (keep the newest descriptions rows) and save the older rows
of data in a archive sheet?

My sheet has many columns from A to BU.

I have about 220,000 records with many duplicate Descriptions in column
E. Each Description record has a date in the Date column B.

Records are sorted by: Description A to Z
then by: Date Newest to Oldest.

Here is an example (not actual sheet):

I highlighted the duplicate Description records in these examples that
I want to update and archive.


[image: http://reportingthetruth.com/post-images/sample01a.jpg]


I want to delete the older Description records from my main sheet so
that only the duplicate Description records with the newest date remains
like the example below.


[image: http://reportingthetruth.com/post-images/sample01b.jpg]


And the older duplicate records that are removed from the main sheet I
would like to save to a new sheet so that I can save a history of the
Description records.


[image: http://reportingthetruth.com/post-images/sample01c.jpg]


Any thoughts how I can do this?


--
sandy
------------------------------------------------------------------------
sandy's Profile: http://www.thecodecage.com/forumz/member.php?userid=407
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=105292

  #2  
Old June 10th, 2009, 06:46 PM posted to microsoft.public.excel.worksheet.functions
eduardo
external usenet poster
 
Posts: 2,131
Default Updating & Archiving Records

Hi Sandy,
Look into CPearson web it has the solution go to the middle of the page
where it shays Delete Duplicate Rows

http://www.cpearson.com/excel/deleting.htm

if this helps please click yes, thanks

"sandy" wrote:


Hi,

I am using Excel 2007.

I have a large spreadsheet and new data is added periodically.

I have several columns of data associated with a description & date.

The data associated with each description is unique to that day.

I want to archive the older desciption data after I add newer
description data.

Column B = date of the data
Column E = description (phrase)

How do I remove duplicate older rows of description data from my main
spreadsheet (keep the newest descriptions rows) and save the older rows
of data in a archive sheet?

My sheet has many columns from A to BU.

I have about 220,000 records with many duplicate Descriptions in column
E. Each Description record has a date in the Date column B.

Records are sorted by: Description A to Z
then by: Date Newest to Oldest.

Here is an example (not actual sheet):

I highlighted the duplicate Description records in these examples that
I want to update and archive.


[image: http://reportingthetruth.com/post-images/sample01a.jpg]


I want to delete the older Description records from my main sheet so
that only the duplicate Description records with the newest date remains
like the example below.


[image: http://reportingthetruth.com/post-images/sample01b.jpg]


And the older duplicate records that are removed from the main sheet I
would like to save to a new sheet so that I can save a history of the
Description records.


[image: http://reportingthetruth.com/post-images/sample01c.jpg]


Any thoughts how I can do this?


--
sandy
------------------------------------------------------------------------
sandy's Profile: http://www.thecodecage.com/forumz/member.php?userid=407
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=105292


  #3  
Old June 10th, 2009, 07:09 PM posted to microsoft.public.excel.worksheet.functions
sandy
external usenet poster
 
Posts: 1
Default Updating & Archiving Records


Maybe?

The Delete Duplicate Rows example using dates seems to apply but I have
no idea how to implement this code?


--
sandy
------------------------------------------------------------------------
sandy's Profile: http://www.thecodecage.com/forumz/member.php?userid=407
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=105292

  #4  
Old June 11th, 2009, 01:56 AM posted to microsoft.public.excel.worksheet.functions
eduardo
external usenet poster
 
Posts: 2,131
Default Updating & Archiving Records

Hi Sandy,
You need to start creating a macro, go to macro create a macro and then stop
it. Then edit the macro and copy the code there. then just run the macro

"sandy" wrote:


Maybe?

The Delete Duplicate Rows example using dates seems to apply but I have
no idea how to implement this code?


--
sandy
------------------------------------------------------------------------
sandy's Profile: http://www.thecodecage.com/forumz/member.php?userid=407
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=105292


  #5  
Old June 11th, 2009, 05:43 PM posted to microsoft.public.excel.worksheet.functions
sandy
external usenet poster
 
Posts: 1
Default Updating & Archiving Records


Thanks Eduardo for the brief tutorial. It really helped.

I appreciate all your efforts

I ran the script and it was successful. This solves part of my problem
& I can use it in a pinch.

I also need to save the deleted rows into an archive sheet so I can
track trends.

Any thoughts how to do that?


--
sandy
------------------------------------------------------------------------
sandy's Profile: http://www.thecodecage.com/forumz/member.php?userid=407
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=105292

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:31 AM.


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