We help IT Professionals succeed at work.
Get Started

Access query complete data

92 Views
Last Modified: 2019-12-17
I need your help with completing data in a Access database. We have a database with multiple rows with records that are incomplete. The incomplete data we have in a Excel document.

For example, we have in Access column A, B, C, D, E, F, G, H.
Column A in Access matches the Field in Excel.
The situation is that in certain rows, records of column E, F, G, are missing.
In others B, C, D. In some cases all except A, G missing.

What are the options to complete the data?

I thought of something, a query or script or something better, that can do the following:

1st find matching unique record (from a certain Column) between a Access table & a Excel sheet.
2nd, Based on that then search horizontally in the Access table for blank records.  
3rd, Once found blank records in Access take it's field-/column name then find it in the Excel sheet,
4th, Once found check if that cell is blank.
5th, if blank go to step 1 for other record.
6th, if NOT blank copy cell value to record in Access table.
7th repeat process
Comment
Watch Question
IT Supervisor
CERTIFIED EXPERT
Distinguished Expert 2020
Commented:
This problem has been solved!
Unlock 1 Answer and 16 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE