+ Reply to Thread
Results 1 to 2 of 2

Trying to Limit Character and Delete Characters that are Over the Limit

  1. #1
    Registered User
    Join Date
    01-13-2011
    Location
    Santa Barbara, California
    MS-Off Ver
    Excel 2003
    Posts
    2

    Unhappy Trying to Limit Character and Delete Characters that are Over the Limit

    Hi,

    I am using a CONCACTENATE function to combine three cells in Excel (2003) - A2,B2, and C2 (Due to titles being A1, B1 and C1).

    After combining the three cells the total number of characters tends to be somewhere between 14-16 characters; however to enter this new cell into Access it needs to be no more than 15 characters long.

    How can I program this cell to check to see if the characters exceed the limit of 15 characters and then delete the last character (Since the cells that exceed are always 16 characters long)?


  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Trying to Limit Character and Delete Characters that are Over the Limit

    How about?

    =LEFT(CONCATENATE(A2,B2,C2),15)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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