+ Reply to Thread
Results 1 to 2 of 2

How To Count Characters In A Cell But Exclude specific letters?

  1. #1
    Registered User
    Join Date
    11-18-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    6

    How To Count Characters In A Cell But Exclude specific letters?

    Hi All,

    I want to count the number of characters in a cell including spaces but, exclude specific characters. Is their a simple formula?

    E.g.
    Buy {Keyword:Baby Clothes}

    I want to include spaces as part of the character count but excluding {Keyword:}. So in total, their should be 16 characters left that I can fill in a cell.

    Reason being, I want my character count to starts from 30 in the cell. So my formula is =30-LEN(I3). I would like to add this is so that, when I add more characters it goes down. Also 30 is the character limit which is why I've added this and helps me know how many characters I have left.

    Warm regards,
    V

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,742

    Re: How To Count Characters In A Cell But Exclude specific letters?

    Try this

    =TRIM(SUBSTITUTE(SUBSTITUTE(A1,"{Keyword:",""),"}",""))
    Dave

+ 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. Count specific characters present in a column
    By paladin7 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-12-2014, 12:43 AM
  2. Excel pivot count to exclude specific date value
    By chetan.thakkar in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-24-2014, 12:33 AM
  3. Count specific phrase (letters and numbers) in continuous range
    By macneill5 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-03-2012, 04:56 AM
  4. Replies: 4
    Last Post: 08-06-2012, 11:52 AM
  5. Count individual letters or letter combos w/in cells that contain other characters
    By superupsman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-14-2011, 02:23 PM
  6. Include/Exclude Specific Instring Characters From A Querry Search
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-05-2010, 03:43 PM
  7. Count specific characters with numbers or letters
    By hoppscrouse in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-19-2007, 09:02 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