473,387 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Database Matching

This is my first time posting in this website. I am new to Microsoft Access, I mainly work with Excel. I have been looking for a formula or procedure to ease a task but have been unable to find a solution through excel. I was told MS Access was way better at handling databases. Please excuse any syntax error as I am not very familiar with Access. I've been trying to compare two tables with specific guidelines but seem to not be able to automate the process. This is a 1000+ entry table so it takes some time. I would like to know if it was possible to automate the process with Access.

The below databases come from two different systems that should be talking to each other, but do not always match. What I am attempting to do is to look for mismatches by setting Database 1 and Database 2 side by side, matching Sector 1 from both databases, then comparing the mismatches between sector 2, 3, 4, and 5... This is only a representation of what the tables look like in a small scale.


This second example was created manually. Would like to learn how to use Excel PowerQuerty to create Database 1 and Database 2 as shown from Database 1 and Database 2 from above example. The Match / No Match is just for my own benefit to see where the missmatches are to be corrected and will be created manually.


I'd like to learn how to make it so that when comparing Database 1 and Database 2, matching by Sector 1; I could have in either Database 1 or 2 a row created as a blank depicting either a repeat occurred or that there is no such entry on opposite database. The example below has a blank row on Database 2 for row # 1. Entry in Database 1 for row 1 does not exist in Database 2, therefore a blank was created for Database 2. The same goes for rows 15, 16, and 17; Database 1 and Database 2. A blank row was created for row 16 and 17 on Database 2 since data on row 16 and 17 for Database 1 was repeated and did not exist in Database 2. Any help would be greatly appreciated

Attached Images
File Type: jpg 1.jpg (57.0 KB, 294 views)
File Type: jpg 2.jpg (82.2 KB, 226 views)
Attached Files
File Type: xlsx Tables.xlsx (22.0 KB, 115 views)
Mar 30 '18 #1
3 1416
NeoPa
32,556 Expert Mod 16PB
Judging by the pictures you're not talking about databases at all, but probably tables. You should understand that tables contain a set of records. Sets are positionally independent; that is they may be displayed in various orders, but are not held in any way such that they are relative to each other. IE. Whatever order they may be stored in is irrelevant as far as set theory and databases go.

I think you need to be much clearer about what it is you expect to achieve. Unfortunately your pictures are of too low quality to be of much help, but words are the tool you should focus on using to describe your situation clearly. Please don't make the mistake of using too many as that'll just frighten off any potential helpers ;-) Clear and succinct is what you're aiming for.
Mar 31 '18 #2
Thank you for taking the time to post a reply. Attached to the original post is an excel file with a better explanation. I hope it explains my purpose.

Thank you
Mar 31 '18 #3
NeoPa
32,556 Expert Mod 16PB
jlara0687:
Attached to the original post is an excel file with a better explanation.
Then it needs to be posted in the thread. Not left for users to find in an attachment. However, I very much doubt it will be adequate if it was done at a time when your understanding of the meaning of the important words was so far off.

Feel free to use it in the post if you believe it will help, but don't be surprised if the thread gets very little traction, if the words give a different meaning from what you intend. I suggest simply doing as originally instructed will work best for you.
Mar 31 '18 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

17
by: Andrew McLean | last post by:
I have a problem that is suspect isn't unusual and I'm looking to see if there is any code available to help. I've Googled without success. Basically, I have two databases containing lists of...
1
by: Henry | last post by:
I have a table that stores a list of zip codes using a varchar column type, and I need to perform some string prefix pattern matching search. Let's say that I have the columns: 94000-1235 94001...
1
by: David C. Barber | last post by:
I'm trying to determine if any matching records exist on a LIKE query performing a partial match of last names to a remote back-end database in the most efficient manner possible. LAN Traffic...
4
by: Stephen | last post by:
I volunteer for a non-for profit group and they have alot of names in a multiple databases. the problem is that some people are in multiple databases. and if they send out a mailing from multiple...
2
by: wertqt | last post by:
hi there, im having a slight problem in matching the user input(textbox's text) with the values in one of the columns from a MS Access database. Im using C#.NET. The situation is this : My...
8
by: Ian | last post by:
I have an Access 2000 database that checks once every 4 seconds to see if a text file exists, if it does then it opens the text file, reads an ID, opens a report based on that ID, then deletes the...
3
by: vikas000000a | last post by:
Hi All, I am new to this forum as far as posting a question is concerned, although I have quite frequently visiting this site as a guest. My quertion relates to preforming fast searched in a very...
4
by: pavanponnapalli | last post by:
hi, Here is my Code as under: #! /usr/bin/perl -w use DBI; my %hash; my @arr; my @arr1; my @arr2;
0
by: Zach Swanson | last post by:
I'm not sure if I am posting this message in the right place. Please let me know if I should redirect this question elsewhere. I'm currently working on a large database cleanup and consolidation...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.