Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / September 2007

Tip: Looking for answers? Try searching our database.

Compare worksheets for duplicates and copy data to 1st worksheet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Monique - 11 Sep 2007 21:16 GMT
I have two worksheets.  One with 1000 rows of part numbers (SHEET1) and the
other with 16000 rows of part numbers (SHEET 2).

I would like to compare the sheets.  

If "SHEET 2" has a matching part number in "SHEET 1"; then copy the data in
"SHEET 2" - columns B, C & D for that matching part number to "SHEET 1"
columns E, F & G.  In other words add the information to the end of that row.

I can use VLookup, but end up with bunches of #N/A's that I would have to
delete.  Is there a better way?
JNW - 11 Sep 2007 21:20 GMT
You can still use VLookup just include an error test.

=if(iserror(vlookup("your arguments here")),"",vlookup("Same formula as
earlier"))

Instead of showing an error this will show nothing.  
Signature

JNW

> I have two worksheets.  One with 1000 rows of part numbers (SHEET1) and the
> other with 16000 rows of part numbers (SHEET 2).
[quoted text clipped - 7 lines]
> I can use VLookup, but end up with bunches of #N/A's that I would have to
> delete.  Is there a better way?
Monique - 12 Sep 2007 19:50 GMT
Thanks.  I also now understand the "iserror" test!

Monique

> You can still use VLookup just include an error test.
>
[quoted text clipped - 14 lines]
> > I can use VLookup, but end up with bunches of #N/A's that I would have to
> > delete.  Is there a better way?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.