+ Reply to Thread
Results 1 to 3 of 3

countifs and date ranges

  1. #1
    Registered User
    Join Date
    02-24-2014
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    47

    countifs and date ranges

    Trying to add on to my countifs formula on sheet2
    I have all raw data on the Main tab and would like to manipulate the data from the date range that I select on the sheet 2 tab (cell k2 and k3)
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: countifs and date ranges

    =COUNTIFS(Main!$K2:$K312,Sheet2!B$1,Main!$B2:$B312,Sheet2!$A2,Main!$A$2:$A$312,">="&Sheet2!$K$2,Main!$A$2:$A$312,"<"&Sheet2!$K$3)

    Copying this down and over will result in zeroes, because the filter is set for 2013, and raw data is 2014.
    Last edited by daffodil11; 02-28-2014 at 06:48 PM.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: countifs and date ranges

    Hi esaban,

    I think a Pivot Table may be a better tool for this problem. See what they can do on the attached.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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. Need to combine several countifs for the same ranges
    By kbb222 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-10-2013, 06:45 AM
  2. [SOLVED] Using COUNTIFS with date ranges
    By Harrytheb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-24-2013, 12:17 PM
  3. Replies: 4
    Last Post: 03-30-2013, 08:36 AM
  4. [SOLVED] Countifs and Date Ranges
    By MercyMercyMe in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-08-2013, 07:16 PM
  5. Using COUNTIFS with dynamic ranges?
    By Kagemucha in forum Excel General
    Replies: 5
    Last Post: 07-01-2007, 11:25 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