Results 1 to 6 of 6

Using COUNTIFS between dates when one more condition - can they be in one formula or not?

Threaded View

  1. #1
    Registered User
    Join Date
    11-27-2012
    Location
    helsinki
    MS-Off Ver
    Excel 2010
    Posts
    23

    Question Using COUNTIFS between dates when one more condition - can they be in one formula or not?

    Hi!

    If I have a the following formula to count the cell A1 only if it has a date which is equal or higher than the date in cell B1, and equal or lower to the date in cell, as follows:

    COUNTIFS(A1;">="&B1;A1;"<="&B2)

    Now I would only want to count as per this condition if the cell A2 has a value "Z".

    Can you do this by using one COUNTIFS formula alone? If I use COUNTIFS()+COUNTIFS() the result would be 2: one count for the value Z and one for the date, although the aim is to have one count when both the date meets the condition and the value is Z.

    It seems you canīt for example do this

    COUNTIFS(A2;"Z";A1;">="&B1;A1;"<="&B2) or
    COUNTIFS(A2;"Z");COUNTIFS(A1;">="&B1;A1;"<="&B2) or
    COUNTIFS(A2;"Z")(COUNTIFS(A1;">="&B1;A1;"<="&B2))

    For this one I would really want to avoid using a helper column.

    Many thanks for any ideas!
    Last edited by RogerRangeRover; 12-04-2012 at 06:24 AM.

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