+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : COUNTIFS with multiple criteria generates a zero value

  1. #1
    Registered User
    Join Date
    10-25-2010
    Location
    Toronto
    MS-Off Ver
    Excel 2016
    Posts
    24

    COUNTIFS with multiple criteria generates a zero value

    My formula to count the number of employees just based on date seems to work but if I use multiple criteria I get an incorrect number - see highlighted cell in sheet titled Calculations(2).
    I need to calculate based on Active status, hourly or salary and before the date in Col A of sheet titled Calculations(2)
    I am trying to add up total compensation based on the same parameters of Active status, Function (col A) and whether salary or hourly. I am able to get the sum if all data is included (whether active or not) but not if I include any additional parameters.
    Thanks in advance,
    USurrao
    Attached Files Attached Files

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: COUNTIFS with multiple criteria generates a zero value

    The formula should be:
    =COUNTIFS('Employee Data'!$C$3:$C$20,"<"&A3,'Employee Data'!$I$3:$I$20,"=Active",'Employee Data'!$M$3:$M$20,"=Hourly")
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    10-25-2010
    Location
    Toronto
    MS-Off Ver
    Excel 2016
    Posts
    24

    Re: COUNTIFS with multiple criteria generates a zero value

    Thanks a million, it worked perfectly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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