+ Reply to Thread
Results 1 to 6 of 6

Counting (not Null and not Zero)

  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    2

    Counting (not Null and not Zero)

    Hello Everyone

    I would like to ask, I have 1 column and 9 rows (cells), how I can count the number of cells in the column excluding "zero values" and "null cells".

    I have attached an example.

    I also found a similar post (by our friend Jay, which can be seen below) but I am not experienced so much with logical algorithms so if you could aid me I would be glad.

    http://www.excelforum.com/excel-gene...ls-2007-a.html

    Thank you very much.
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,699

    Re: Counting (not Null and not Zero)

    Try using COUNTIF to count values > 0

    =COUNTIF(B2:B10,">0")
    Audere est facere

  3. #3
    Registered User
    Join Date
    09-05-2012
    Location
    Dallas, Tx
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Counting (not Null and not Zero)

    =COUNTIF(B2:B10,">0")


    <--------Please Click the star if this has helped you!!
    http://excelevangelist.blogspot.com/

  4. #4
    Registered User
    Join Date
    09-05-2012
    Location
    Dallas, Tx
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Counting (not Null and not Zero)

    I didnt see someone had answered it.

  5. #5
    Registered User
    Join Date
    09-25-2012
    Location
    jordan
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Counting (not Null and not Zero)

    hi all;
    i have one column and 5 rows (cells) type text, how I can count the number of cells in the column ??
    A1=FA
    A2=MR
    A3=FA
    A4=FA
    A5=MR
    i put the formula in cell A6
    =COUNTIF(A1:A5,"FA")
    i dont have any result in A6 just show the formula
    please advice me

  6. #6
    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 (not Null and not Zero)

    @faisal.alissa
    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    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.

+ 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