+ Reply to Thread
Results 1 to 5 of 5

Replace values if criteria meet in to another file

  1. #1
    Forum Contributor
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    427

    Replace values if criteria meet in to another file

    I have two files one name is first and another name is second , i want that if name which is in first file in C column match with name in second file which is in H column if both name matched then copy value of B column from first file and paste that value in second file in G column , please see before after sheet so please give me VBA code for above process
    Attached Files Attached Files
    Last edited by keshavtale; 11-27-2021 at 08:35 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Replace values if criteria meet in to another file

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    427

    Re: Replace values if criteria meet in to another file

    when i run this macro it is showing error "subscript out of range"

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Replace values if criteria meet in to another file

    So what does that tell you?

  5. #5
    Forum Contributor
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    427

    Re: Replace values if criteria meet in to another file

    ok now my problem is solved , thanks for your help, you did not tell me that both files should be opened VBA code place in second file
    Last edited by keshavtale; 11-28-2021 at 10:43 AM.

+ 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. return values that meet two criteria
    By RubenExcel in forum Excel General
    Replies: 2
    Last Post: 06-18-2019, 11:11 PM
  2. Sum of values that meet criteria
    By randomraz in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-03-2018, 10:53 AM
  3. Top 5 values if they meet a criteria
    By dianasada in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-14-2017, 02:51 PM
  4. How to make values not appear if they don't meet a criteria
    By dlevisay in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-28-2016, 01:16 AM
  5. [SOLVED] How to show the first 20 values that meet a criteria
    By Howlin in forum Excel General
    Replies: 6
    Last Post: 08-04-2015, 09:46 AM
  6. how to add all values above row that meet multiple criteria criteria
    By skikio in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-18-2015, 09:40 AM
  7. Replies: 0
    Last Post: 10-14-2010, 05:04 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