+ Reply to Thread
Results 1 to 5 of 5

Sorting merged cells

  1. #1
    Registered User
    Join Date
    12-22-2015
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    6

    Sorting merged cells

    I know what you're going to say, merged cells are the death of excel and I shouldn't ever use them, but hear me out first.

    I've made a glossary and included a quick-access sort of system with all the letters of the alphabet up top, but in order to do what I wanted to do (be able to see the entire alphabet and effortlessly click from one word/letter to the other) I had to merged most of my cells, as you can see below.
    save.png
    (don't mind the ####, I just don't have words starting with those letters yet)

    Before merging the cells, I had a macro that would sort the words alphabetically whenever I added a new word (granted it wasn't a great one, but it did the job). Now I'd like to be able to sort my words alphabetically again, but I'm getting errors because the merged cells need to be the same size. Is there any way whatsoever I can go around this? Or another way I can make my quick-access in a way that I can always see all the letters?

    Here's my workbook. Any help will be greatly appreciated!
    Glossary.xlsm

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,650

    Re: Sorting merged cells

    Try to establish an unique distinct list of A column running accross row 1, then apply proper hyperlink:

    B1:=IF(A1="","",HYPERLINK("#"&CELL("address",INDEX($A$2:$A$601,MATCH(0,COUNTIF($A$1:A$1,$A$2:$A$601),0),)),INDEX($A$2:$A$601,MATCH(0,COUNTIF($A$1:A$1,$A$2:$A$601),0),)))

    Please Login or Register  to view this content.
    ....confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    Drag accross. Now it is indepedent to AK column. Delete it
    Attached Files Attached Files
    Quang PT

  3. #3
    Registered User
    Join Date
    12-22-2015
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    6

    Re: Sorting merged cells

    Hi, I'm not sure how this helps me sort the cells?
    Could you explain how it works please?

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,650

    Re: Sorting merged cells

    First, does it work at all?

  5. #5
    Registered User
    Join Date
    12-22-2015
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    6

    Re: Sorting merged cells

    I don't know what it's supposed to be doing so I'm not sure, sorry.

+ 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. Merged and unmerged cells sorting
    By RoxysMom in forum Excel General
    Replies: 3
    Last Post: 10-02-2014, 08:59 PM
  2. Merged cells sorting issue
    By studio52 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-26-2011, 11:28 PM
  3. Sorting merged cells (alphabetic)
    By Dummie in forum Excel General
    Replies: 6
    Last Post: 02-13-2011, 03:41 AM
  4. Sorting Cells Merged Column
    By Merlin54k in forum Excel General
    Replies: 1
    Last Post: 10-03-2008, 04:34 PM
  5. sorting merged cells
    By Bope in forum Excel General
    Replies: 0
    Last Post: 04-07-2008, 11:56 AM
  6. sorting merged cells
    By Di in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2006, 08:30 PM
  7. [SOLVED] Sorting Area with Merged Cells
    By prizm1 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 09-10-2005, 08:07 PM

Tags for this Thread

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