TB's Code Library

If it ain't tight, it ain't right!

Search

Tuesday, November 30, 2010

Excel - Trim Last 5 Characters

Excel Formula to capture and trim the last 5 characters of an adjacent Field that contains a string value

=RIGHT(C37,LEN(C37)-FIND("*",SUBSTITUTE(C37," ","*",LEN(C37)-LEN(SUBSTITUTE(C37," ","")))))
Posted by zxkuqyb at 8:23 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Excel
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

It's all about the code...

Code Archive

  • ►  2021 (1)
    • ►  April (1)
  • ►  2015 (3)
    • ►  June (3)
  • ►  2014 (1)
    • ►  March (1)
  • ►  2013 (5)
    • ►  October (2)
    • ►  August (2)
    • ►  May (1)
  • ►  2012 (6)
    • ►  September (1)
    • ►  March (4)
    • ►  February (1)
  • ►  2011 (2)
    • ►  November (1)
    • ►  April (1)
  • ▼  2010 (3)
    • ▼  November (1)
      • Excel - Trim Last 5 Characters
    • ►  October (1)
    • ►  March (1)
  • ►  2008 (3)
    • ►  October (1)
    • ►  March (2)
  • ►  2007 (2)
    • ►  October (1)
    • ►  August (1)
  • ►  2006 (2)
    • ►  April (1)
    • ►  March (1)
  • ►  2005 (22)
    • ►  December (1)
    • ►  October (1)
    • ►  August (3)
    • ►  July (2)
    • ►  June (6)
    • ►  May (9)

Helpful Links

  • Beyond the [Defaults]
  • Infopath Developer Community
  • Mr. Excel

Did you find a solution here?

Subscribe

Posts
Atom
Posts
All Comments
Atom
All Comments
Awesome Inc. theme. Powered by Blogger.