Updating tables but keeping rows together

ArtofExcel

New Member
Joined
Jul 5, 2016
Messages
17
I have a table that daily updates from an SQL server, this is then pulled into a new excel document through a Microsoft query. The rows of data can be deleted or updated daily on the SQL server. In the final excel document I added a few columns where where specifications are input using a data validation list so the data can be sorted into other tables. Each row has a unique indicator in one of the columns. But whenever I update the table the manually input specifications do not follow the SQL data as I had hoped so each one would have to be reset daily. Is there any way to make the manual inputs follow the imported data dynamically until the row its associated with is deleted in the SQL server or is filtered out by the query? I'd greatly appreciate any assistance in figuring this out.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Use a separate table to log the manually input specifications along with a unique identifier that comes from the SQL data source.

You can then change your current table to VLOOKUPs so that no matter what row the record is moved too the correct specs will get allocated to it.

Ideally, you would get a custom table (for the input specs) added to your database and the SQL query would perform the JOIN.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top