+ Reply to Thread
Results 1 to 4 of 4

Using COUNTA formula effected by criteria in another column

  1. #1
    Registered User
    Join Date
    06-09-2012
    Location
    here
    MS-Off Ver
    Excel 2007
    Posts
    2

    Using COUNTA formula effected by criteria in another column

    Example;

    A E
    Last Name Departing 10Jul

    Smith x
    Jones
    Jackson x
    Johnson x
    Alexander x
    x


    My sheet has 182 rows and I do not care what someones name is, hence the use of the COUNTA to calculate number of personnel. However, I only want the personnel in column A "Last Name" counted that has a corresponding "x" in column E "Departing 10Jul".

  2. #2
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Using COUNTA formula effected by criteria in another column

    why don't you just count all the x's in the 'departing' column?

    =countif(b:b,"x")
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  3. #3
    Registered User
    Join Date
    06-09-2012
    Location
    here
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Using COUNTA formula effected by criteria in another column

    Because the roster is a living document, meaning it will have changes to both columns before final validation, so it is easier to track numbers by establishing set formulas.

  4. #4
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Using COUNTA formula effected by criteria in another column

    sorry, that explanation did not hit home. anyway, another approach:

    since you are on version 2007, try 'countifs':

    =countifs(a1:a100,"<>"&"",b1:b100,"x")

+ 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