So I'm working with a company that is a little late to the database game and I've been tasked with creating a relatively simple Contacts database. Previous to this, I have close to zero experience with Access (but I am familiar with VBA) so tell me if I'm completely off the mark with what I'm trying to do.
I was given a variety of excel spreadsheets containing company contacts from different employees (all formatted differently by the way). Easy enough though, it doesn't take long to make the excel fields match my database fields and import. Of course there were a variety of validation rule issues but the only thing I can't 'standardize' is the field containing the name of the Company of a contact. Also, the database will have 10k+ records (I am working with only one contact list containing 475 records right now for testing purposes).
Some examples of my problem:
Example 1:Contact1 works for Bank of America, and the value in [Company] = Bank of America.
Contact 21 works for Bank of America as well, but the value in [Company] = Bank of America. N.A
Example 2:Contact 23 works for Pacific Gas & Electric Company and the value in [Company] = Pacific Gas & Electric Company
Contact 312 works for same company, and the value in [Company] = Pacific Gas and Electric Company
Contacts XYZ may include, P.G.E. or PG&E or Pacific Gas & Electric.
Is there a way to create either a query or VBA function that could update these field values to a universal value per company?
Right now, my method of doing this is running query 'SELECT DISTINCT tblContacts.Company FROM tblContacts ORDER BY tblContacts.Company' and editing manually. I can't think of any possible solutions than this, but hopefully one of you guru's has a trick up his sleeve to make this a little less tedious. Thanks in advance for any input/advice!!
P.S. If anyone has any ideas on building a validation rule to prevent this from happening with future input, that would be awesome as well.