+ Reply to Thread
Results 1 to 9 of 9

Text Transforming? Could really use a minute of help...

  1. #1
    Registered User
    Join Date
    06-11-2007
    Posts
    12

    Text Transforming? Could really use a minute of help...

    I have an un-organized mess of data that I need to format to fit a certain style in order to be consistant with the database it will be added to here at work. Basically, I got this job by being not-so-honest about my excel skills and now I'm sweating it.

    I have hundreds of rows all caps names that I need to convert to first letter capital and the rest lowercase.

    Is there a way excel can make this easier for me?

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    If your data is in column A, for example, then in B1 put the formula

    =PROPER(A1)

    Fill that down as many rows as there is data in column A. You can then copy column B and use Edit -> PasteSpecial -> Values to get rid of the formulas and leave the new, proper case, values.

  3. #3
    Registered User
    Join Date
    06-11-2007
    Posts
    12
    Ok, I can get that to work one at a time. but not all at once.

    For example,

    One of the columns that I need converted is column D - starting at D2. So I inserted a new column between D and E - this is my new E column. In column E at row 2. I wrote

    =PROPER(D2)

    This does the transform, but I can't seem to drag it to do the same function for all the boxes in column E i.e. E3 should equal =PROPER(D3), E4 should equal =PROPER(D4).
    When I try it simply turns my orignal =PROPER(D2) into #VALUE!

    What do I do?

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Is your calculation set to automatic? Go to Tools -> Options -> Calculation tab. Make sure Automatic is selected, not Manual.

  5. #5
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    If you want to do an entire selection, without having to insert additional columns, you could use a macro like this one:
    Please Login or Register  to view this content.
    Put that into a module. On your worksheet, select your cells and then press ALT+F8. Click 'makeProper' and then Run.

  6. #6
    Registered User
    Join Date
    06-11-2007
    Posts
    12
    How do I create a module? I realize this is a dumb question but...that's where I am at...

  7. #7
    Forum Contributor
    Join Date
    11-23-2005
    Location
    Perth, Australia
    Posts
    218

    Text Transforming? Could really use a minute of help...

    There are no dumb questions

    From excel press Alt+F11 to bring up the visual basic editor, go to the insert menu and choose module

    Let me know if you have any problems!

  8. #8
    Registered User
    Join Date
    06-11-2007
    Posts
    12
    Fantastic. Worked like a charm. I feel like I am not even scrathcing the surface of what this program has to offer.

    For example, I need to split names into a First Name column and a Last Name column. But the raw data has both names in a single column - I don't suppose there is a way to get excel to split the names at the space between them into different columns? Probably not, but worth a shot...

  9. #9
    Forum Contributor
    Join Date
    11-23-2005
    Location
    Perth, Australia
    Posts
    218

    Text Transforming? Could really use a minute of help...

    Your right, your not even scratching the surface! But neither am I! Very powerful program

    For your question select the data you want and then go to Data Menu -Text to Columns and choose delimited. Select space as the delimiter and hey presto!
    Last edited by Steel Monkey; 06-20-2007 at 10:16 PM.

+ 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