+ Reply to Thread
Results 1 to 8 of 8

Countif for two text criteria

  1. #1
    Registered User
    Join Date
    09-16-2012
    Location
    Brussels, Belgium
    MS-Off Ver
    Excel 2003
    Posts
    12

    Countif for two text criteria

    Hello,

    Tried to look it up on the internet but none of the given answers seem to give me the answer.

    I have a sheet in which rows represent weeks and columns represent days.
    In every cell is a value "OFF","TLD" or "TLN"
    I need to know how many "OFF" there are on mondays in week 1, how many "TLD" on mondays in week 1...

    See attached:question countif.xlsx

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

    Re: Countif for two text criteria

    in L4 of your workbook:

    Please Login or Register  to view this content.
    drag-fill three more columns towards right, two more rows towards bottom.
    - 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
    09-16-2012
    Location
    Brussels, Belgium
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Countif for two text criteria

    This formula doesn't seem to work...
    Can you put in the excelsheet itself?

    Maybe the issue is that I use a european version of xls and ";" and "," are sometimes used differently.

    Thanks!

  4. #4
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Countif for two text criteria

    also i dont think countifs work in excel 2003 so check your version

    if your on 2003 use the sumproduct function
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  5. #5
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Countif for two text criteria

    here is my example for you

    question countif.xlsx

  6. #6
    Registered User
    Join Date
    09-16-2012
    Location
    Brussels, Belgium
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Countif for two text criteria

    Works perfectly! Thank you very much!

    And indeed - countifs doesn't work in 2003.

    Regards,

  7. #7
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Countif for two text criteria

    glad to help,

    remeber to mark it solved and start tap those that helped out

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

    Re: Countif for two text criteria

    my apologies - should have been paying more attention...

+ 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