+ Reply to Thread
Results 1 to 5 of 5

Countif function for specified date...

  1. #1
    Registered User
    Join Date
    08-20-2015
    Location
    Raleigh, NC
    MS-Off Ver
    2013
    Posts
    24

    Countif function for specified date...

    I'm trying to write a countif function (among others) that will go into another sheet and find a column by a specified date and count based on whether there is number there or not. Basically I just need to know how many funds have reported in that specified period. In my spreadsheet specifically, I need the formula to be based off the date in row 18 because the date is going to change from month to month.

    In cell D15, I need to count in the "data compilation" tab how many non-blank values there are for November 2014 as a specific instance. In D16 & D17 I'm going to find the Max and Min respectively for that time period.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Countif function for specified date...

    Try

    =COUNT(INDEX('Data Compilation'!$F$3:$AA$421,0,MATCH(D$18,'Data Compilation'!F2:AA2,0)))


    You can just change COUNT to MIN and MAX for the other 2 cells.

  3. #3
    Registered User
    Join Date
    08-20-2015
    Location
    Raleigh, NC
    MS-Off Ver
    2013
    Posts
    24

    Re: Countif function for specified date...

    Perfect, thanks!

  4. #4
    Registered User
    Join Date
    08-20-2015
    Location
    Raleigh, NC
    MS-Off Ver
    2013
    Posts
    24

    Re: Countif function for specified date...

    If I wanted an AverageIf function for cell D19 where it averages all of the values for the date that have a sub-strategy (column c in "data compilation") equal to D19... Can you help with that?

    Thanks

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Countif function for specified date...

    Try

    =AVERAGEIF($C$4:$C$421,D19,INDEX('Data Compilation'!$F$3:$AA$421,0,MATCH(D$18,'Data Compilation'!F2:AA2,0)))

+ 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. using countif function to track courses and expiry date
    By tangle88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-20-2015, 08:58 PM
  2. COUNTIF/COUNTIFS function + nested user-defined function
    By shamjamali in forum Excel General
    Replies: 1
    Last Post: 05-12-2015, 09:12 PM
  3. Replies: 6
    Last Post: 05-21-2014, 02:21 PM
  4. COUNT/COUNTIF function with date calculation
    By Jayana in forum Excel General
    Replies: 4
    Last Post: 05-28-2012, 01:19 AM
  5. Replies: 2
    Last Post: 11-17-2011, 05:13 PM
  6. Combining a Date Range COUNTIF and a general COUNTIF
    By jacobtom in forum Excel General
    Replies: 1
    Last Post: 09-15-2011, 05:06 PM
  7. COUNTIF? Date Function
    By mccrimmon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-17-2007, 10:05 PM

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