我有一个公式,即每个月每个职位都有多少雇员,但现在要获得每个月职位每个雇员的工资。 这里使用的公式是计算部分。 我想有一个公式,即不计算每个月每个职位有多少雇员,而是要求每月工资。
=+COUNTIFS(
Employee Census Report !$O$2:$O$412, "<=" & Headcount Database !F$4,
Employee Census Report !$P$2:$P$412, "=" & "n/a",
Employee Census Report !$Q$2:$Q$412, "=" & Headcount Database !$E174,
Employee Census Report !$G$2:$G$412, "=" & Headcount Database !$E$172
) +
COUNTIFS(
Employee Census Report !$O$2:$O$412, "<=" & Headcount Database !F$4,
Employee Census Report !$P$2:$P$412, ">" & F$4,
Employee Census Report !$Q$2:$Q$412, "=" & Headcount Database !$E174,
Employee Census Report !$G$2:$G$412, "=" & Headcount Database !$E$172
)
https://i.stack.imgur.com/q9ENQ.png”rel=“nofollow noreferer”>Headcount Database
Below is the tab where the data comes from employee Census Report
......