+ Reply to Thread
Results 1 to 4 of 4

creating a formula

  1. #1
    Registered User
    Join Date
    12-10-2004
    Posts
    21

    creating a formula

    I have a col that i have plus and minus numbers in them and
    i want a count of all the records in the col. but i want to exclude the 0 records. Currently i use =count(d3:d70)
    and have tried countif((d3:d71)((<>0)) with no luck.
    any suggestions?

  2. #2
    Elkar
    Guest

    RE: creating a formula

    Try this:

    =COUNTIF(D3:D70,"<>0")

    HTH,
    Elkar

    "wwoody" wrote:

    >
    > I have a col that i have plus and minus numbers in them and
    > i want a count of all the records in the col. but i want to exclude the
    > 0 records. Currently i use =count(d3:d70)
    > and have tried countif((d3:d71)((<>0)) with no luck.
    > any suggestions?
    >
    >
    > --
    > wwoody
    > ------------------------------------------------------------------------
    > wwoody's Profile: http://www.excelforum.com/member.php...o&userid=17362
    > View this thread: http://www.excelforum.com/showthread...hreadid=499964
    >
    >


  3. #3
    pinmaster
    Guest

    RE: creating a formula

    Try this array formula:
    =SUM(IF(A1:A100<>0,1))
    entered using SHIFT+CTRL+ENTER

    HTH
    JG

    "wwoody" wrote:

    >
    > I have a col that i have plus and minus numbers in them and
    > i want a count of all the records in the col. but i want to exclude the
    > 0 records. Currently i use =count(d3:d70)
    > and have tried countif((d3:d71)((<>0)) with no luck.
    > any suggestions?
    >
    >
    > --
    > wwoody
    > ------------------------------------------------------------------------
    > wwoody's Profile: http://www.excelforum.com/member.php...o&userid=17362
    > View this thread: http://www.excelforum.com/showthread...hreadid=499964
    >
    >


  4. #4
    Registered User
    Join Date
    12-10-2004
    Posts
    21

    creating a formula

    Thanks guys i'll try each one

+ 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