+ Reply to Thread
Results 1 to 7 of 7

Need help sorting a sheet

  1. #1
    Registered User
    Join Date
    10-27-2010
    Location
    Belgrade
    MS-Off Ver
    Excel 2003 SP3
    Posts
    17

    Need help sorting a sheet

    Hi guys,

    So before I shoot myself in the head I thought I'd ask for some help here, this community saved me hour if not days of work a number of times.

    Here is the situation:

    I have a sheet with two columns with over 10k rows. It's a list of locations and I only need to keep the ones that are in the USA.

    The problem is that the rows alternate, a few USA then one France and so on and the text of the column has the address and some other data and the country in the same column so I can't just sort by country. It might not be clear but take a look at the example I am attaching and you'll understand.

    example.xls

    I just need the sheet sorted by country where the location is so that I can delete all non-US at once.

    I hope I was clear enough.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Need help sorting a sheet

    Since you have excel 2003 text to column won't work. They are not available in the version 2003.

    Or do you have a newer version of excel.

    It could also be done with a formula if the country is Always after the last , in the datacolumn.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Need help sorting a sheet

    Quote Originally Posted by oeldere View Post
    Since you have excel 2003 text to column won't work. They are not available in the version 2003.

    .
    https://www.youtube.com/watch?v=sJmczgZ_Myo

    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Need help sorting a sheet

    @fortis1991

    I realy thought excel 2003 don't have that functionality.

    Kafelo, can you shine the light on this one; and report if it is available or not.

  5. #5
    Registered User
    Join Date
    10-27-2010
    Location
    Belgrade
    MS-Off Ver
    Excel 2003 SP3
    Posts
    17

    Re: Need help sorting a sheet

    yes, it does I feel so stupid when the solution is this simple but I just didn't know how to Google this...

    I used delimited and used coma as a separator and it worked like a charm

    Thanks a million
    Last edited by kefalo; 01-08-2015 at 11:53 AM. Reason: spelled stupid wrong :)

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Need help sorting a sheet

    @Kefalo

    thanks for the reply.

    also learned something today

  7. #7
    Valued Forum Contributor
    Join Date
    10-05-2014
    Location
    Regina, SK Canada
    MS-Off Ver
    Excel for Mac 11
    Posts
    330

    Re: Need help sorting a sheet

    Another approach would be to use a formula in column C to extract the country from the end of the address and then sort by that column

    ….
    Enter this formula in cell C2:
    =MID(B2,LEN(B2)-3,3)

    Then fill down as needed.

    Hope this helps.
    - Stu

+ 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: 12-30-2014, 12:41 PM
  2. Need help in sorting data in another sheet without selecting the sheet
    By SMILE in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2013, 04:15 AM
  3. Sorting rows in a 2nd sheet when part of the row is linked to the first sheet
    By Cartmanintx in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-10-2013, 11:09 AM
  4. Replies: 0
    Last Post: 08-08-2012, 10:20 AM
  5. Replies: 2
    Last Post: 04-14-2012, 08:19 AM

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