+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Counting number of cells with a symbol

Hybrid View

  1. #1
    Registered User
    Join Date
    01-06-2012
    Location
    SF Bay Area, USA
    MS-Off Ver
    Microsoft 365
    Posts
    27

    Counting number of cells with a symbol

    I have columns and use a symbol (webdings dot) in some cells. I need to sum the total symbols in a column. How would I do this? Thanks!

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

    Re: Counting number of cells with a symbol

    Find out what Ascii code the character is... i.e. in adjacent cell enter =CODE(A1) where A1 contains a symbol.

    Then incorporate in a COUNTIF function and putting the code you found in a CHAR() function....

    e.g.
    =COUNTIF(A1:A100,CHAR(10))

    where 10 (or 010) is the code yielded with the CODE() function...
    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.

  3. #3
    Registered User
    Join Date
    01-06-2012
    Location
    SF Bay Area, USA
    MS-Off Ver
    Microsoft 365
    Posts
    27

    Re: Counting number of cells with a symbol

    NBVC - thank you for such a quick reply! this was my first time posting to this forum. Im loving it. I actually figured out how to do this moments after posting. I used: =COUNTA(D4:D75) and it did the job! I suppose if i had other data within those cells i would need to do it your way. thanks again!!

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Counting number of cells with a symbol

    Hi jolthof,

    Welcome to the forum.
    To count the symbol (character), you can use COUNTIF function.
    It would be better if you could upload a sample file. Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Counting number of cells with a symbol

    Hi,

    I presume you do mean 'count' as in your title rather than 'sum' as in your text. Assuming you mean the dot is the webdings character number 7 then just

    =COUNTIF(A:A,CHAR(7))
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  6. #6
    Registered User
    Join Date
    05-14-2009
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    50

    Re: Counting number of cells with a symbol

    Have you tried the =countif() function? for instance, you could try the following =COUNTIF(A1:A45,"◄") the ◄ is entered using the ASCII character code Alt+785 you may need to find the ASCII char code for the specific Webdings character that you are using in your sheet.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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