Results 1 to 3 of 3

Thread: COUNTIF <> 0

  1. #1
    3 Star Lounger
    Join Date
    Jul 2007
    Location
    United States
    Posts
    220
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm trying to determine the proper syntax for COUNTIF wherein the criteria is any number except "0". =COUNTIF(C2:C8,<>0)

    That doesn't work.

    Any help is greatly appreciated.

    Amy
    Attached Files Attached Files

  2. #2
    3 Star Lounger
    Join Date
    May 2008
    Location
    India
    Posts
    306
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='AmyN' post='793353' date='15-Sep-2009 15:10']I'm trying to determine the proper syntax for COUNTIF wherein the criteria is any number except "0". =COUNTIF(C2:C8,<>0)

    That doesn't work.

    Any help is greatly appreciated.

    Amy[/quote]
    Use =COUNTIF(C2:C8,"<>0").
    Attached Files Attached Files
    Regards
    Prasad

  3. #3
    3 Star Lounger
    Join Date
    Jul 2007
    Location
    United States
    Posts
    220
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='prasad' post='793354' date='15-Sep-2009 10:54']Use =COUNTIF(C2:C8,"<>0").[/quote]
    Thank you. Worked like a charm.

    Amy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •