+ Reply to Thread
Results 1 to 4 of 4

Counting symbols from a text string

  1. #1
    Registered User
    Join Date
    02-11-2011
    Location
    Vilnius, Lithuania
    MS-Off Ver
    Excel 2016
    Posts
    83

    Counting symbols from a text string

    Hi friends, I hope You will help me again, this time I have a new question:

    If a cell contains a text, is it possible to count particular parts, for example in a cell I have a text:

    17:00+1 – 10:00+1

    I need to count all "+1" parts, so in this case in another cell the result should be 2 (because there are two "+1")

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Counting symbols from a text string

    Hi there. try this.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The number at the end (2) should be adjusted to be equal to the length of the string that tyou're looking for (i.e. +1 = 2 characters).
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    02-11-2011
    Location
    Vilnius, Lithuania
    MS-Off Ver
    Excel 2016
    Posts
    83

    Re: Counting symbols from a text string

    Thanks, it works.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Counting symbols from a text string

    On second thoughts: use this. I certainly wouldn't automatically remember to adjust the 2 at the end...
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    BtW, this will work for text, numbers and any combination, and (as set up) is case insesnsitive (so "a" is the same as "A")

+ 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. [SOLVED] Finding and Counting for text within a string in a column
    By WanderingDog in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-21-2013, 09:35 PM
  2. Replies: 9
    Last Post: 10-17-2011, 04:33 PM
  3. Counting with text and symbols mixed in
    By Aaron5604 in forum Excel General
    Replies: 5
    Last Post: 05-08-2009, 06:37 PM
  4. pull out text between 2 symbols in a string within a cell
    By jasonanthony in forum Excel General
    Replies: 3
    Last Post: 02-02-2009, 06:18 PM
  5. [SOLVED] Excel - counting cells containing a text string
    By Pegasus Host in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-12-2005, 04:06 PM

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