+ Reply to Thread
Results 1 to 10 of 10

Sorting only selected cells by ABCs

  1. #1
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Sorting only selected cells by ABCs

    Have column of names in "O" and a column of names in "P". I want to sort the names in "P" only. Currently, when I select those and sort, it wants to do "O" also.

    This has to be such a simple thing that I am simply overlooking....

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: Sorting only selected cells by ABCs

    If you are doing the sort via the menu tab at top DATA / SORT, when it asks if you want to expand the selection, ignore.

  3. #3
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: Sorting only selected cells by ABCs

    It isn't asking me though

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: Sorting only selected cells by ABCs

    Strange.

    You are first highlighting all of the rows in the column that you want to sort ?

    If it's not asking you after that, something wrong with Excel.

  5. #5
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,277

    Re: Sorting only selected cells by ABCs

    If your data in column "O" & "P"
    Suppose your data from "P2:P10"
    >Select range "P2:P10",
    >Go & click on Sort
    >Select "continue with the current selection"
    >Click on "sort"
    >select as per your requirment order ascending or descending
    >click on "ok"

    Or you required "Filtering" name start with "P" only.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  6. #6
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: Sorting only selected cells by ABCs

    Yes. I am Data is O3:O10, P3:P15. So I highlight P3:P15 only and click sort, and it sorts the O3:O10 as well. No option to continue with current selection

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,885

    Re: Sorting only selected cells by ABCs

    Once you select P3:P15 are you choosing 'Sort & Filter' > 'Custom Sort'? (Home tab) I am using ver. 2010 and when I choose 'Custom Sort' I get a choice of 'Expand selection' or 'Continue with current selection'.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  8. #8
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: Sorting only selected cells by ABCs

    I do not do custom sort. I do the right click - sort, or the sort/filter and click there.

    When I did the custom, it still wanted to highlight all.

  9. #9
    Registered User
    Join Date
    08-17-2016
    Location
    New York
    MS-Off Ver
    2016
    Posts
    20

    Re: Sorting only selected cells by ABCs

    Quote Originally Posted by taylorsm View Post
    I do not do custom sort. I do the right click - sort, or the sort/filter and click there.

    When I did the custom, it still wanted to highlight all.
    Highlight the columns you want to be sorted, then go to the Data tab, then click on filter. You should see little arrows pointing down appear next to your column headers, click on those to choose how you want it filtered and it should not affect other areas of the spreadsheet. You can also see the link to show you how to filter your stuff
    https://support.office.com/en-us/art...6-38c37dcc180e

  10. #10
    Banned User!
    Join Date
    10-29-2012
    Location
    Europe
    MS-Off Ver
    2013, 2016
    Posts
    318

    Re: Sorting only selected cells by ABCs

    The data is in a table? if so then you can not sort only column P

+ 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] Pasting an image into selected merged cells. VBA to size automatically to selected range
    By DCC_PD in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-28-2015, 09:57 AM
  2. Loop backwards through selected range - delete entire row from selected cells
    By scottbass in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2014, 09:21 AM
  3. Replies: 1
    Last Post: 10-24-2011, 02:10 PM
  4. Replies: 2
    Last Post: 08-28-2011, 02:39 AM
  5. copy data from selected cells , in selected row and paste it to ms word table ?
    By aaashaaa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2010, 03:25 PM
  6. Automatic sorting:selected range
    By Ranpak in forum Excel General
    Replies: 2
    Last Post: 09-19-2008, 04:27 AM
  7. [SOLVED] Macro to take selected cells times a selected cell
    By Craig in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-23-2005, 08:05 PM

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