+ Reply to Thread
Results 1 to 10 of 10

Removing Everything After Certain Character

  1. #1
    Registered User
    Join Date
    05-07-2010
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    5

    Removing Everything After Certain Character

    I have an excel sheet with names and some description after them.

    For example:

    Johnny Walker:Blahblahblah

    I wanted to removed everything starting from the colon symbol so I would just have the name remaining. Any help would be appreciated thanks.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Removing Everything After Certain Character

    Hi & Welcome to the forum,

    Try...

    =LEFT(A1,FIND(":",A1)-1)

  3. #3
    Registered User
    Join Date
    05-07-2010
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Removing Everything After Certain Character

    Hello and thank you Jefferybrown

    By the way, I tried that and it worked, however, I need it to go from multiple cells, A1 to A684. Sorry, I'm a totally noobie when it comes computer stuff. Thanks for helping though.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Removing Everything After Certain Character

    When you say you need it to go A1:A684, I would assume each cell has its own data.

    Just drag the formula down to A684.

  5. #5
    Registered User
    Join Date
    05-07-2010
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Removing Everything After Certain Character

    Correct, each cell has its own data. I placed =LEFT(A1,FIND(":",A1)-1) in cell B1 and I dragged the selection down, but it seems to only capture the first cell in A1.

    For example:
    Cell A1: Johnny Walker: He is a cool guy
    Cell A2: Jim Bean: This guy is really tall
    Cell A3: Tiffany: She is pretty

    Now the string I put into B1 I clicked cell A1 and dragged it down to A3 and it only inputs "Johnny Walker" in cell B1 after I'm done. Any clue on what is happening?

    I want if it is possible for everything in column A to transfer into new cells in column B.

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Removing Everything After Certain Character

    Please look at the attachment and let me know if this is what you want?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-07-2010
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Removing Everything After Certain Character

    Yeah that is exactly what I want, but when I put the string into B1, it only gets the name from A1. Is it possible to enter the string into B1 and drag the selection from A1:A500 and it will put it in the B column and row correlating to the A row?

    I just don't want to have to manually do it for each one.

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Removing Everything After Certain Character

    Yes.

    Okay you have A1:A500 filled with this or that.

    In B1 enter the formula and select >> Ctrl + Enter which will keep you on the cell or if the formula is already there then just select the cell.

    Look at the bottom right corner of the cell and you will see a little black square which is the fill handle.

    Double click on the fill handle and it will fill the formula down as far as the list in A.

    If there is a gap in A it will only fill down to the break in data...if no break then it will auto fill down to A500

  9. #9
    Registered User
    Join Date
    05-07-2010
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Removing Everything After Certain Character

    Ahh thanks jeffrey, it worked. You're a life saver, thanks for the time and all the help you've given me.

  10. #10
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Removing Everything After Certain Character

    Glad it worked for you...

+ 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