+ Reply to Thread
Results 1 to 4 of 4

COUNTIFS function returning 0 when filtering between dates

Hybrid View

KONG1 COUNTIFS function returning 0... 10-21-2014, 07:47 AM
Jonmo1 Re: COUNTIFS function... 10-21-2014, 08:05 AM
KONG1 Re: COUNTIFS function... 10-21-2014, 08:44 AM
Jonmo1 Re: COUNTIFS function... 10-21-2014, 10:48 AM
  1. #1
    Registered User
    Join Date
    08-06-2013
    Location
    Belfast
    MS-Off Ver
    Excel 2003
    Posts
    7

    COUNTIFS function returning 0 when filtering between dates

    Hi all,

    I am using the following formula to try and count the number of instances people said 'yes' from a particular group between particular dates.

    =COUNTIFS(DATE!$E:$E, ">="&Sheet1!$L$3, DATE!$E:$E, "<="&Sheet1!$L$4, GroupName!$D:$D, "TEXT", ANSWER!G:G, "Yes")

    the dates in cell L3 ad L4 are entered as 1/4/13 and 30/9/14.

    I am constantly getting a '0' result. If I take out the <= criteria and range than I get a result but one that is much higher than if I filter the results myself and count them.

    Please can someone advise what might be wrong with the formula to be producing these inaccurate or '0' figures.

    Many thanks,

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

    Re: COUNTIFS function returning 0 when filtering between dates

    What do these return?

    =ISNUMBER(L3)
    =ISNUMBER(L4)

    And
    =ISNUMBER(DATE!E1) - and filled down to end of data.


    Maybe you could post a sample book?

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    08-06-2013
    Location
    Belfast
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: COUNTIFS function returning 0 when filtering between dates

    Hi,

    Thanks for the help.

    I have resolved it now. Stupid error on my part - I was entering the dates as 1/4/14 when it should have been 4/1/14 according to the correct format.

    Thanks for the quick response!

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

    Re: COUNTIFS function returning 0 when filtering between dates

    You're welcome.

+ 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 returning value error
    By ammartino44 in forum Excel General
    Replies: 2
    Last Post: 10-03-2014, 06:22 PM
  2. [SOLVED] Struggling with COUNTIFS function returning 0 when value expected
    By vbalearnerdriver in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 07-03-2014, 06:32 AM
  3. COUNTIFs formula returning a #VALUE!
    By GanbareGoemon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-27-2014, 10:46 AM
  4. [SOLVED] COUNTIFS returning #VALUE!
    By photoryan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-18-2013, 01:07 AM
  5. [SOLVED] COUNTIFS Function returning wrong data
    By christopherw34 in forum Excel General
    Replies: 8
    Last Post: 05-02-2012, 12:29 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