Skip to main content
Member
June 7, 2026
Solved

Headcount calc in LIM WF Model

  • June 7, 2026
  • 2 replies
  • 23 views

Is there any way to calculate Headcount where I will use start Data and end date of Current period. If the difference is more than 1 then my HC is 1, I cannot use current period end date in Formula, 

I tried IIF (DateDiff(month, start date, Current Period)>1,1,0) but it is not giving me any result

Best answer by T_Kress

This works out-of-the-box in LIM as follows:

If you set up an account and formula as listed above, then here is how it appears upon calculation:

I have employees with varying start and end dates.  It only populates "1" for headcount for the periods that are => their start date and <= their end date.  That works out of the box.  If you want to do partial month headcount for mid-month starts, then that would be custom.

2 replies

T_Kress
T_KressAnswer
Contributor
June 7, 2026

This works out-of-the-box in LIM as follows:

If you set up an account and formula as listed above, then here is how it appears upon calculation:

I have employees with varying start and end dates.  It only populates "1" for headcount for the periods that are => their start date and <= their end date.  That works out of the box.  If you want to do partial month headcount for mid-month starts, then that would be custom.

Yogesh007Author
Member
June 8, 2026

Thanks for the reply, it works, we have applied formula in "Formula Name" itself.

Isn't it required to set the formula in space provided?