+ Reply to Thread
Results 1 to 4 of 4

Combine of two identical cells and deletion of one cell from the duplication cell.

  1. #1
    Registered User
    Join Date
    03-05-2017
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    29

    Combine of two identical cells and deletion of one cell from the duplication cell.

    Hi All,

    I am in the learning stage of excel macros and trying to create a macro for one of my data sheet.
    I tried to create a macro. In which I am trying to compare value of cell B1 with B2. If both equals that cell H1 = combine of cell G1&G2.
    and then delete the duplicate row which is row of B2.
    Can some one help me in this.
    Please my attached file with the email.

    Thanks,Waqar
    Attached Files Attached Files

  2. #2
    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,650

    Re: Combine of two identical cells and deletion of one cell from the duplication cell.

    Hi, you've used i as a loop variable and R in the concatenation instruction.
    Try:
    Please Login or Register  to view this content.
    ps. it will work the same way if you do not refer to cells

    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    03-05-2017
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    29

    Re: Combine of two identical cells and deletion of one cell from the duplication cell.

    Hi All thanks for your support. I done this.

  4. #4
    Registered User
    Join Date
    03-05-2017
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    29

    Re: Combine of two identical cells and deletion of one cell from the duplication cell.

    Thanks a lot 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. Deleting a row of data based on a single cell deletion, and shifting remaining cell up.
    By Dewydecimalpatriot in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-21-2014, 04:05 PM
  2. [SOLVED] Loop Prevention: Duplication/Deletion of Rows
    By mlj61289 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-18-2014, 06:00 AM
  3. Replies: 3
    Last Post: 01-02-2013, 10:06 PM
  4. Formula to color cell if value in two cells are not identical
    By DKAbi in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-27-2012, 11:40 AM
  5. retrieve multiple cells with identical cell next to it
    By Perkett21 in forum Excel General
    Replies: 7
    Last Post: 02-10-2012, 01:06 PM
  6. combine identical cells and get count
    By cclough27 in forum Excel General
    Replies: 22
    Last Post: 06-11-2008, 04:01 AM
  7. [SOLVED] Deletion of cells by next blank cell command??
    By ewan7279 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-23-2005, 07:06 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