+ Reply to Thread
Results 1 to 3 of 3

Formula countifs with multiple criteria

  1. #1
    Registered User
    Join Date
    05-13-2011
    Location
    Illinois
    MS-Off Ver
    Excel 2003
    Posts
    10

    Formula countifs with multiple criteria

    Hello All,

    I am trying to figure out a countifs style formula that takes a list a have and counts the number of items that match based on the following information. The problem is that one of the criteria can be either blanks or any date past a specific date.

    =COUNTIFS(Vehicle_Class,"="&C64,Location,"=Main LPC",Date_Delivered,"<="&D$4,Date_Turned_In,{"",">=D$4"})

    I need it to count by the following:

    A vehicle being a certain class
    Location being a specific building
    Date delivered being before a certain date
    A turn in date being either blank or having a date past a specific date (this is the part giving me trouble because its like an or statement)

    Can this be done?

    Thanks in advanced!

    Joe

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Formula countifs with multiple criteria

    You could try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    - Moo

    Also, I should note that your profile lists Excel 2003, yet you are using a formula only available in Excel 2007 and later...

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Formula countifs with multiple criteria

    Hello Joe, you could try this version with COUNTIFS

    =SUMPRODUCT(COUNTIFS(Vehicle_Class,C64,Location,"Main LPC",Date_Delivered,"<="&D$4,Date_Turned_In,IF({1,0},"",">="&D$4)))
    Audere est facere

+ 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. Countifs with multiple criteria in single criteria range
    By MCP313 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-01-2016, 03:51 AM
  2. COUNTIFS formula multiple criteria
    By rjc1971 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-18-2013, 09:56 PM
  3. [SOLVED] COUNTIFS using multiple criteria in same row
    By noremry in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-04-2012, 10:30 PM
  4. Replies: 0
    Last Post: 07-27-2011, 01:00 AM
  5. COUNTIFs with multiple criteria
    By Cene K in forum Excel General
    Replies: 5
    Last Post: 10-28-2005, 06: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