Results 1 to 9 of 9
  1. #1
    Star Lounger
    Join Date
    Apr 2001
    Location
    Oklahoma City, Oklahoma, USA
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Count non-empty cells (E2KSR1)

    I need to count the number of non-empty cells in a column. If the cell is empty, and they all have text only in them, I do not want it counted, but if there is a name in the column I need to count them.

    I tried DCOUNTA and was baffeled.

    What should I do?

    Please help!!!

    Jail Medical Administrator

  2. #2
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Count non-empty cells (E2KSR1)

    Are you saying that you want to count names but ignore other cells which have text or are blank?

    Cheers
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  3. #3
    Star Lounger
    Join Date
    Apr 2001
    Location
    Oklahoma City, Oklahoma, USA
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Count non-empty cells (E2KSR1)

    Yes, I need to list the staff that are sick, on vacation, etc. If there is a name in the column they are out for the reason and I need a count of these. But if there is no name listed then I don't want to count that box.

  4. #4
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Count non-empty cells (E2KSR1)

    The difficulty will be telling the difference between a cell containing a name and a cell containing text. To Excel both cells contain text.
    Can you fake up a copy of the spreadsheet so we can see how your data is set up. We don't want to see real info.

    Cheers
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  5. #5
    Star Lounger
    Join Date
    Apr 2001
    Location
    Oklahoma City, Oklahoma, USA
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Count non-empty cells (E2KSR1)

    I'm sorry, I was not clear, all the cells will either be empty or will have a name in them. The text is the name.

  6. #6
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Count non-empty cells (E2KSR1)

    Why not try COUNTBLANK?

    cheers
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  7. #7
    Star Lounger
    Join Date
    Apr 2001
    Location
    Oklahoma City, Oklahoma, USA
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Count non-empty cells (E2KSR1)

    That is almost it. Is there a function that reverses this and counts NonBlanks?

  8. #8
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Count non-empty cells (E2KSR1)

    You could use COUNTA.
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  9. #9
    Star Lounger
    Join Date
    Apr 2001
    Location
    Oklahoma City, Oklahoma, USA
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Count non-empty cells (E2KSR1)

    Yes, that did it.

    Thank You vVery Much.

    I do not know what the functions do in Excel and rely on trial and error.

Posting Permissions

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