+ Reply to Thread
Results 1 to 13 of 13

Sorting drop down list value that create data validation by last used

  1. #1
    Forum Contributor kar2rost's Avatar
    Join Date
    07-02-2022
    Location
    Here
    MS-Off Ver
    Pro Plus 2021 (Windows 11 21H2 64-bit)
    Posts
    121

    Sorting drop down list value that create data validation by last used

    Hi, I made a list of cell values f1:f10 with conditional formatting in range a1:a100
    I want this list to be sorted by the last used value
    It is possible?
    Last edited by kar2rost; 11-01-2023 at 09:02 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: Sorting list value that create by conditioanal formating by last used

    You cannot create a list of values using conditional formatting. Provide a workbook so that members can work out what you mean.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor kar2rost's Avatar
    Join Date
    07-02-2022
    Location
    Here
    MS-Off Ver
    Pro Plus 2021 (Windows 11 21H2 64-bit)
    Posts
    121

    Re: Sorting drop down list value that create data validation by last used

    In the drop-down list created
    Any of the most recently used values
    Upper than other
    Example If i select yellow in drop down list after close list and again click on list the yellow is upper than red in the list
    Attached Images Attached Images
    Last edited by kar2rost; 11-01-2023 at 09:02 AM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: Sorting list value that create by conditioanal formating by last used

    I asked you to attach a workbook.

    And that last post makes ZERO sense without one!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: Sorting list value that create by conditioanal formating by last used

    Example If i select yellow in drop down list after close list and click on list the yellow is upper than red in the list
    This makes no sense, either, and I asked you to attach a workbook, NOT a screenshot.

    You should by now know what our requirements are:

    1. Provide a desensitised sample workbook.
    2. In the workbook, mock up expected results.
    3. Add detailed and clear annotations within the workbook to signpost the data for your helpers.

  6. #6
    Forum Contributor kar2rost's Avatar
    Join Date
    07-02-2022
    Location
    Here
    MS-Off Ver
    Pro Plus 2021 (Windows 11 21H2 64-bit)
    Posts
    121

    Re: Sorting list value drop down list in data validation by most used

    @AliGW
    I'm sorry, I meant data validation
    Any of the most recently used values
    Upper than other
    Attached Files Attached Files

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: Sorting list value that create by conditioanal formating by last used

    What does "upper than other" mean? I'll have a look and see if I can work it out.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: Sorting list value that create by conditioanal formating by last used

    sort value in drop down list by most used
    By most used where? You have not mocked up what you want. This workbook is of practically no use at all!

    Come on, please - show us what you want.

  9. #9
    Forum Contributor kar2rost's Avatar
    Join Date
    07-02-2022
    Location
    Here
    MS-Off Ver
    Pro Plus 2021 (Windows 11 21H2 64-bit)
    Posts
    121

    Re: Sorting drop down list value that create data validation by last used

    @AliGW
    Thank you very much for your follow up
    I mean if one more color is chosen
    be sorted and displayed above the rest of the colors in the drop-down list that opens
    For example, yellow is the 7th color in the drop-down list
    And since it has been selected 6 times, I want it to come first in the drop-down list
    Or the orange color is the 4th in the drop-down list, and because it is selected 5 times, it comes second in the drop-down list
    And ....
    Attached Files Attached Files
    Last edited by kar2rost; 11-01-2023 at 09:01 AM.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: Sorting list value that create by conditioanal formating by last used

    In B1:

    =COUNTIF(H3:H1500,A1:A15)

    In C1:

    =SORTBY(A1:A15,B1#,-1)

    DV losy source: =$C$1#

    Apply to all cells with the same rule.
    Attached Files Attached Files

  11. #11
    Forum Contributor kar2rost's Avatar
    Join Date
    07-02-2022
    Location
    Here
    MS-Off Ver
    Pro Plus 2021 (Windows 11 21H2 64-bit)
    Posts
    121

    Re: Sorting list value that create by conditioanal formating by last used

    @AliGW
    Excellent, thank you very much

    can change name of topic by "Sorting drop down list value that create by data validation as last used"
    Last edited by kar2rost; 11-01-2023 at 09:03 AM.

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: Sorting drop down list value that create data validation by last used

    Yes, but it's a bit late for that, isn't it???

  13. #13
    Forum Contributor kar2rost's Avatar
    Join Date
    07-02-2022
    Location
    Here
    MS-Off Ver
    Pro Plus 2021 (Windows 11 21H2 64-bit)
    Posts
    121

    Re: Sorting drop down list value that create data validation by last used

    Quote Originally Posted by AliGW View Post
    Yes, but it's a bit late for that, isn't it???

    Yes, I apologize and thank you

+ 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: 11
    Last Post: 02-23-2017, 12:55 PM
  2. using if/then and using sorting to parse data and create list without spaces
    By reallynewguy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-01-2013, 08:41 PM
  3. [SOLVED] Create an automatically sorting/ranking list
    By dip11 in forum Excel General
    Replies: 11
    Last Post: 09-14-2012, 06:53 AM
  4. [SOLVED] VBA for conditional formating and color sorting
    By juskojj in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 04-11-2012, 02:49 PM
  5. Replies: 6
    Last Post: 08-19-2009, 03:27 AM
  6. Multi Row Sorting & Create Header Row from Dynamic List
    By drew138 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-06-2009, 03:39 PM
  7. [SOLVED] does cell formating move with sorting
    By RoyalCandle in forum Excel General
    Replies: 11
    Last Post: 01-06-2005, 02:06 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