What if the employee works in holidays or in weekends?

Prabhu_Churi

New Member
Joined
Oct 2, 2022
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
I have enclosed template for Utilization. What if the employee works in holidays or in weekends? how we can get the data in summary sheets.
Worked days will increase Can i get the separate column like as total comp offs(worked in Holidays and weekends) for each employees

Formula As Below-
IFERROR(@IF(C$7="","NA",IF(C$7<@INDEX(T_EMP[START DATE],ROW($B8)-ROW($B$7)),"NE",IF(AND(@INDEX(T_EMP[TERMINATION DATE],ROW($B8)-ROW($B$7))>0,C$7>@INDEX(T_EMP[TERMINATION DATE],ROW($B8)-ROW($B$7))),"NE",IF(NOT(ISERROR(MATCH(C$7,L_HOLS,0))),"H",IF(@INDEX(L_WKNDVAL,WEEKDAY(C$7,1))=1,"WKND",INDEX(T_LEAVE[LEAVE TYPE],SUMPRODUCT(--(T_LEAVE[EMPLOYEE NAME]=$B8),--(T_LEAVE[START DATE]<=C$7),--(T_LEAVE[END DATE]>=C$7),ROW(T_LEAVE[LEAVE TYPE]))-@ROW(T_LEAVE[#Headers]))))))),"")
 

Attachments

  • LMS_01.jpg
    LMS_01.jpg
    252.4 KB · Views: 26

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,223,966
Messages
6,175,662
Members
452,666
Latest member
AllexDee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top