?
Solved

Data Comparison Excel or MS Access SQL

Posted on 2013-11-01
3
Medium Priority
?
97 Views
Last Modified: 2014-03-25
I have two spreadsheets with Fname, Lname and Email address in each.
I require to find exclusive matches based on criteria listed below.

i.   Users who FName, LName and Email address all Match.
ii.  Users who Email addresses match excluded i above.
iii. Users who FName, LName match excluding i & ii above.

Thanks for your help in advance.
0
Comment
Question by:ukpowo
[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
3 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39617001
this can done better in access using queries..

upload a copy of the table.
0
 
LVL 15

Expert Comment

by:gplana
ID: 39617022
You should execute these queries:

For example for i. (first case) you can use:
SELECT FName, LName, Email, count(*) howMany
FROM yourTable
GROUP BY FName, LName, Email
HAVING count(*)>1;

You will see which FName, LName and Email combination are repeated (are present more than once) and you will see how many records do you have for any of these combinations.
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 1000 total points
ID: 39617270
I'm with capricorn1, ...post a sample of the table, but also include a clear graphical example of the exact output you need, based on the data in the sample table...
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
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 demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

800 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