Forum Discussion

NoviceKB's avatar
NoviceKB
Brass Contributor
May 24, 2022
Solved

Please Help with complex conditional formula to determine headcounts per each month

Dear Team,   I find myself in a tight corner with excel today.   My GOAL: to be able to calculate the headcount (HC) in the company on a monthly basis. My intention for area highlighted blue with...
  • HansVogelaar's avatar
    May 24, 2022

    NoviceKB 

    In N2:

     

    =($J2<EOMONTH(N$1,0))*(IF($G2<>"",$G2,IF($K2<>"",$K2,DATE(2099,12,31)))>=N$1)*($I2<>"not EHQ HC")*($I2<>"EXTERNAL")

     

    Fill down, then to the right, or vice versa.

Resources