汇总表公式计数:未来60天

内容社区:

我不确定为什么我的公式是不正确的计数,但当我使用过滤器时,我得到12作为计数。见下文:

image.png


然而,我的表总结公式结果计数1。见下式:

=COUNTIFS(状态:状态,“2-In过程”,[完成日期(计划)]:[完成日期(计划)],>今天(60))

我翻转我的大于小于符号,看看这是不是我的问题,结果是19。

提前感谢您的帮助

答案

帮助文章资源欧宝体育app官方888

@BBIrr41<\/a> <\/p>

Try this:<\/p>

=AVG(COLLECT({Source 1}, {Source 2}, \"Closed\", {Source 3}, >=DATE(2021, 1, 1), {Source 3}, <=DATE(2021, 3, 31)))<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question","log":{"dateUpdated":"2022-09-30 20:52:39","updateUser":{"userID":150538,"name":"Preston P.","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Preston%20P.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/avatarstock\/nWVKDFTEFOKBN.png","dateLastActive":"2022-09-30T21:01:47+00:00","banned":0,"punished":0,"private":true,"label":"Employee Admin"}}},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":96105,"type":"question","name":"Sheet Summary formula to pull value of cell based on latest date","excerpt":"Hello Community - I've scoured the forum and can't find a solution for my particular situation. I have a sheet where I want a summary field to pull in the value in the CL Readmit VAR column based on the most recent date in the Modified column. The sheet will continue to populate rows from a form so I need the summary field…","categoryID":322,"dateInserted":"2022-09-30T16:05:58+00:00","dateUpdated":null,"dateLastComment":"2022-09-30T17:25:16+00:00","insertUserID":94581,"insertUser":{"userID":94581,"name":"Nate H","url":"https:\/\/community.smartsheet.com\/profile\/Nate%20H","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!zclY8_Wr1To!ZNlVWfX5Z7o!6eTqb2RjeNf","dateLastActive":"2022-09-30T17:42:36+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":94581,"lastUser":{"userID":94581,"name":"Nate H","url":"https:\/\/community.smartsheet.com\/profile\/Nate%20H","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!zclY8_Wr1To!ZNlVWfX5Z7o!6eTqb2RjeNf","dateLastActive":"2022-09-30T17:42:36+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":4,"countViews":33,"score":null,"hot":3329115074,"url":"https:\/\/community.smartsheet.com\/discussion\/96105\/sheet-summary-formula-to-pull-value-of-cell-based-on-latest-date","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/96105\/sheet-summary-formula-to-pull-value-of-cell-based-on-latest-date","format":"Rich","lastPost":{"discussionID":96105,"commentID":345549,"name":"Re: Sheet Summary formula to pull value of cell based on latest date","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/345549#Comment_345549","dateInserted":"2022-09-30T17:25:16+00:00","insertUserID":94581,"insertUser":{"userID":94581,"name":"Nate H","url":"https:\/\/community.smartsheet.com\/profile\/Nate%20H","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!zclY8_Wr1To!ZNlVWfX5Z7o!6eTqb2RjeNf","dateLastActive":"2022-09-30T17:42:36+00:00","banned":0,"punished":0,"private":false,"label":"✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/AK09Q0Y55U3I\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2022-09-30T17:25:24+00:00","dateAnswered":"2022-09-30T16:45:03+00:00","acceptedAnswers":[{"commentID":345536,"body":"

@Nate H<\/a> <\/p>

Try this:<\/p>

=INDEX(COLLECT([CL Readmit VAR]:[CL Readmit VAR], Modified:Modified, MAX(Modified:Modified)), 1)<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question","log":{"dateUpdated":"2022-09-30 17:25:24","updateUser":{"userID":94581,"name":"Nate H","url":"https:\/\/community.smartsheet.com\/profile\/Nate%20H","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!zclY8_Wr1To!ZNlVWfX5Z7o!6eTqb2RjeNf","dateLastActive":"2022-09-30T17:42:36+00:00","banned":0,"punished":0,"private":false,"label":"✭"}}},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":96096,"type":"question","name":"Shortcut for nested IF function","excerpt":"I am tying columns together in a sheet so that when the user selects a product from a dropdown from a cell, it will automatically populate the product's manufacturer. I can do this using the following: =IF([Product Description]@row = \"Product 1\", \"Company 1\", IF([Product Description]@row = \"Product 2\", \"Company 2\",…","categoryID":322,"dateInserted":"2022-09-30T14:35:02+00:00","dateUpdated":null,"dateLastComment":"2022-09-30T17:42:26+00:00","insertUserID":153039,"insertUser":{"userID":153039,"name":"tmckivergan","url":"https:\/\/community.smartsheet.com\/profile\/tmckivergan","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-09-30T17:39:46+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":153039,"lastUser":{"userID":153039,"name":"tmckivergan","url":"https:\/\/community.smartsheet.com\/profile\/tmckivergan","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-09-30T17:39:46+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":42,"score":null,"hot":3329110048,"url":"https:\/\/community.smartsheet.com\/discussion\/96096\/shortcut-for-nested-if-function","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/96096\/shortcut-for-nested-if-function","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":96096,"commentID":345552,"name":"Re: Shortcut for nested IF function","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/345552#Comment_345552","dateInserted":"2022-09-30T17:42:26+00:00","insertUserID":153039,"insertUser":{"userID":153039,"name":"tmckivergan","url":"https:\/\/community.smartsheet.com\/profile\/tmckivergan","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-09-30T17:39:46+00:00","banned":0,"punished":0,"private":false,"label":"✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2022-09-30T17:42:00+00:00","dateAnswered":"2022-09-30T17:02:39+00:00","acceptedAnswers":[{"commentID":345543,"body":"

You will want to do a VLOOKUP to another sheet that maintains these relationships of Product to Company. For example lets create a second sheet with two columns called \"Product to Company\"<\/p>

Products     Company\n----------------------\nProduct 1    Company 1\nProduct 2    Company 2\nProduct 3    Company 1\nProduct 4    Company 2\nProduct 5    Company 5\n<\/pre>

Now in your original sheet use the formula: <\/p>

=VLOOKUP(Product@row, {Product to Company Range 1}, 2, false)\n<\/pre>

Notes: <\/p>