Results 1 to 9 of 9

Formula to extract Employee work schedule report from "date of hiring list"

Threaded View

ravikiran Formula to extract Employee... 10-13-2010, 02:30 AM
DonkeyOte Re: Need Help with Employee... 10-13-2010, 03:49 AM
ravikiran Re: Formula to extract... 10-13-2010, 04:14 AM
DonkeyOte Re: Formula to extract... 10-13-2010, 04:17 AM
ravikiran Re: Formula to extract... 10-13-2010, 05:47 AM
ravikiran Re: Formula to extract... 10-13-2010, 06:13 AM
DonkeyOte Re: Formula to extract... 10-13-2010, 06:18 AM
DonkeyOte Re: Formula to extract... 10-13-2010, 06:51 AM
ravikiran Re: Formula to extract... 10-13-2010, 05:56 PM
  1. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Need Help with Employee work schedule report

    First off - please remove "Need Help with" from your title - it adds no value and detracts from search facility

    You can do this with formulae if you want if you're prepared to use some lightweight helper calculations.

    First off I should point out initially there are some discrepancies in your sample:

    -- B8:B11 should be 09 rather than 10 I think

    -- I don't understand why in week 1 you show only one employee rather than two (#1 & #2) - if someone starts on a Monday surely they count in that week (ie #2)
    Attached is a basic example of a formula driven approach which reflects the following:

    to Data sheet we add the following calculations:

    Data!C2:
    =$B2+MOD(-WEEKDAY($B2,3),7)
    copied down (this gives us a Monday adjusted date)
    
    Data!D2:
    =SUM($D1,$A1<>"Service Stopped")
    copied down (this gives each Ee a unique incrementing ID number)
    With the above in place we can generate the results matrix

    On the Report sheet first we insert a new Row 1 (ie blank row above dates) then:

    Report!A1
    =IF(LOOKUP(A$2,Data!$C$2:$C$11,Data!$A$2:$A$11)="Service Stopped",0,LOOKUP(A$2,Data!$C$2:$D$11))
    copied across to R1 (this gives us count of active Ees in that week)
    
    Report!A3
    =IF(ROWS(A$3:A3)>A$1,"",LOOKUP(ROWS(A$3:A3),Data!$D$2:$D$11,Data!$A$2:$A$11))
    copied across matrix of say A3:R12 (this gives the Ee listings per week)
    The above is all possible given the Data sheet info. is sorted by Date Started column.
    Attached Files Attached Files

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