+ Reply to Thread
Results 1 to 5 of 5

Count of " in a specific cell

  1. #1
    Registered User
    Join Date
    03-23-2015
    Location
    Austin, Texas
    MS-Off Ver
    2016
    Posts
    11

    Cool Count of " in a specific cell

    I would like to count the number of instances that a quote appears in a given cell. Most of the formulas I would use normally are add-ons in Excel that I don't have available on my work machine. Can somebody tell me the most effective ways to count the number of instances of a specific character in a cell in Excel 2013? I think VBA might be overkill but that also might be the only means to do it. If so, can somebody help me figure out how to do that? thanks.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,812

    Re: Count of " in a specific cell

    Your profile says Excel 2016, but you mention 2013 - which is it?

    Either way:

    =COUNTIF(count_range,"character")

    e.g. =COUNTIF(A1:A10,"a")

    In your case, you would need this:

    e.g. =COUNTIF(A1:A10,"""")

    Sorry - I realise now that I misread your request.
    Last edited by AliGW; 04-24-2019 at 12:58 PM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Valued Forum Contributor
    Join Date
    01-07-2013
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    601

    Re: Count of " in a specific cell

    If you're counting the number of occurrences within a cell, try this:
    Please Login or Register  to view this content.
    If someone helped achieve your solution, consider clicking "* Add Reputation" on their post.

    If your question has been answered, mark the thread as [SOLVED] using the Thread Tools menu at the top of the thread.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,812

    Re: Count of " in a specific cell

    Try this instead:

    =LEN(A2)-LEN(SUBSTITUTE(A2,"""",""))

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,812

    Re: Count of " in a specific cell

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] Identify specific numeric values in a cell such as "1" without counting "11" as two "1"s
    By MHanna39 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-03-2019, 01:35 PM
  2. Copying specific cells based on cell value "P" or "O" to sht1 or sht2
    By Ity007 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-01-2016, 07:53 AM
  3. [SOLVED] Count the QTY of specific character of "A???-B???"
    By CAABYYC in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-12-2016, 05:18 PM
  4. Count "X" in specific cell on multiple sheets (Start:End!)
    By sjones1976 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-17-2015, 10:50 AM
  5. Replies: 12
    Last Post: 06-12-2014, 02:11 PM
  6. [SOLVED] Cell Formula to count time with "Greater Than or Equal to" and "Less Than"
    By chriswhite1982 in forum Excel General
    Replies: 3
    Last Post: 06-16-2013, 12:30 AM
  7. How to make Excel count specific letters as "1" and then have them summed up?
    By VacationPlanner in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-20-2012, 06:47 AM

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