+ Reply to Thread
Results 1 to 7 of 7

Compare 2 Worksheets and Only Update Particular Columns

  1. #1
    Registered User
    Join Date
    06-03-2014
    Posts
    14

    Compare 2 Worksheets and Only Update Particular Columns

    Hey,
    Thank you for taking the time to help me out. Please see attachment.

    I have this workbook. In it are 3 works sheets.
    -Main Database: This contains the latest most up to date database
    -Export Data: A program is run to ouput the data from a different application
    -Updated Database: Using the new Export Data it updates the Main Database.

    Challenges:
    -New rows could be added in. Ex: A new 1.1 was added in bumped everything down one and it created a new 1.4 as a result.
    -Rows can be deleted like Section 3
    -Columns C, D, E, H and I do not change
    --It needs to be repopulated to in the updated Database
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: Compare 2 Worksheets and Only Update Particular Columns

    Hi @ superdrno

    I was checking your file and its needings.
    I'm not sure to understand exactly what you want to do, but we can go step by step
    Please check the new tab in the attached spreadsheet.
    if you place the cursor over the cell in which you want to insert the new row, and right-click
    you'll have done a procedure, that may be, fulfils your requirements.

    If it's OK for you, we can go further on.
    Keep in mind that this a first approach only.
    Attached Files Attached Files
    Barriers are there for those who don't want to dream

  3. #3
    Registered User
    Join Date
    06-03-2014
    Posts
    14

    Re: Compare 2 Worksheets and Only Update Particular Columns

    Hello vichopalacios,
    Thank you. So from here if new information is taken in like the Export data. I need the new tab to add in new rows and remove rows that have been removed in the export.

    Best,
    Superdrno

  4. #4
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: Compare 2 Worksheets and Only Update Particular Columns

    I'm sorry, I don't get your point...
    I don't understand how you will use the different sheets in your workbook.
    Just to clarify:

    You have a sheet where you receive exported data from somewhere else ...("Export Data")
    You need to have a sheet in which you make all changes...insert and delete rows....("Update Database")
    then you copy this updated database to a sheet named "Main Database"

    forget about sheet "New"; I just put it to show you how to do the job

    Did you check if the right click accion is working properly?
    Is it doing what is supposed to do?
    Last edited by vichopalacios; 10-27-2015 at 05:24 PM.

  5. #5
    Registered User
    Join Date
    06-03-2014
    Posts
    14

    Re: Compare 2 Worksheets and Only Update Particular Columns

    You are absolutely correct. The Updated Database tab will contain the latest database from the combination of Main Database and Export. Could you help me achieve this please.

    And the right click did not work. It kept bugging out.

  6. #6
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: Compare 2 Worksheets and Only Update Particular Columns

    Hi Superdrno

    Just to know if I'm in the correct way, please re-check the right click:
    Notice that you MUST do it over a cell in the first column
    Captura1.JPG

    and immediately appears a new row , and modify all the numbers downstream.
    Captura2.JPG

    if you right click anywhere else, it'll give you an error....we can manage it later.

  7. #7
    Registered User
    Join Date
    06-03-2014
    Posts
    14

    Re: Compare 2 Worksheets and Only Update Particular Columns

    Vichopalacios, you are right. I see how it adds an extra row above the row you click on.

+ 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. Replies: 1
    Last Post: 09-30-2014, 07:15 AM
  2. [SOLVED] Compare 3 concatenated columns with another and update if true
    By m4k3n5h1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-29-2014, 05:40 PM
  3. Compare data in 2 worksheets and update sheet 1
    By eyeguy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-30-2013, 04:53 PM
  4. Compare worksheets and update prices
    By Russel Geard in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-20-2012, 12:36 PM
  5. Compare two columns and update the third
    By nihitsk in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-29-2011, 09:37 PM
  6. Search/compare/update 2 worksheets
    By geokin in forum Excel General
    Replies: 0
    Last Post: 09-16-2010, 02:34 PM
  7. Compare and Update between 2 worksheets
    By karagoz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2008, 07:49 PM

Tags for this Thread

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