+ Reply to Thread
Results 1 to 4 of 4

Counting days worked

  1. #1
    Registered User
    Join Date
    05-26-2015
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    29

    Counting days worked

    Hello,

    I am trying to count the days worked for any given employee during a time period.
    The only catch is that multiple days can show up for the same employee and this is where I am stuck.

    Is there a way to only count the date once so it adds up to the correct number of work days?

    I have an example attached.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Counting days worked

    In H2, enter =SUM(IF(FREQUENCY(IF($A$2:$A$36=G2,$B$2:$B$36),IF($A$2:$A$36=G2,$B$2:$B$36))>0,1)) with Ctrl + Shift + Enter keys together.

  3. #3
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Counting days worked

    In H2, enter =SUM(IF(FREQUENCY(IF($A$2:$A$36=G2,$B$2:$B$36),IF($A$2:$A$36=G2,$B$2:$B$36))>0,1)) with Ctrl + Shift + Enter keys together.

  4. #4
    Registered User
    Join Date
    05-26-2015
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    29

    Re: Counting days worked

    Thanks! Worked like a charm!

+ 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] Average hours worked based on days worked during a pay cycle
    By jaycee66 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-14-2012, 06:27 PM
  2. Number of days worked
    By Dr.SUN in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-07-2010, 05:08 AM
  3. Sum of Days Worked?
    By ram0135 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-06-2008, 11:30 AM
  4. Replies: 9
    Last Post: 09-03-2007, 08:26 PM
  5. Counting days worked and Averaging Totals
    By lilbpaw in forum Excel General
    Replies: 16
    Last Post: 11-21-2006, 04:38 PM
  6. Counting the days worked in a month by employee
    By Curtis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-08-2005, 01:20 PM
  7. Counting te days worked in a month
    By Curtis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-07-2005, 01:10 PM
  8. [SOLVED] Counting days worked
    By anonymous person in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-22-2005, 04:06 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