+ Reply to Thread
Results 1 to 8 of 8

Excel 2007 : Need to remove symbol @ and text after it in more then 1000 rows.

  1. #1
    Registered User
    Join Date
    05-08-2012
    Location
    computer
    MS-Off Ver
    Excel 2007
    Posts
    4

    Post Need to remove symbol @ and text after it in more then 1000 rows.

    hi to all members, i am a newbie in excel some help needed, i have an excel sheet of more then 1000 rows, i want to remove the symbol @ and the text after it,
    like
    username@domain.com i need text username and rest should be eliminated from all the rows.

    and needs the result in new column,
    i tried the formula
    =IF(ISNUMBER(FIND("@",B2)),LEFT(A1,FIND("@",B2)))
    but it works only for one cell, how can i modify this formula for the whole column. Or multiple cells.

    Any help would be appreciated. Or anyone can do this for me. file attached

    Thanks in advanced...
    Last edited by umarshafiq; 05-08-2012 at 06:39 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    05-07-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    354

    Re: [help-needed] Need to remove symbol @ and text after it in more then 1000 rows.

    =IF(ISNUMBER(FIND("@",B2)),LEFT(A1,FIND("@",B2)))
    Should this be B2?
    Regards,
    Vandan

  3. #3
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: [help-needed] Need to remove symbol @ and text after it in more then 1000 rows.

    Ctrl + H

    Find: @*
    Replace: [leave this blank]

    Replace All with a click of a buton
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  4. #4
    Registered User
    Join Date
    05-08-2012
    Location
    computer
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: [help-needed] Need to remove symbol @ and text after it in more then 1000 rows.

    Quote Originally Posted by vandan_tanna View Post
    =IF(ISNUMBER(FIND("@",B2)),LEFT(A1,FIND("@",B2)))
    Should this be B2?
    yes this should be B2, but the issue is that this works only for one cell, i need to done it for nearly 1000 cells, how can i do this.
    Thanks for your help

  5. #5
    Registered User
    Join Date
    05-08-2012
    Location
    computer
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: [help-needed] Need to remove symbol @ and text after it in more then 1000 rows.

    Quote Originally Posted by abousetta View Post
    Ctrl + H

    Find: @*
    Replace: [leave this blank]

    Replace All with a click of a buton
    Thank you very much....this works....
    Last edited by umarshafiq; 05-08-2012 at 06:40 PM.

  6. #6
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: [help-needed] Need to remove symbol @ and text after it in more then 1000 rows.

    Thanks for the feedback.

    Good luck.

    abousetta

  7. #7
    Valued Forum Contributor
    Join Date
    05-07-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    354

    Re: [help-needed] Need to remove symbol @ and text after it in more then 1000 rows.

    =IF(ISNUMBER(FIND("@",B2)),LEFT(B2,FIND("@",B2)-1))

    add -1 to get rid of @

    it should work for all cells. Are you copying formula down properly?

  8. #8
    Registered User
    Join Date
    05-08-2012
    Location
    computer
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: [help-needed] Need to remove symbol @ and text after it in more then 1000 rows.

    Quote Originally Posted by vandan_tanna View Post
    =IF(ISNUMBER(FIND("@",B2)),LEFT(B2,FIND("@",B2)-1))

    add -1 to get rid of @

    it should work for all cells. Are you copying formula down properly?
    Thanks for help your vandan_tanna.... my problem is solved by using

    Quote Originally Posted by abousetta View Post
    Ctrl + H

    Find: @*
    Replace: [leave this blank]

    Replace All with a click of a buton

+ 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