Consulting

Results 1 to 6 of 6

Thread: Sort By Value In Cell

  1. #1
    VBAX Mentor
    Joined
    Feb 2012
    Posts
    406
    Location

    Exclamation Sort By Value In Cell

    I open this Post again .

    if it is possible to sort a range by a specific value in a cell in a column within that range. The reason I'm asking is that I would like to sort by street name in an address line, ie:

    500 Aldavar Rd, 32 564 Hughes Cresc, 36 Aldavar Rd, 14 263 Fairlane Ave

    If these are samples in a cell, I would like to sort, and have the following "output":

    36 Aldavar Rd, 500 Aldavar Rd, 14 263 Fairlane Ave, 32 564 Hughes Cresc

    it is critical that "36 Aldavar" appears before "500 Aldavar" in the output and also 500 Aldavar Rd and after that 14 263 Fairlane Ave, 32 564 Hughes Cresc

    Thank you .

  2. #2
    VBAX Newbie
    Joined
    May 2012
    Posts
    4
    Location
    Are these values in a column with each cell containing a value?
    or are all of those values in ONE cell?

  3. #3
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Quote Originally Posted by kpark
    Are these values in a column with each cell containing a value?
    or are all of those values in ONE cell?
    You should check out the thread where the OP asked this before, http://www.vbaexpress.com/forum/showthread.php?t=42180. I gave up on it.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  4. #4
    VBAX Newbie
    Joined
    May 2012
    Posts
    4
    Location
    .... I don't.... I don't.. I don't get it... -,.-;;

  5. #5
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Nor I.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  6. #6
    VBAX Mentor
    Joined
    Feb 2012
    Posts
    406
    Location
    I add my description on http://www.vbaexpress.com/forum/showthread.php?t=42180 .

    Please reply me . thank you very much .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •