+ Reply to Thread
Results 1 to 3 of 3

update a table between two Excels files with a condition

  1. #1
    Registered User
    Join Date
    12-04-2017
    Location
    london
    MS-Off Ver
    2016
    Posts
    9

    update a table between two Excels files with a condition

    The request consists of updating a value between two tables (report 1 on the Excel file1.xls file and the report 2 table on the Excel file2.xls file), with a condition of taking the key (Column A / Column B) of the 1st file1.xls and change the value on the table the 2nd report2 which contains the same key (Column A / Column B) with the value of column C of the first report ,

    Please note: note that the two tables are separate, two Excel files (rapport1.xls & rapport2.xls)
    In piece joint the excel Templates.

    File1.xlsx
    rapport1
    X type value
    X1 A 20
    X2 C 10
    X3 A 2
    X3 B 0
    X1 D 5

    File2.xlsx
    rapport 2
    X type update value
    X1 A 0
    X2 C 10
    X3 A 1
    X4 B -
    X4 D -

    thank's for your help & support
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello activation01,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,616

    Re: update a table between two Excels files with a condition

    Hi,

    As you may be read description of this sub-forum - this one is solely to introduce yourself.

    So here I'd say: welcome to the forum. And that's it.

    With your merit question, please go to appropriate sub-forum. Look what sub-forums we have: http://www.excelforum.com/microsoft-...el-help-forum/ and post a new thread in one of them (the most appropriate one).
    Best Regards,

    Kaper

+ 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: 0
    Last Post: 01-12-2016, 09:36 AM
  2. VBA code to password protect all excels files in a folder
    By jaincool123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2014, 07:19 AM
  3. split text files stored in some location to multiple files based on a condition
    By GIRISH_KH in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-01-2013, 11:32 AM
  4. [SOLVED] Edit Multiple Excels To Match Master Template (I.E. Table Headers, Sheet Name)
    By ub3rm0nk3y in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-30-2013, 03:23 PM
  5. update master files from multiple children files
    By natalie.phuong in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-12-2009, 03:34 AM
  6. Replies: 2
    Last Post: 03-15-2007, 04:20 AM

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