+ Reply to Thread
Results 1 to 3 of 3

Count criteria multiple columns

Hybrid View

  1. #1
    Registered User
    Join Date
    06-17-2020
    Location
    Belgium
    MS-Off Ver
    365
    Posts
    1

    Count criteria multiple columns

    Hi,

    I am struggling to find the correct formula based on multiple columns.
    Countifs does not work at all and cannot get a sumproduct to work.

    What I am trying to do is count how many combinations exists for the below:

    - Date in column K should be smaller then date in field A2
    - Column J should be "open"
    - F should be Petra


    =SUMPRODUCT(--('Data. Projects'!K:K<=Datafields!A2);--('Data. Projects'!J:J="open");--('Data. Projects'!F:F="Petra"))

    Any help?

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Count criteria multiple columns

    Probably and countifs or sumproduct should both work

    The problem is likely to be in your data, perhaps dates are text, or "open" is "open " or errors in your source data etc but we can not see from your post

    An attachment as per the yellow banner would help us solving your problem

  3. #3
    Valued Forum Contributor
    Join Date
    02-06-2013
    Location
    UK
    MS-Off Ver
    365
    Posts
    693

    Re: Count criteria multiple columns

    Don't reference the entire column but the usage range only.
    Either Excel is very slow or somewhere in the column, i.e. outside the subject data range, there may be numbers/text etc., which may throw SUMPRODUCT off.

+ 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. [SOLVED] Formula to count matches between multiple columns on different sheets w/ multiple criteria
    By RICK JAMES in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-05-2019, 03:28 PM
  2. Count which includes multiple columns including multiple criteria
    By Zou in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-27-2017, 10:43 AM
  3. Replies: 1
    Last Post: 02-09-2017, 05:55 PM
  4. Count w/multiple criteria across multiple columns - SUMPRODUCT, MATCH?
    By MrHoohah in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-23-2015, 05:23 PM
  5. Count Multiple columns and criteria
    By kevindub in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-19-2014, 03:28 PM
  6. Count or Sum multiple columns when the criteria is met
    By sarinky in forum Excel General
    Replies: 5
    Last Post: 02-09-2012, 12:55 AM
  7. Count instances of a string across multiple columns with multiple criteria
    By rpthoth in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-01-2012, 09:23 AM

Tags for this Thread

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