+ Reply to Thread
Results 1 to 4 of 4

how to calculate that, how many days a employee worked

  1. #1
    Forum Contributor
    Join Date
    07-25-2019
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    2016
    Posts
    200

    how to calculate that, how many days a employee worked

    Hi Everyone
    from data base i need a information regarding a employees worked days count.
    a employee name show multiple time on a same date.
    how to count a employees working day as per date.
    i have attached a sample file for easy understanding

    thanks is advance
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,810

    Re: how to calculate that, how many days a employee worked

    Filter your range A1:B17 using the advanced Filter (on Data Tab) to find the unique entries. Placed in range H1:I12. Then in F2 =COUNTIF($I$2:$I$12,E2) and copy down.
    Attached Images Attached Images
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: how to calculate that, how many days a employee worked

    with a helpcolumn and a pivottable.

    see the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,776

    Re: how to calculate that, how many days a employee worked

    F2=IF($E2<>"",SUM(IF(FREQUENCY(IF($B$2:$B$100=$E2,IF($A$2:$A$100<>"",$A$2:$A$100)),A$2:$A$100),1)),"")

    Control+shift+enter

    copy down

+ 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. Replies: 2
    Last Post: 08-16-2017, 02:11 AM
  2. Creating an employee work schedule that will calculate time worked
    By Tlyke212 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 12-28-2015, 12:56 AM
  3. [SOLVED] Calculate Days Worked with Criteria
    By nickmessick1 in forum Excel General
    Replies: 2
    Last Post: 03-13-2015, 04:53 PM
  4. [SOLVED] Unable to count the number of days worked by each employee using pivot!
    By EricKamei in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 08-03-2014, 02:23 PM
  5. Replies: 0
    Last Post: 03-19-2013, 05:08 PM
  6. Replies: 2
    Last Post: 05-15-2009, 02:42 PM
  7. 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

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