当搜索键都不在两个列中时
我有2列文件#数据,代表薪资周期中不同的几周。我也有2列的常规小时数据。我正在使用vlookup并总和将常规时间添加在一起,以在薪水期间接收小时。
=SUM(VLOOKUP($AI2,RICS_TimeClocks!O$2:S,4, FALSE) , VLOOKUP($AI2,RICS_TimeClocks!T$2:X,4, FALSE))
我的文件#和名称将每一列划为一个列,
=UNIQUE(FLATTEN(
但我现在的问题是,有些员工只在一个星期上工作,导致了一个
“在评估中找不到价值'____'...
任何建议,以便在仅有2个数据列之一中的一个信息时该公式可以起作用?例如,文件#43021仅在第二周工作,文件#43034仅在第一周工作,但我仍然希望能够计算和显示他们的总小时。
...还是更好的方法来匹配并将信息添加到另一个变平的信息列中?
I have 2 columns of File # data, representing different weeks in a payroll cycle. I also have 2 columns of Regular Hours data. I am using VLOOKUP and SUM to add the Regular Hours together to receive hours for the pay period.
=SUM(VLOOKUP($AI2,RICS_TimeClocks!O$2:S,4, FALSE) , VLOOKUP($AI2,RICS_TimeClocks!T$2:X,4, FALSE))
I have the File #s and Names flattened into one column each with
=UNIQUE(FLATTEN(
The issue I have now though, is that there are employees that only worked on one of the weeks, resulting in a
"Did not find value '____' in VLOOKUP evaluation"...
Any suggestions so that the formula can function when there is information in only one of 2 data columns? Example, File # 43021 only works in the second week, and File # 43034 only works in the first week, but I still want to be able to compute and display their total hours.
...or a better way to match and add the information into another flattened column of information?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试设置为零的IFNA:
try IFNA set to zero: