+ Reply to Thread
Results 1 to 4 of 4

Sorting a colum by CASE?

Hybrid View

  1. #1
    Registered User
    Join Date
    06-27-2007
    Posts
    2

    Sorting a colum by CASE?

    Greetings,
    I tried a search and didn't see what I was looking for so I thought I would ask the group.

    I have a spreadsheet with a column for last name and another for first name (amoung other things).

    Many of the names are in ALL CAPS but not all of them. I am going to fix them using the PROPER function. I have about 50,000 records. About 6,000 need to be fixed.

    I was wondering if there was a way to sort the records to group them by all the records in ALL CAPS? That way I can fix them and import them back into the database I am working on.

    So my question can you sort a column based on CAPS vs. non caps like this

    TEST
    TEST
    TEST
    test
    test
    test

    You may ask, Bradford why not just run the PROPER function on the entire sheet and then update your entire database. I could do this but the data entry was poor on teh front end and I want to spot check or eyeball teh results after the PROPER function.

    Thanks in advance for your thoughts

    Bradford

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    You could use an helper column in B1

    =EXACT(A1,UPPER(A1)) all UPPER would be TRUE otherwise FALSE
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    06-27-2007
    Posts
    2

    Thanks a ton

    Thanks OldChippy!!

    The ol' helper column really helped!

    You run a great forumn I hope I can contribute some of my knowledge when needed.

    Bradford

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Glad it helped, please feel free to contribute anytime, it's open to anybody

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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