股票的后续

大家好!

为了改善我们的仓库,我们正在进行库存跟踪。


它是这样工作的:

当有人从库存中取某物时,他们会填写一张表格并勾选“使用某物”。如果他们带了什么东西回来,他们也会填写表格并勾选“带回来”框。

在“剩余数量”栏中计算库存的数量。如果勾选了“使用某物”,数量将从库存中扣除,如果勾选了“带回”复选框,数量将添加到库存中。

我们希望以某种方式看到,如果从同一个人取回的太少,行就变成红色,或者只有一个通知。


问题:

在Smartsheet中是否有办法查看同一个人带回来的太少?有什么公式吗?欢迎提出任何建议!


“剩余数量”栏的公式:=SUMIFS([所取数量]:[所取数量];ob欧宝娱乐app手机下载产品:产品;(电子邮件保护);(恢复)(恢复):;1) - SUMIFS([所取金额]:[所取金额];ob欧宝娱乐app手机下载产品:产品;(电子邮件保护);[使用]:[使用];1)


参见下面的表格截图。在“INPUT”下面显示表单的信息。


提前谢谢!


亲切的问候,

仓库明日世界

内容screenshot.png
截图smartsheet.png


答案

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

you don't need the equals sign after your type of media range, you need a comma to distinguish the criterion range from the criteria<\/p>

it should look like this<\/p>

=SUMIFS([Total Pieces of Media]:[Total Pieces of Media], [Type of Media]:[Type of Media] ,\"Still\", [Current \/ Upcoming (USC\/NARA)]:[Current \/ Upcoming (USC\/NARA)], ISBLANK(@cell))<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question","log":{"dateUpdated":"2022-09-21 21:41:20","updateUser":{"userID":122484,"name":"Olivia Doiron","url":"https:\/\/community.smartsheet.com\/profile\/Olivia%20Doiron","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!!meFQPnRXLno!HgjXX29LlqY!R2PknPxzi18","dateLastActive":"2022-09-21T21:38:01+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":95652,"type":"question","name":"IF formula with AND OR nested","excerpt":"Hello, I'm attempting to create a formula that will determine if one or both options have been selected in a dropdown and assign that a numerical value. What I have now is =IF(OR([Communications provider]@row = \"Provider A\", [Communications provider]@row = \"Provider B\", AND([Communications provider]@row = \"Provider A\",…","categoryID":322,"dateInserted":"2022-09-21T14:28:52+00:00","dateUpdated":null,"dateLastComment":"2022-09-21T17:19:53+00:00","insertUserID":152599,"insertUser":{"userID":152599,"name":"ssuddendorf","url":"https:\/\/community.smartsheet.com\/profile\/ssuddendorf","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!pDPQqTzVqv4!HaNS34Tvl7o!Cokx6ZB0Asa","dateLastActive":"2022-09-21T21:25:22+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":112221,"lastUser":{"userID":112221,"name":"Kelly Moore","url":"https:\/\/community.smartsheet.com\/profile\/Kelly%20Moore","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!jnPa4zng1Pw!n1lbH6Wxgbo!UbxYNkVsKJw","dateLastActive":"2022-09-21T17:03:57+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":4,"countViews":45,"score":null,"hot":3327553725,"url":"https:\/\/community.smartsheet.com\/discussion\/95652\/if-formula-with-and-or-nested","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/95652\/if-formula-with-and-or-nested","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":95652,"commentID":344280,"name":"Re: IF formula with AND OR nested","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/344280#Comment_344280","dateInserted":"2022-09-21T17:19:53+00:00","insertUserID":112221,"insertUser":{"userID":112221,"name":"Kelly Moore","url":"https:\/\/community.smartsheet.com\/profile\/Kelly%20Moore","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!jnPa4zng1Pw!n1lbH6Wxgbo!UbxYNkVsKJw","dateLastActive":"2022-09-21T17:03:57+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-21T15:14:42+00:00","dateAnswered":"2022-09-21T14:45:42+00:00","acceptedAnswers":[{"commentID":344234,"body":"

Hey @ssuddendorf<\/a> <\/p>

Try this<\/p>

IF(OR(NOT(CONTAINS(\"Provider A\", [Communications provider]@row)), NOT(CONTAINS(\"Provider B\", [Communication provider]@row))), 1)<\/p>

I chose the CONTAINS function to help in a multi select field. I also could have used the HAS function. I did not bother to include the zero false option in this case because it is the same thing as doing nothing - it will leave a blank cell.<\/p>

Does this work for you?<\/p>

Kelly<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question","log":{"dateUpdated":"2022-09-21 15:14:42","updateUser":{"userID":152599,"name":"ssuddendorf","url":"https:\/\/community.smartsheet.com\/profile\/ssuddendorf","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!pDPQqTzVqv4!HaNS34Tvl7o!Cokx6ZB0Asa","dateLastActive":"2022-09-21T21:25:22+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":[{"tagID":254,"urlcode":"Formulas","name":"Formulas"}]},{"discussionID":95651,"type":"question","name":"What do these formulas mean?","excerpt":"A metrics sheet was designed for my group with the following formulas embedded in the cells. I understand all except the $10. The reference links to the status column of a tracking sheet along with the program manager's name. Also, this formula links back to the same sheet. Any assistance you can provide is appreciated!","categoryID":322,"dateInserted":"2022-09-21T14:13:09+00:00","dateUpdated":null,"dateLastComment":"2022-09-21T14:25:18+00:00","insertUserID":152228,"insertUser":{"userID":152228,"name":"Rocky","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Rocky","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-09-21T18:55:09+00:00","banned":0,"punished":0,"private":true,"label":"✭"},"updateUserID":null,"lastUserID":152228,"lastUser":{"userID":152228,"name":"Rocky","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Rocky","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-09-21T18:55:09+00:00","banned":0,"punished":0,"private":true,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":23,"score":null,"hot":3327541707,"url":"https:\/\/community.smartsheet.com\/discussion\/95651\/what-do-these-formulas-mean","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/95651\/what-do-these-formulas-mean","format":"Rich","lastPost":{"discussionID":95651,"commentID":344229,"name":"Re: What do these formulas mean?","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/344229#Comment_344229","dateInserted":"2022-09-21T14:25:18+00:00","insertUserID":152228,"insertUser":{"userID":152228,"name":"Rocky","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Rocky","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-09-21T18:55:09+00:00","banned":0,"punished":0,"private":true,"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\/CZOTIY8B6NBR\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2022-09-21T14:37:00+00:00","dateAnswered":"2022-09-21T14:25:18+00:00","acceptedAnswers":[{"commentID":344228,"body":"

Hey @Rocky<\/a> <\/p>

The $10 is designating a specific row (row 10) in the sheet. It is looking at row 10 of the Value column on this sheet to match against the Status range on your other sheet.<\/p>

The COUNTIFS says<\/p>

COUNT your other sheet rows When a row Matches Row10 of Value column from metrics sheet to Status column of the sheet and the Program range (column) of other sheet also matches your Metrics value at row.<\/p>

Does that help?<\/p>

Kelly<\/p>"},{"commentID":344229,"body":"

Thanks. I'll need to understand what is meant by the absolute value of 10 in both formulas<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question","log":{"dateUpdated":"2022-09-21 14:36:55","updateUser":{"userID":152228,"name":"Rocky","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Rocky","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-09-21T18:55:09+00:00","banned":0,"punished":0,"private":true,"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":[]}],"title":"Trending in Formulas and Functions ","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">