+ Reply to Thread
Results 1 to 5 of 5

How to remove last word in a list of cells-

  1. #1
    Forum Contributor
    Join Date
    01-24-2013
    Location
    NY,NY
    MS-Off Ver
    MS 365
    Posts
    250

    How to remove last word in a list of cells-

    Good morning,

    I have a list of over 6,000 entries and I need to remove the last word in this case "average".
    Any ideas. I attempted to use the text to column but there's no dashes only spaces so it's a mess.

    2012 SESAMESTREET-0001 Average
    2090 CAPTAIN AMERICA-0002 Average
    2151 BROADWAYGYM-0001 Average
    221 BEACH AVENUE S221EAS-0001 Average
    230 MIDDLE ESSEX PARBROWHAR-0011 Average

    Any help is appreciated!

  2. #2
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Re: How to remove last word in a list of cells-

    =iferror(left(trim(a2),find("~",substitute(a2," ","~",len(trim(a2))-len(substitute(trim(a2)," ",""))))-1)," ")

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,910

    Re: How to remove last word in a list of cells-

    Or try this ...

    =LEFT(A1,LEN(A1)-1-LEN(TRIM(RIGHT(SUBSTITUTE(A1," ",REPT(" ",200)),200))))

  4. #4
    Forum Contributor
    Join Date
    01-24-2013
    Location
    NY,NY
    MS-Off Ver
    MS 365
    Posts
    250

    Re: How to remove last word in a list of cells-

    It worked thanks a bunch!!

  5. #5
    Forum Contributor
    Join Date
    03-22-2017
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    230

    Re: How to remove last word in a list of cells-

    Would a Replace function in excel is faster?

    Ctrl + H

+ 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. Replies: 13
    Last Post: 10-22-2019, 02:14 AM
  2. Function to remove a word in multiple cells?
    By Dallas6570 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-11-2018, 10:43 PM
  3. Need Help To Remove a Word From Cells - VBA
    By netchie in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-08-2015, 06:14 PM
  4. [SOLVED] Remove blank cells from the list
    By ABSTRAKTUS in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-30-2012, 01:51 PM
  5. Remove a word from a series of cells
    By jah72773 in forum Excel General
    Replies: 2
    Last Post: 02-16-2012, 05:54 PM
  6. Remove empty cells from named list / validation list
    By Sp00k in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-28-2006, 10:45 AM
  7. [SOLVED] remove paddings in cells when pasting from excel to word?
    By kpascal in forum Excel General
    Replies: 0
    Last Post: 11-04-2005, 06:35 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