Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

find difference in xls and then delete unwanted rows in second one

Posted on 2016-11-04
1
Medium Priority
?
49 Views
Last Modified: 2016-11-06
Hi,
I have two xls:

test1.xls one looks like :                 test2.xls second looks like;            

emplid       date                           emplid     date         addres1  city
                             
123         2016-01-01                    123         2016-01-01      112      111
123         2015-01-01                    123         2015-01-01
123         2014-01-01                    123         2014-01-01
234         2015-01-01                    123         2014-01-01
234         2015-01-01                    234         2015-01-01      222       444
345         2011-01-01                    345         2011-01-01
                                                       345         2011-01-01
                                                       345         2011-01-01      444       555


Idea is look at test1.xls and based upon emplid and date just pick that rows from test2.xls.

test2.xls has more rows but we need to compare and filter test2.xls just based upon emplid and date.


end result should be:



test3.xls          

emplid     date         addres1  city
                             
123         2016-01-01      112      111
123         2015-01-01
123         2014-01-01
234         2015-01-01      222       444
345         2011-01-01
0
Comment
Question by:sam2929
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
Michael earned 2000 total points
ID: 41875341
How should double entries be handled?

For example emplid 123 with date 2014-01-01
and emplid 345
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question