+ Reply to Thread
Results 1 to 5 of 5

COUNTIFS Fuction returning wrong data

  1. #1
    Registered User
    Join Date
    01-05-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    24

    COUNTIFS Fuction returning wrong data

    I have a problem with a spreadsheet. The spreadsheet is a call log that keeps track of inbound/outbound calls per employee. I'm trying to keep a general calls tab that shows a monthly inbound/outbound calls summary per employee. The perimeters for the formula are: employee's last name, inbound/outbound, date range to show monthly results. The formula will return one value for an employee, but when I go to the tab and actually count, I get a different number. Any thoughts on why the countifs formula would be returning different numbers than what is actually listed?

    =COUNTIFS('Call Summary'!$C:$C,$A2,'Call Summary'!$H:$H,"inbound",'Call Summary'!$G:$G,"<="&DATE(2012,1,31),'Call Summary'!$G:$G,">="&DATE(2012,1,1))

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: COUNTIFS Fuction returning wrong data

    That looks correct. I would suggest making sure there are no typos for the employee names (including any spaces before or after the visible text). Do the same with the column H values (unless they are controlled by Data Validation).

  3. #3
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: COUNTIFS Fuction returning wrong data

    probably a data issue - leading or trailing spaces in the name or inbound/outbound, or dates stored as text, maybe.
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  4. #4
    Registered User
    Join Date
    01-05-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: COUNTIFS Fuction returning wrong data

    I figured it out! There was an issue with the date ranges because there were times included. I just needed to add the +TIME to the formula. I appreciate everyone's responses.

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: COUNTIFS Fuction returning wrong data

    I now see that this is a duplicate thread

    http://www.excelforum.com/excel-gene...rong-data.html

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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