Hello everybody, I would like to automatize the calculation of monthly headcount by taking into account the montlhy entries and the exits. The results need to be groupped by Activities, Regions, Countries and Societies
Description of my file :
Columns :
ID of the worker
Activity
Zone contract
Region
Country
Society
Contract start date (ex format : 08/04/2021 02:00:00)
Contract end date (ex format : 12/01/2020 01:00:00)
At the end, I would like to obtain this kind of table with :
- the headcount by month ( 12 months)
- the number of entries by month
- the number of exits by month
My objective is to be able to compare the monthly headcount with the montly entries and montlhy exits like this (with Tableau software) :
This is important for me, I am an intern. I have tried many procedures (select count, iif, case when etc...) but i couldn't get the result obtained with Excel using COUNT.IFS
Thanks you all in advance for your help.