+ Reply to Thread
Results 1 to 3 of 3

sum a range of cells but exclude the cells that are strings

  1. #1
    Registered User
    Join Date
    07-10-2013
    Location
    washington, DC
    MS-Off Ver
    Excel MAC 2011
    Posts
    2

    sum a range of cells but exclude the cells that are strings

    Hi there,
    I have a column. In that column, on any line there may be a character string or a "0" (zero).
    At the bottom of the column, i would like to count just the 0's. is this achievable in Excel without using macros?
    thanks! any help is much appreciated!
    joey

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: sum a range of cells but exclude the cells that are strings

    Hi and welcome to the forum

    =countif() sounds like what you need to use?

    something like...
    =countif(A1:A100,"0")
    or
    =countif(A1:A100,0)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-10-2013
    Location
    washington, DC
    MS-Off Ver
    Excel MAC 2011
    Posts
    2

    Re: sum a range of cells but exclude the cells that are strings

    For the love of God! I have know idea how to thank you!!
    You've saved me such an enormous amount of time.
    Much regards,
    Joey

+ 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