+ Reply to Thread
Results 1 to 13 of 13

How do I sort a colum by the value of each cell?

  1. #1
    Registered User
    Join Date
    05-01-2016
    Location
    Sa Francisco, Ca
    MS-Off Ver
    2010
    Posts
    44

    How do I sort a colum by the value of each cell?

    =How do I sort a column by the value of each of it's cells?

    Don Cole

  2. #2
    Registered User
    Join Date
    01-08-2019
    Location
    Milton
    MS-Off Ver
    2016
    Posts
    2

    Re: How do I sort a colum by the value of each cell?

    A litte more info maybe?
    You can use the sort function under data if I understand the problem

  3. #3
    Registered User
    Join Date
    05-01-2016
    Location
    Sa Francisco, Ca
    MS-Off Ver
    2010
    Posts
    44

    Re: How do I sort a colum by the value of each cell?

    Thank you don_quixote,

    I want to change column 1 from:

    50
    100
    25


    to:

    25
    50
    100


    in numeric order.

    Don Cole

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: How do I sort a colum by the value of each cell?

    Select the entire range, right click, sort Smallest to Largest. Or apply a filter and do the same
    Click the * to say thanks.

  5. #5
    Registered User
    Join Date
    05-01-2016
    Location
    Sa Francisco, Ca
    MS-Off Ver
    2010
    Posts
    44

    Re: How do I sort a colum by the value of each cell?

    Thank you PaulM100,

    I don't understand what you mean by "Select the entire range".

    Don Cole

  6. #6
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: How do I sort a colum by the value of each cell?

    One of many ways:

    1) Left-click on the cell containing 50
    2) Right-click and select "Sort" then "Sort smallest to largest"

    That's it!

  7. #7
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: How do I sort a colum by the value of each cell?

    Here is a link to the office website https://support.office.com/en-us/art...8-15cbb7712539

  8. #8
    Registered User
    Join Date
    05-01-2016
    Location
    Sa Francisco, Ca
    MS-Off Ver
    2010
    Posts
    44

    Re: How do I sort a colum by the value of each cell?

    Thank you GeoffW283,

    That works for one column.

    I tried with several columns and sorted column D.
    It didn't work.

    How would I do that?
    Of course I would want all the other columns to sort respectively.

    Don Cole

  9. #9
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: How do I sort a colum by the value of each cell?

    Just as long as there are no entirely blank columns then Excel should automatically expand the range that it will sort. If you do have blank columns in the middle of the data you want sorted then either remove them or manually select the entire range that you want sorted.

    If this is not your problem or if you need more specific advice then please upload your workbook.

    To attach a file, first make sure to remove any sensitive/proprietary data and then click on “GO ADVANCED” and then scroll down to “Manage Attachments” to open the upload window. Choose your file then click on “Upload”, scroll down then click on “Close this window”, then “Submit reply”.

    BTW - thanks for the reputation points

  10. #10
    Registered User
    Join Date
    05-01-2016
    Location
    Sa Francisco, Ca
    MS-Off Ver
    2010
    Posts
    44

    Re: How do I sort a colum by the value of each cell?

    Rather than copying a sheet I'll send you a screenshot. (Which I know how to do).

    Do I have to fill in all those blank spaces?

    Don Cole
    Workbook.png

  11. #11
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: How do I sort a colum by the value of each cell?

    So your screenshot is after an attempt to sort by column-D?

    No, there is absolutely no need to fill in the blanks. You should be able to left-click anywhere on your data and select from the ribbon Data > Sort. You should then see your whole sort range (at least A1:G33) highlighted. In the Sort dialog box Excel should automatically figure out that you have a header row and you should be able to select Sort by "Setting" then OK.

    I can't see any clues in your attached image as to why this would not work. I provided the instructions to upload a workbook in post #9. If these are not clear let me know, or is it that you have too much propriety data?

  12. #12
    Registered User
    Join Date
    05-01-2016
    Location
    Sa Francisco, Ca
    MS-Off Ver
    2010
    Posts
    44

    Re: How do I sort a colum by the value of each cell?

    Thank you GeoffW283

    I believe line 10 was the problem.
    I don't know where it came from?
    I deleted it; then it worked fine.

    Don ColeWorkbook2.png

  13. #13
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: How do I sort a colum by the value of each cell?

    And of course I could not see line 10 in your original image

    Glad that you worked it out. If you're all set now then please take a moment to mark the thread as 'Solved' by using the thread tools menu above your first post.

    Geoff

+ 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: 6
    Last Post: 12-29-2015, 04:32 PM
  2. [SOLVED] lookup 2nd last value in a colum based on cell value in same colum
    By ipaw in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-08-2014, 03:22 PM
  3. need a macro if row is text is constant then other colum shd copy n paste in other colum
    By uttam.mothe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-05-2013, 12:17 PM
  4. Formula Help matchin colum a with colum b to display colum c
    By dbe82 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-08-2013, 10:11 PM
  5. copy and paste colum K to colom R and skip filled cells colum R
    By jdrmer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-13-2012, 10:30 AM
  6. Auto sort according to month colum
    By Steve from SA in forum Excel General
    Replies: 2
    Last Post: 01-16-2008, 09:36 AM
  7. How to shift range of values from a colum to another colum at a programmed cell.
    By lolypop in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2007, 06:24 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