仅当日期在特定范围内时,才运行Excel公式
我有一个适用于整列的公式。
我想运行相同的公式,但前提是C列在今天至今天的7天之间。
这是我的公式:
=(圆形(countif(grafabrication!o:o,“ 0”)/countif(grafabrication!o:o:o,“> -1”)*100,1)&“%”)
我只是无法弄清楚
I have a formula that works for an entire column.
I would like to run this same formula but ONLY if column C is between today and 7 days before today.
This is my formula :
=(ROUND(COUNTIF(graFabrication!O:O,"0")/COUNTIF(graFabrication!O:O,">-1")*100,1)&"%")
I just can't figure it out
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
所以这样做是因为您提供的数据太少了:
为了节省您的输入,这里是我创建为文本的公式,以便您可以复制:
然后,我无法测试这一点:
是您的已添加功能。
如果 7 天包含在内,您将需要大于或等于。
So did this as you provide so little data to work with:
To save you typing, here is the formula I created as text so you can copy:
Then, and this bit I cannot test:
Is your function added.
And if the 7 days is inclusive you will need greater than or equal to.