+ Reply to Thread
Results 1 to 4 of 4

How do you update existing data in a table with an import?

  1. #1
    Registered User
    Join Date
    11-11-2014
    Location
    United States
    MS-Off Ver
    MS Office 2013
    Posts
    37

    How do you update existing data in a table with an import?

    Hi,

    I have a table that I am importing external data into via excel. I only want the data that changed to be updated such a resolution date/status/resolution fields within the database. How would I go about doing this I just can't append the data because that would cause duplicates and it wouldn't be allowed anyway due to duplicate "Keys" which is the case number.

    Thanks for your help please let me know if you need any more information.

    Ruth S.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: How do you update existing data in a table with an import?

    You would probably need to use a macro.

    Read the new data into a new sheet

    Duplicate your data sheet in the same workbook

    use a formula in the new data sheet to compare the old data with the imported data

    Copy paste the values in your table

    Delete the imported data.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    11-11-2014
    Location
    United States
    MS-Off Ver
    MS Office 2013
    Posts
    37

    Re: How do you update existing data in a table with an import?

    So you think I have to cut and paste data from my export file once I compare the excel sheets? Meaning I have to copy and paste to update the Access table? that could be a lot of work I was hoping I could have imported based on "Keys".

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: How do you update existing data in a table with an import?

    No

    I am saying import the data into your workbook as a new sheet.

    Then use a macro to move your data for you.

    If you paste samples of:

    Original Data

    Import Data

    Merged Data

    Threee separate sheets then someone here will show you how its done.

    I can do that in a couiple of hours if no one else picks it up.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Power Pivot SQL Data Import - How to update import filter
    By minnesotaart in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-29-2013, 12:39 PM
  2. Automatically update existing data using a Update command button
    By 9999335 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-23-2012, 09:46 PM
  3. Add to existing query, add table, update sum column
    By randell.graybill in forum Access Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2011, 08:47 PM
  4. Replies: 2
    Last Post: 10-06-2008, 04:19 PM
  5. Replies: 0
    Last Post: 03-02-2006, 12:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1