+ Reply to Thread
Results 1 to 4 of 4

Counting Named Range Values - ONLY Positives

  1. #1
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Counting Named Range Values - ONLY Positives

    I have in G2 =COUNT(JSEA_ID), where JSEA_ID is the named range in another sheet.

    However, how can modify this to only count values that are either positive, or a whole number ?

    I tried G2 = IF(JSEA_ID>0,COUNT(JSEA_ID),""), but i still get the same result.

  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
    53,048

    Re: Counting Named Range Values - ONLY Positives

    You dont show which version of excel you are using (which is WHY was ask for that info), So im not sure if this will work for you, give it a shot...

    =COUNTif(JSEA_ID,">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
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Counting Named Range Values - ONLY Positives

    use =COUNTIF(JSEA_ID,">0")

  4. #4
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Re: Counting Named Range Values - ONLY Positives

    Beautiful.

    I will update my profile to state 2007.

    Thanks guys.

+ 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