+ Reply to Thread
Results 1 to 5 of 5

Reformulate IF statement to count when higher than 0

  1. #1
    Forum Contributor
    Join Date
    05-17-2016
    Location
    Montreal
    MS-Off Ver
    2013
    Posts
    115

    Reformulate IF statement to count when higher than 0

    Hey,

    I currently use the following formula:

    =(IF(AND(I1>0;J1>0;K1>0;L1>0;M1>0;N1>0);1;0))

    My problem is that I can only know when all conditons are met = 1..

    Is there a way to write it in order for it to display the number of cells above zero`

    IE if 5 out of 6 are above zero, then display 5 (ideally without Helper column)

    Thx!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Reformulate IF statement to count when higher than 0

    Try

    =COUNTIF(I1:N1;">0")

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Reformulate IF statement to count when higher than 0

    =COUNTIF(i1:n1,">0")
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Forum Contributor
    Join Date
    05-17-2016
    Location
    Montreal
    MS-Off Ver
    2013
    Posts
    115

    Re: Reformulate IF statement to count when higher than 0

    Thanks for the quick replies

    Problem solved!

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Reformulate IF statement to count when higher than 0

    You're welcome.

+ 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] How to select and count cells with value higher than 0.00
    By Schalk in forum Excel General
    Replies: 4
    Last Post: 08-28-2015, 06:35 AM
  2. Replies: 1
    Last Post: 03-21-2015, 07:46 PM
  3. How do I make Excel count values higher than 2 as 2
    By Zack96 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-02-2015, 02:03 AM
  4. Count number of times one value is higher than another IF criteria is true
    By LasseKaa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-17-2013, 11:28 AM
  5. [SOLVED] Does a 'count if higher than other cell' function exist?
    By Apparas in forum Excel General
    Replies: 4
    Last Post: 10-08-2012, 11:06 AM
  6. Replies: 2
    Last Post: 05-31-2010, 03:23 PM
  7. [SOLVED] Is there a way to count higher than 511 in binary in excel?
    By havocdragon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-15-2005, 01:05 AM

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