+ Reply to Thread
Results 1 to 12 of 12

amend code merge duplicated data

  1. #1
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    amend code merge duplicated data

    hi all
    actually i got this code from the internet it apply on three columns it works so good but i have about five columns i amend it what i need but i have some errors into sheet i doesn't copy and merge col c,d also not sum the values correctly so i need help
    thanks advance
    HTML Code: 
    Attached Files Attached Files
    Last edited by ABDELFATTA; 07-25-2020 at 02:55 PM.

  2. #2
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: amend code merge duplicated data

    actually i found the mistake about sum values but the col c, d are missed it gives me this error in cells #N/A
    any body help ,please ?

  3. #3
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: amend code merge duplicated data

    Hi Abdelfatta,

    Does the below code do what you need ?

    Please Login or Register  to view this content.
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  4. #4
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: amend code merge duplicated data

    yes , nankw this is what i would but when i run again gives me message replace content cells and gives me error can i get rid of this upset message

  5. #5
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: amend code merge duplicated data

    When you re-run the macro, do you want to clear previous data & put new data in place or keep previous data & add new data below it ?

  6. #6
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: amend code merge duplicated data

    i want to clear previous data & put new data in place

  7. #7
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: amend code merge duplicated data

    Ok, try now ...
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: amend code merge duplicated data

    thanks nankw your code works so well

  9. #9
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: amend code merge duplicated data

    Glad to help & thanks for the reps 👍

  10. #10
    Forum Contributor Dante Amor's Avatar
    Join Date
    07-24-2020
    Location
    MEXICO
    MS-Off Ver
    Excel 2013
    Posts
    212

    Re: amend code merge duplicated data

    Here is your updated original code

    Please Login or Register  to view this content.

  11. #11
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: amend code merge duplicated data

    hi, Dante
    actually this code is yours i got one of your sharing from mr exel forum i like this code is short and quick i was searching like this code to do my job and i try amending the code but it missed me this simple part to adjusting so i appreciate your updating your code thanks so much
    god bless you

  12. #12
    Forum Contributor Dante Amor's Avatar
    Join Date
    07-24-2020
    Location
    MEXICO
    MS-Off Ver
    Excel 2013
    Posts
    212

    Re: amend code merge duplicated data

    Glad we could help & thanks for the feedback

+ 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] Amend code to copy after last row where there is data
    By flupsie in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-02-2018, 01:07 AM
  2. Replies: 1
    Last Post: 08-08-2017, 10:25 AM
  3. [SOLVED] trying to amend this code to auto save new data
    By steve400243 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2017, 10:47 AM
  4. [SOLVED] Amend code to check cell A2 has data in before running
    By robertguy in forum Excel General
    Replies: 2
    Last Post: 12-11-2016, 09:13 AM
  5. Replies: 1
    Last Post: 05-27-2016, 07:45 PM
  6. Amend VBA Code to Clear Data
    By Renleff in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 09-26-2014, 04:15 PM
  7. Merge based on columns if there are duplicated data
    By danitzia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-19-2014, 06:18 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