+ Reply to Thread
Results 1 to 9 of 9

COUNTIFS is not calculating correctly

Hybrid View

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

    Re: COUNTIFS is not calculating correctly

    When you spend too long looking at it, it becomes easy to miss things that you think should be obvious. If it's any consolation, I missed it the first time I went over it (and the second).

    If you add the extra parameter to the formula, i.e.

    =COUNTIFS('Renewal Chart'!$L:$L,"",'Renewal Chart'!$B:$B,$B25&"*",'Renewal Chart'!$I:$I,"<=" &EOMONTH(H$17,0),'Renewal Chart'!$I:$I,">" &EOMONTH(H$17,-1))

    Then that will count everything that falls into the month specified in H17, regardless of the day of month shown in column I.

    Or if you change the dates in column I so that they read as July 31 instead of July 20, then your original formula (Pre - John's edit) should work as it does with the other files.

    Personally I would go with the edited formula in all files as a failsafe for future discrepancies in the raw data.
    Last edited by jason.b75; 06-02-2016 at 02:04 PM.

+ 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] COUNTIFS - am I using it correctly?
    By paulstan in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-18-2015, 12:31 PM
  2. Excel COUNTIFS not counting data correctly
    By Linda Borza in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 08-21-2013, 09:19 PM
  3. [SOLVED] Formula not calculating correctly
    By ratboyab in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-29-2013, 06:35 PM
  4. Excel not calculating correctly
    By atakpajr in forum Excel General
    Replies: 3
    Last Post: 11-08-2011, 03:32 PM
  5. Macro not calculating correctly
    By theebookzoo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-24-2011, 11:30 AM
  6. sumproduct not calculating correctly
    By icee in forum Excel General
    Replies: 8
    Last Post: 06-11-2009, 06:11 PM
  7. Date Not calculating correctly
    By vbehler in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-18-2007, 05:01 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