+ Reply to Thread
Results 1 to 6 of 6

Count range

  1. #1
    Registered User
    Join Date
    11-23-2007
    Posts
    35

    Count range

    Hi All

    I have a column which has something simular to the below:

    1
    2
    0
    0
    0
    0
    5
    4
    3

    I want to be able to count the amount of values in the column including the Zeros so the formula for the above should say '9'.

    Can this be done?

    Many thanks

  2. #2
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Hi Craig

    You need to use COUNTIF

    Please Login or Register  to view this content.
    Replace A2:A12 with your range

    Ed

  3. #3
    Registered User
    Join Date
    11-23-2007
    Posts
    35
    Thanks mate,

    Is it possible to also do the same thing but not include the zeros in the calculation?

    Craig.

  4. #4
    Registered User
    Join Date
    07-21-2007
    Posts
    13

    AND IF Statement??? Not sure the formula to use

    Hoping to get some help with this one.... I have a sheet of data and want to count how many oranges I have in total. I need to create a formula that counts the number of oranges. Keeping in mind that Cells C14, C30, C42 and C50 might change at any given time.

    How do I create an if statement that counts the number of fruits if Cells C14,C30, C42 and C50 = Orange?

    The Values of the fruits are always in Column G, one row under the row with the fruit

    Cell C 14 Orange
    Cell G15 3
    Cell C30 Pear
    Cell G31 5
    Cell C 42 Apple
    Cell G43 6
    Cell C50 Orange
    Cell G 51 8


    Hope this makes sense
    Thanks!

  5. #5
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Sure,

    Just change the criteria as below

    Please Login or Register  to view this content.
    Will count all greater than or equal to one

    Ed

  6. #6
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    bwhizz,

    suggest you start your own new thread. That said, it looks like you really need to change your data layout to make a solution easy to find.

    Tyr posting a copy of your sheet with your new thread.

    Ed

+ 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