+ Reply to Thread
Results 1 to 3 of 3

Remove last character if

  1. #1
    Registered User
    Join Date
    08-26-2009
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 2003
    Posts
    21

    Remove last character if

    I need to remove the last character in a cell if it is a comma. I can't remove all commas because there are other commas in the text.
    Last edited by Johnf42; 09-15-2009 at 12:02 AM.

  2. #2
    Forum Contributor
    Join Date
    08-11-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    149

    Re: Remove last character if

    =if(right(a1,1)=",",left(a1,len(a1)-1),a1)

  3. #3
    Registered User
    Join Date
    08-26-2009
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Remove last character if...

    Thank you, it worked.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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