+ Reply to Thread
Results 1 to 6 of 6

How do I delete specific word from every line?

Hybrid View

  1. #1
    Registered User
    Join Date
    07-25-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    16

    How do I delete specific word from every line?

    For example, on cell A1 I have 123456 Total, how do I delete the word "Total"? I have abut 2000 lines. What formula do I use?

    Thanks a bunch!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How do I delete specific word from every line?

    Hi,

    Just select the range in question and use the Find & replace functionality. Specify 'Total' in the Find box and leave the Replace box blank. Then OK.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    07-25-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: How do I delete specific word from every line?

    Sorry I forgot to tell you that I used Subtotal function and so if I delete Total and replace with blank, the amount will be gone.

    Is there any other way I can do it?

    Thanks!

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How do I delete specific word from every line?

    Hi,

    Yes. Instead of finding "Total" Find " Total", i.e with a leading space. The SubTotal formula doesn't have a space and hence will remain.

  5. #5
    Registered User
    Join Date
    07-25-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: How do I delete specific word from every line?

    superb! Thanks a lot!

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: How do I delete specific word from every line?

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Copy a line with a specific key word into another sheet.
    By kkihead in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-22-2013, 01:12 PM
  2. [SOLVED] Remove a specific word line from a word document.
    By Will_2013 in forum Word Formatting & General
    Replies: 4
    Last Post: 05-26-2013, 07:01 PM
  3. Delete Specific Row up to a certain word
    By jesse77581 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-16-2013, 11:25 AM
  4. Delete text so it says everything except for a specific word
    By Tenmakk in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-15-2012, 04:49 PM
  5. delete row contains specific word in an macro
    By Jean-Francois in forum Excel General
    Replies: 4
    Last Post: 01-11-2005, 08:06 PM

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