Forum Discussion

Osvaldo Panguane's avatar
Osvaldo Panguane
Copper Contributor
Jul 06, 2018

Calculate hours Percentage of different employees with variable total (long employees list)

Hi all,

Is there anyone who can help me to overcome this issue.

I have a large employees list and I would like to Calculate hours Percentage of different employees with variable total.

Employee NameProjectRegular Hours%Overtime Hours
     
Abreu, Solange (MZ0180)    
 MZ1603.MZ.0004.FPRH152.00 0.00
 MZ1603.MZ.0009.FPRH16.00 0.00
Employee Totals: 168.00 0.00
Alfredo, Geremias (MZ0228)    
 MZ1501.MZ.0001.0000.0327.00 0.00
 MZ1501.MZ.0001.0000.0429.00 0.00
 MZ1603.MZ.0009.CORE115.00 0.00
Employee Totals: 171.00 0.00
Alfredo, Santos (MZ0122)    
 LEAVE1.SICK80.00 0.00
 MZ1603.MZ.0009.CORE88.00 0.00
Employee Totals: 168.00 0.00
Antiname, Amisse (MZ0127)    
 MZ1603.MZ.0004.FPRH152.00 0.00
 MZ1603.MZ.0009.FPRH24.00 0.00
Employee Totals: 176.00 0.00
Armando, Lurdes (MZ0008)    
 MZ1501.MZ.0002.0000.030.00 0.00
 MZ1501.MZ.0002.0000.0452.00 0.00
 MZ1503.MZ116.00 0.00
Employee Totals: 168.00 0.00
Arone, Nilza (MZ0195)    
 SHARED.MZ168.00 0.00
Employee Totals: 168.00 0.00
Assumane, Agostinho (MZ0023)    
 LEAVE1.VACA8.00 0.00
 MZ1501.MZ.0001.0000.030.00 0.00
 MZ1501.MZ.0001.0000.04142.00 0.00
 MZ1501.MZ.0002.0000.030.00 0.00
 MZ1501.MZ.0002.0000.049.00 0.00
 MZ1701.MZ9.00 0.00
Employee Totals: 168.00 0.00
Avelino, Elias (MZ0181)    
 MZ1603.MZ.0004.FPRH150.00 0.00
 MZ1603.MZ.0006.FPRH16.00 0.00
 MZ1603.MZ.0009.FPRH8.00 0.00
Employee Totals: 174.00 0.00



 

I would appreciate your support,

Thanks,

  • Matt Mickle's avatar
    Matt Mickle
    Jul 24, 2018

    Please see screenshot for reference.  I would try using an Hlookup with a few reference numbers that are set up based on the number of repetitions:

     

    =HLOOKUP(I8,$E$9:$G$10,2,TRUE)

     

Resources