+ Reply to Thread
Results 1 to 3 of 3

Sort columns that include merged cells.

  1. #1
    Forum Contributor
    Join Date
    10-22-2014
    Location
    Ontario
    MS-Off Ver
    365
    Posts
    222

    Sort columns that include merged cells.

    I would like to group rows by family name but error says "To do this all merged cells need to be the same size."

    Note on my sheet Column A represents the Family Name. Rows 5 and 6 are for different people within the same family group. I would like to group it as listed on the sheet. If I were to click Family Name sort Z to A it doesn't work. Is this possible? Thank you.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Sort columns that include merged cells.

    It's never a good idea to use merged cells. Most of us avoid then like the plague since they cause too many problems for all sorts of reasons which needn't concern us just at the moment.

    If this data has come from a back office system the simplest solution is to ensure you don't have merged cells. That said if you're stuck with the data as is, one way would be to insert a new column A and enter in A3 and copy it down

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then copy column A and paste back as values and delete column B
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    10-22-2014
    Location
    Ontario
    MS-Off Ver
    365
    Posts
    222

    Re: Sort columns that include merged cells.

    I will follow your advice. Thanks for your assistance. Peter

+ 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. Countif to include any number or specific text in merged cells
    By Brewdawg in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-26-2015, 06:29 PM
  2. Need help ASAP - Can't sort merged rows/columns
    By trallero in forum Excel General
    Replies: 2
    Last Post: 07-11-2013, 01:34 PM
  3. Auto sort code to include adjacent columns
    By Frantelle in forum Excel General
    Replies: 3
    Last Post: 11-17-2012, 11:47 AM
  4. Need to be able to sort columns -getting "merged cells" errror
    By wvpersephone13 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-01-2011, 11:25 AM
  5. expand alphabetical sort to include 25 columns
    By simpson in forum Excel General
    Replies: 2
    Last Post: 03-04-2011, 01:56 PM
  6. sort columns within a merged cell header
    By Diana in forum Excel General
    Replies: 1
    Last Post: 08-04-2005, 07:05 PM
  7. [SOLVED] Sort columns containing merged cells.
    By Ron in forum Excel General
    Replies: 1
    Last Post: 05-04-2005, 09: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