+ Reply to Thread
Results 1 to 4 of 4

how to delete a character from the character

Hybrid View

  1. #1
    Registered User
    Join Date
    07-28-2015
    Location
    Japan
    MS-Off Ver
    Windows10, Microsoft Prof Plus 2019
    Posts
    85

    how to delete a character from the character

    Dear All,

    I got this dilemma on how I can delete the character ",et.al" in my text characters.

    For Example, the data is "Mary Jane, et.al." but I only wanted the data "Mary Jane"

    Attached is my excel file.

    Thanks


    Rey
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: how to delete a character from the character

    Here..

    Didn't check your formula.. Just added on top of it..

    Formula: copy to clipboard
    =TRIM(LEFT(SUBSTITUTE("             "&(IF(ISERROR(VLOOKUP($S$20&"A",INDIRECT("'"&$S$20&"'!AG:AY"),5,FALSE)),"",VLOOKUP($S$20&"A",INDIRECT("'"&$S$20&"'!AG:AY"),5,FALSE))), ",", REPT(" ",255)),255))

  3. #3
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: how to delete a character from the character

    Hi
    you can't delete it because it is a formula linked to another cell, and "et al" is in that cell, but this tweak to your formula should fix it

    ="             "&SUBSTITUTE((IF(ISERROR(VLOOKUP($S$20&"A",INDIRECT("'"&$S$20&"'!AG:AY"),5,FALSE)),"",VLOOKUP($S$20&"A",INDIRECT("'"&$S$20&"'!AG:AY"),5,FALSE))),", et.al.","")

  4. #4
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: how to delete a character from the character

    oops - zbor beat me to it!

+ 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: 3
    Last Post: 10-21-2016, 07:46 PM
  2. [SOLVED] Macro to rename cell content based on the starting character until found same character
    By oeyandyprawira in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-19-2015, 09:36 AM
  3. Replies: 4
    Last Post: 08-26-2014, 09:20 AM
  4. [SOLVED] Delete any character after the 7th character
    By plank in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-26-2012, 04:54 AM
  5. Macro to find character and delete all text in cell after the character
    By SpencerRichman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2012, 06:08 PM
  6. Display Active Character Count + Limit Character Per Cell
    By euronail in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2011, 04:59 AM
  7. importing undelimited text file data, character-by-character
    By The Mos$ in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-26-2005, 07:10 AM

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