+ Reply to Thread
Results 1 to 4 of 4

Using counta function for 2 columns.

  1. #1
    Forum Contributor
    Join Date
    06-03-2008
    Location
    Northern Ireland
    MS-Off Ver
    2003
    Posts
    107

    Using counta function for 2 columns.

    Hi all,

    I'm using the following COUNTA function for a range of cells.

    =COUNTA(W92:W580)
    In column X92:W58 i have a drop down list to pick a gender, (Male , Female). Can I add to the counta function so that I can count all data entered into W92:W580 and get it filtered by gender.

    E,g Say there were 10 data entires within the counta range and 3 were female my table would show: Male: 7 Female: 3 Total:10?

    Thanks in advance.

  2. #2
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    have you thought of using sumproduct?

    Check out this site

    http://www.xldynamic.com/source/xld.SUMPRODUCT.html

    Regards
    Ed
    _____________________________
    Always learning, but never enough!
    _____________________________

  3. #3
    Forum Contributor
    Join Date
    06-03-2008
    Location
    Northern Ireland
    MS-Off Ver
    2003
    Posts
    107
    Thanks Ed,

    Yeah I've used SUMPRODUCT yet could'nt think of linking the 2 functions. Basically users will enter a date and thats what will be counted.

    Thanks for the link.

  4. #4
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Can you post an example of your data and what you want to achieve? Best to ZIP it first.

    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to display help text in the Insert function wizard (Excel)
    By sudhakard in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2009, 11:01 AM
  2. Hide and Unhiding Columns
    By papastyle3 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-23-2008, 11:03 AM
  3. vba- how pass a range into the function ?
    By GregJG in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-10-2007, 01:25 PM
  4. IF Function
    By billykiller05 in forum Excel General
    Replies: 9
    Last Post: 10-19-2007, 04:03 AM
  5. Using a function to compare three columns
    By brainfreeze in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-19-2006, 06:38 AM

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