+ Reply to Thread
Results 1 to 2 of 2

Count cells matching across multiple ranges with multiple criteria ignore blanks & errors

  1. #1
    Registered User
    Join Date
    07-05-2016
    Location
    Glasgow, Scotland
    MS-Off Ver
    2010
    Posts
    1

    Red face Count cells matching across multiple ranges with multiple criteria ignore blanks & errors

    HELP Please, Excel experts!!

    I am completely stumped by this one.

    I have an extensive workbook with a number of formulas calculating across the sheets - there are 4 'data input' sheets and a front 'summary' sheet which displays performance information.

    On this front summary sheet I want to count the number of cells which match across multiple ranges with multiple criteria in one of the sheets.

    Column A - Column B - Column C - Column D - Column E - Column F
    Date Received - Shift Date - Date to be filled - Date Filled - Time to be filled - Time Filled
    04/07/16 - 04/07/16 - 04/07/16 - 04/07/16 - 17:00 - 15:30
    04/07/16 - 07/07/16 - 04/07/16 - 05/07/16 - 14:00 - 16:00
    05/07/16 - 22/07/16 - 07/07/16 - 07/07/16 - 17:00 - 11:00
    05/07/16 - 07/07/16 - 05/07/16 - [BLANK] - 14:30 - [BLANK]
    [BLANK] - [BLANK] - #VALUE! - [BLANK] - #VALUE! - [BLANK]
    [BLANK] - [BLANK] - #VALUE! - [BLANK] - #VALUE! - [BLANK]
    [BLANK] - [BLANK] - #VALUE! - [BLANK] - #VALUE! - [BLANK]
    [BLANK] - [BLANK] - #VALUE! - [BLANK] - #VALUE! - [BLANK]


    Basically I need a formula to count the number of cells which match criteria across these types of ranges:

    IF the 'Shift Date' = the 'Date Received', AND 'Date Filled' = the 'Date to be Filled', AND 'Time Filled' <= 'Time to be Filled' then count 1. As you can see the entire sheet has blanks and formulas calculating in the background in the ranges I am using. The formula I have tried is

    =SUMPRODUCT(--NOT(ISERR('Bield Temp Tracker Jul-Sep 16'!B7:B500='Bield Temp Tracker Jul-Sep 16'!A7:A500)),SUMPRODUCT(--NOT(ISERR('Bield Temp Tracker Jul-Sep 16'!D7:D500='Bield Temp Tracker Jul-Sep 16'!C7:C500)),SUMPRODUCT(--NOT(ISERR('Bield Temp Tracker Jul-Sep 16'!F7:F500<='Bield Temp Tracker Jul-Sep 16'!E7:E500)))))

    But get #VALUE! ?????

    Am I using completely wrong formula type or just missing a few thing? - Any help would be greatly appreciated!!

    Thank you in advance

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Count cells matching across multiple ranges with multiple criteria ignore blanks & err

    Easier to do with a helper column.

    In G2

    =IFERROR(--AND(A2=B2,C2=D2,E2<=F2),0)

    Fill that down, then sum the column.

+ 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. Replies: 11
    Last Post: 06-30-2016, 07:07 PM
  2. Ignore Blanks for INDEX/MATCH with multiple criteria search
    By Stephen23 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-15-2015, 09:14 AM
  3. Multiple cells, multiple sheets, multiple criteria matching
    By Drudnits1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-17-2014, 12:12 PM
  4. Replies: 6
    Last Post: 03-14-2013, 03:48 PM
  5. Count Multiple Criteria within Multiple Date Ranges
    By E6BAV8R in forum Excel General
    Replies: 3
    Last Post: 12-08-2010, 05:06 PM
  6. Count first entries (ignore duplicates) against multiple criteria
    By Bazza in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-28-2008, 11:44 AM
  7. Ignore errors when calculation average of multiple ranges
    By joshkraemer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-13-2006, 06:30 PM

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