+ Reply to Thread
Results 1 to 4 of 4

Counting cells with data

  1. #1
    Registered User
    Join Date
    11-25-2005
    Posts
    51

    Counting cells with data

    How do I "count" the number of cells with a value in them? I have a spreadsheet with 277 rows, but only some of these have data. I want to find the "AVERAGE" of the cells with data. If I use the AVERGAE function it uses the total number of cells (277) but some of these are blank which skews the value. Thank in advance. So glad I found this site.

  2. #2
    pinmaster
    Guest
    Hi,

    Use the COUNTA function.

    HTH
    JG

  3. #3
    Registered User
    Join Date
    11-25-2005
    Posts
    51
    Thank you. That works!

  4. #4
    Gord Dibben
    Guest

    Re: Counting cells with data

    AVERAGE function ignores blanks and non-numerics so the value is not skewed if
    the blanks are truly blanks or are non-numerics.

    Try it.

    Enter numbers in A1:A10 and =AVERAGE(A1:A10) in A11

    Insert 5 blank rows at A2:A6

    The average returned is now =AVARAGE(A1:A16) and returns the same result.


    Gord Dibben Excel MVP

    On Sat, 26 Nov 2005 15:57:24 -0600, jimbob
    <[email protected]> wrote:

    >
    >How do I "count" the number of cells with a value in them? I have a
    >spreadsheet with 277 rows, but only some of these have data. I want to
    >find the "AVERAGE" of the cells with data. If I use the AVERGAE
    >function it uses the total number of cells (277) but some of these are
    >blank which skews the value. Thank in advance. So glad I found this
    >site.



+ 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