+ Reply to Thread
Results 1 to 4 of 4

"Count IF" statement

  1. #1
    Registered User
    Join Date
    06-11-2008
    Posts
    2

    "Count IF" statement

    I'm an excel noob but i was wondering if someone could help me with a if command. I am trying to make a cell showing participants from a range (H5:H26) if it is = to or > then 1 and then i need the formula to add one if the value is true. but showing a total of participants. Please help

    In case the above didn't make any sense. I have a spread sheet with names and hours and total of hours. what i need is for a cell to display the number of participants if one or more hours are showing in the total of hours range. i don't want it to total the hours or anything like that.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try Countif

    e.g. =Countif(A1:A100,">1")

    where A1:A100 contains total hours for each participant... adjust range as necessary
    Where there is a will there are many ways.

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

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

  3. #3
    Registered User
    Join Date
    06-11-2008
    Posts
    2
    Thank you so much. i had to modify the 1 to 0 because your formula was saying anything >1 and i needed anything >=1...actually will that work. can i put >=1?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Yes you can use ">=1" or just ">0" if using whole numbers...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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