+ Reply to Thread
Results 1 to 7 of 7

Sorting columns with rows with a fixed "Sort" button

  1. #1
    Registered User
    Join Date
    02-13-2014
    Location
    Davenport
    MS-Off Ver
    Excel 2010
    Posts
    20

    Sorting columns with rows with a fixed "Sort" button

    Trying to figure out how to sort by adding 3 columns together then sort that total by row on the ranking.

    I can sort manually by highlighting the grid A3:K15 and clicking on the sort function key at the top. I would like to put a sticky button on the screen for people that do not how to sort or bypass the sticky button and have it automatically sort after entering in the numbers on the screen.

    I am not sure that this is possible on either scenario or any other ideas would be appreciated.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Sorting columns with rows with a fixed "Sort" button

    You could record your own macro (VBA) for this.

    1. practice a few times so you hav a good idea of what you need to do
    2. SAVE YOUR FILE, in case you mess up, you can get it back.
    3. click the "record" button (left bottom corner, looks like a mini-sheet with a red X in the corner)
    4. give the macro a name, and store it in this workbook.
    5. perform your sort, as you practiced
    6. when complete, click the "record" button again (to stop the recording)

    That shoud do it, test it again tio make sure it works

    check to make sure it worked the way you wanted it to.
    To add a "button"...

    1. Select Insert tab/Shape/pick a shape
    2. "draw" the shape where you want it to be
    3. Right-click into the shape/Edit Text and enter your button title.
    4. right-click the shape again, click assign macro, and select the macro you just recorded
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    02-13-2014
    Location
    Davenport
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Sorting columns with rows with a fixed "Sort" button

    Thanks Ford. That was incredible and worked like a charm. I started reading about VBA's and got lost and confused.

    Thanks for your help.

    Dan

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Sorting columns with rows with a fixed "Sort" button

    You are most welcome If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

  5. #5
    Registered User
    Join Date
    02-13-2014
    Location
    Davenport
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Sorting columns with rows with a fixed "Sort" button

    Not sure on how to mark solved or adding reputation to those that helped.

  6. #6
    Registered User
    Join Date
    02-13-2014
    Location
    Davenport
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Sorting columns with rows with a fixed "Sort" button

    This post has been solved.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Sorting columns with rows with a fixed "Sort" button

    See my signature in post #2

+ 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. Replies: 5
    Last Post: 01-10-2014, 03:27 PM
  2. Replies: 0
    Last Post: 11-22-2013, 01:36 PM
  3. Intercept the call to the toolbar "Sort" button...
    By RASelkirk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-28-2011, 07:44 PM
  4. Can I "auto-sort" or use a quick button to sort?
    By drewkloc71 in forum Excel General
    Replies: 4
    Last Post: 09-07-2009, 03:14 AM
  5. Sorting a-z | z-a ... removing pop-up "Sort Warning"
    By MatthewTap in forum Excel General
    Replies: 7
    Last Post: 10-26-2005, 04:05 PM
  6. [SOLVED] can I insert a Sort "Button" in a cell within Excel
    By Vicki in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-28-2005, 12:05 PM
  7. transpose the code from "rows" to "columns"
    By markx in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-21-2005, 05:05 AM
  8. hiding/unhiding rows & columns with "+" and "-" buttons
    By shellshock in forum Excel General
    Replies: 2
    Last Post: 08-03-2005, 01:05 AM

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