+ Reply to Thread
Results 1 to 4 of 4

Merge cells based on another cell's value

  1. #1
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Merge cells based on another cell's value

    Been awhile since doing VBA. Having problem coming up with code to merge number of cells in a range, each merging based on the value in one column. Easier to understand what I'm after by viewing example...merge.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: Merge cells based on another cell's value

    how bout this:

    Please Login or Register  to view this content.
    Hope I could help - if your post has been solved don't forget to mark it as such.

    Clicking the * below is a great way to say thanks!

    "Drowning in 10 feet of water isn?t any different than drowning in a million feet. And if you can swim, it doesn?t matter how deep the ocean is. At some level, once you realize you?re in water that?s too deep to stand, you have to have a very different approach," - Joi Ito

  3. #3
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: Merge cells based on another cell's value

    sorry, took a closer look at the ask:

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: Merge cells based on another cell's value

    Quote Originally Posted by simarui View Post
    sorry, took a closer look at the ask:
    Tried your Code. It works.

    Came up with one of my own while waiting, though not so elegant
    Please Login or Register  to view this content.

+ 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] Merge number of cells based on cell value
    By xxxnac in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-25-2014, 02:42 PM
  2. how to merge cells based on the value of another cell?
    By 2unlink in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2013, 01:58 AM
  3. [SOLVED] Need to merge cells few blank cells based on a value of a cell in the same row
    By skandkamat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-03-2013, 01:33 AM
  4. Macro to merge cells based on cell references
    By ajm123456789 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-31-2012, 05:20 PM
  5. Merge and unmerge cells based on cell value.
    By Jamison in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-21-2012, 01:08 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