+ Reply to Thread
Results 1 to 3 of 3

Need formula to compute number of cells in a row that contain a number greater than zero

  1. #1
    Registered User
    Join Date
    10-04-2015
    Location
    New York, NY
    MS-Off Ver
    2011
    Posts
    2

    Need formula to compute number of cells in a row that contain a number greater than zero

    I would like to create a formula that calculates the number of cells in a row that contain a number greater than zero. I know the SUM function and the IF function but I don't know how to combine them to produce the result I want. Any suggestions?

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

    Re: Need formula to compute number of cells in a row that contain a number greater than ze

    Use the COUNTIF function on the range with a condition of >0.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-04-2015
    Location
    New York, NY
    MS-Off Ver
    2011
    Posts
    2

    Re: Need formula to compute number of cells in a row that contain a number greater than ze

    Thank you.

+ 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] Count Number of Cells in Col B that are greater than Col A
    By lordfa9 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-08-2015, 04:44 AM
  2. [SOLVED] Count number of cells in range since last number greater than zero
    By whitfieldcraig in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-18-2015, 06:38 AM
  3. [SOLVED] How to count cells after last number greater than 0
    By gogreenpower in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-09-2014, 02:28 AM
  4. [SOLVED] How to get the number of times exactly 4 consecutive cells have a number greater than 6?
    By llane5150 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-29-2013, 11:23 PM
  5. Displaying cells greater than a number
    By Brice112 in forum Excel General
    Replies: 3
    Last Post: 08-02-2010, 01:32 PM
  6. Replies: 3
    Last Post: 07-07-2006, 09:10 PM
  7. [SOLVED] Excel Formula - Compute Number of Years Worked
    By Penny in forum Excel General
    Replies: 2
    Last Post: 08-11-2005, 03:05 PM

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