+ Reply to Thread
Results 1 to 6 of 6

Thread: Counting number of cells with a symbol

  1. #1
    Registered User
    Join Date
    01-06-2012
    Location
    SF Bay Area, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    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 Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,610

    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...
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Valued Forum Contributor dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    New Delhi, India
    MS-Off Ver
    Excel 1997, 2000, XP, 2003, 2007, 2010
    Posts
    2,365

    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
    +919810929744
    dilipandey@gmail.com

  4. #4
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK - but currently in Tokyo
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    6,560

    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

    If this was useful then please rate it appropriately.

    Click the small star icon at the bottom left of my post.

  5. #5
    Registered User
    Join Date
    01-06-2012
    Location
    SF Bay Area, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    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!!

  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.2.0