+ Reply to Thread
Results 1 to 2 of 2

Help needed for Formula that counts based on Date & 3 criteria

  1. #1
    Registered User
    Join Date
    10-08-2012
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    8

    Help needed for Formula that counts based on Date & 3 criteria

    Hi, I have been using the following formula to count the number of occurrences of "text1" in a specific data range during a specific date range (1-oct-2012 to 7-oct-12):
    =SUMPRODUCT(--(J6:J100="text1"),--(!D6:D100>=--"2012-10-01"),--(!D6:D100<=--"2012-10-07"))

    J6:J100 is the data range. D6:D100 is the date range.

    This formula works great.

    I would like to however also count for "text2".

    So I would like to look in the data range J6:J100 and count the number of times that "text1" and "text2" come up over the period 1-oct-2012 to 7 - oct- 2012.

    this is my first post so i hope i have been clear. I would be very greatful to anyone who can help me!
    Thanks in advance for any hints or the actual solution

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Help needed for Formula that counts based on Date & 3 criteria

    Try..

    SUMPRODUCT((J6:J100={"text1","text2"})*(D6:D100>="2012-10-01")*(!D6:D100<="2012-10-07"))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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