PC Review


Reply
Thread Tools Rate Thread

Compare sheet1 with Sheet2

 
 
=?Utf-8?B?TWlrZQ==?=
Guest
Posts: n/a
 
      1st Mar 2007
Hello and Thanks in advance
I hope I explain this good enough
I have a workbook that Imports data from another excel workbook.
'number of rows changes on each import
Sheet1 (ImportedData) Sheet2 (Database) 'There is data in columns (A:O)
I would like it to be able look at Sheet1 Column (J3:' to the end of data)
and Delete rows if record already on sheet2 Column (J3: 'to the of end data)
after it deletes duplicates copy sheet1 remaining data to
sheet2. If some could give me a lead i would greatly apreciate
Thanks Mike

 
Reply With Quote
 
 
 
 
=?Utf-8?B?cGRmcm9uZQ==?=
Guest
Posts: n/a
 
      1st Mar 2007

what i did was write a function that reads values till it reaches the last
valid input the following row would return Nothing

use a counter in a loop till you get Nothing return the counter value
shhould do the job

pdfr

"Mike" wrote:

> Hello and Thanks in advance
> I hope I explain this good enough
> I have a workbook that Imports data from another excel workbook.
> 'number of rows changes on each import
> Sheet1 (ImportedData) Sheet2 (Database) 'There is data in columns (A:O)
> I would like it to be able look at Sheet1 Column (J3:' to the end of data)
> and Delete rows if record already on sheet2 Column (J3: 'to the of end data)
> after it deletes duplicates copy sheet1 remaining data to
> sheet2. If some could give me a lead i would greatly apreciate
> Thanks Mike
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy data from sheet2 to sheet1 when sheet2 has variable # of rows Anne Microsoft Excel Misc 6 27th Feb 2009 09:48 PM
Compare and Update elements from Sheet1 with Sheet2 joel.agustin@gmail.com Microsoft Excel New Users 3 27th Nov 2007 04:27 PM
Compare Sheet1 value to values in Sheet2 Column A Corey Microsoft Excel Programming 0 4th Nov 2007 08:19 PM
A1 Sheet2 is linked to A1 sheet1 so that user enters value(abc123) a1 sheet1 and A1 sheet2 is updated pano Microsoft Excel Programming 2 28th Oct 2007 02:32 PM
Show a sheet1 row in sheet2 based on values in col sheet1.A =?Utf-8?B?TWljaGVsbGU=?= Microsoft Excel Misc 5 4th Mar 2004 02:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:39 PM.