黄色RAG公式:在2个数字之间(大于小于)
问候Smartsheet社区:
我需要在我的公式中添加一个范围-9 & -1变成黄色。谢谢
当前的公式:
=IF(或([附表差异]@row > 0,[附表差异]@row = 0), "绿色",IF([附表差异]@row <= -10, "红色")))
最好的答案
答案
-
杰森的杜 ✭✭✭✭✭✭
=IF([附表差异]@row >= 0, "绿色",IF([附表差异]@row <= -10, "红色","黄色"))
-
Kaleb ✭
这是有效的,但我忘记添加如果日程变化是空白/空,那么结果应该是灰色的。
我的尝试失败了:
=IF([时间表差异]@row >= 0, "绿色",IF([时间表差异]@row <= -10, "红色","黄色",IF(ISBLANK([时间表差异]@row, "灰色"))))
-
杰森的杜 ✭✭✭✭✭✭
试试这个。我通常会先在嵌套的IF中检查ISBLANK,然后检查Schedule Variance的条件。IF语句中的逻辑可能有点奇怪,需要一些练习。我建议在他们的在线帮助中阅读IF函数。
对于IF语句和正在使用的任何其他函数(如ISBLANK),都必须小心括号的位置。
=IF(ISBLANK([附表差异]@row), "灰色",IF([附表差异]@row >= 0, "绿色",IF([附表差异]@row <= -10, "红色","黄色"))))
-
Kaleb ✭
太好了,成功了!谢谢
帮助文章参考资料欧宝体育app官方888
类别
=IF(Blocked@row = 1, \"Red\", IF([Defect Identified]@row = 1, \"Blue\", IF(Status@row = \"Done\", \"Green\", IF(OR(Status@row = \"Backlog\", Status@row = \"Next\", Status@row = \"Analysis\", Status@row = \"Building\/Redacting\", Status@row = \"Review\"), \"Yellow\"))))<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question","log":{"dateUpdated":"2022-10-13 23:31:30","updateUser":{"userID":150287,"name":"Josue RQ","url":"https:\/\/community.smartsheet.com\/profile\/Josue%20RQ","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-10-13T23:30:18+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":96541,"type":"question","name":"Countifs formula","excerpt":"Hi, I want count where date column is not blank and country is Australia. Example is below where Smartsheet completion is not blank and country is Australia so need to calculate count of dates. How to write Countifs formula with not blank as criteria. Have tried following formula but it shows error: =countifs([Smartsheet…","categoryID":322,"dateInserted":"2022-10-13T16:40:35+00:00","dateUpdated":null,"dateLastComment":"2022-10-14T03:51:02+00:00","insertUserID":132419,"insertUser":{"userID":132419,"name":"Kamya Pamnani","url":"https:\/\/community.smartsheet.com\/profile\/Kamya%20Pamnani","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-10-14T06:12:27+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"updateUserID":null,"lastUserID":132419,"lastUser":{"userID":132419,"name":"Kamya Pamnani","url":"https:\/\/community.smartsheet.com\/profile\/Kamya%20Pamnani","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-10-14T06:12:27+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":19,"score":null,"hot":3331399897,"url":"https:\/\/community.smartsheet.com\/discussion\/96541\/countifs-formula","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/96541\/countifs-formula","format":"Rich","lastPost":{"discussionID":96541,"commentID":347150,"name":"Re: Countifs formula","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/347150#Comment_347150","dateInserted":"2022-10-14T03:51:02+00:00","insertUserID":132419,"insertUser":{"userID":132419,"name":"Kamya Pamnani","url":"https:\/\/community.smartsheet.com\/profile\/Kamya%20Pamnani","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-10-14T06:12:27+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-10-14T03:50:22+00:00","dateAnswered":"2022-10-13T16:59:36+00:00","acceptedAnswers":[{"commentID":347083,"body":"
Hi @Kamya Pamnani<\/a> <\/p> I hope you're well and safe!<\/p> Try something like this.<\/p> =countifs([Smartsheet Completion]:[Smartsheet Completion],<>\"//www.santa-greenland.com/community/discussion/comment/\", Country:Country, \"Australia\")<\/p> Did that work\/help? <\/p> I hope that helps!<\/p> Be safe, and have a fantastic week!<\/p> Best,<\/p> Andrée Starå<\/strong><\/a> | Workflow Consultant \/ CEO @ WORK BOLD<\/strong><\/a><\/p> ✅Did my post(s) help or answer your question or solve your problem? Please support the Community by <\/em>marking it Insightful\/Vote Up, Awesome, or\/and as the accepted answer<\/em><\/strong>. It will make it easier for others to find a solution or help to answer!<\/em><\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question","log":{"dateUpdated":"2022-10-14 03:50:23","updateUser":{"userID":132419,"name":"Kamya Pamnani","url":"https:\/\/community.smartsheet.com\/profile\/Kamya%20Pamnani","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-10-14T06:12:27+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":96542,"type":"question","name":"Formula to Extract a Full Name and Title, into Separate Columns \"First\" \"Last\" \"Title\"","excerpt":"I have a long list of full names in the \"Full Name\" Column. They need to be broken out into 3 separate columns \"First Name\" \"Last Name\" and \"Title\" Example shown in the screen shot below. Is there a formula I can use to extract this for each column? \"First Name\" I've been using: =MID([Full Name]@row, FIND(\" \", [Full…","categoryID":322,"dateInserted":"2022-10-13T16:43:45+00:00","dateUpdated":"2022-10-13T16:46:31+00:00","dateLastComment":"2022-10-13T19:08:00+00:00","insertUserID":151942,"insertUser":{"userID":151942,"name":"Mr. Chris","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Mr.%20Chris","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!whMpfxJ9ufo!WjtcnxI6WTs!jr1kEy1BcZv","dateLastActive":"2022-10-14T00:00:17+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":151942,"lastUserID":151942,"lastUser":{"userID":151942,"name":"Mr. Chris","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Mr.%20Chris","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!whMpfxJ9ufo!WjtcnxI6WTs!jr1kEy1BcZv","dateLastActive":"2022-10-14T00:00:17+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":4,"countViews":44,"score":null,"hot":3331369905,"url":"https:\/\/community.smartsheet.com\/discussion\/96542\/formula-to-extract-a-full-name-and-title-into-separate-columns-first-last-title","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/96542\/formula-to-extract-a-full-name-and-title-into-separate-columns-first-last-title","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":96542,"commentID":347114,"name":"Re: Formula to Extract a Full Name and Title, into Separate Columns \"First\" \"Last\" \"Title\"","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/347114#Comment_347114","dateInserted":"2022-10-13T19:08:00+00:00","insertUserID":151942,"insertUser":{"userID":151942,"name":"Mr. Chris","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Mr.%20Chris","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!whMpfxJ9ufo!WjtcnxI6WTs!jr1kEy1BcZv","dateLastActive":"2022-10-14T00:00:17+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\/PUQIYAA2H27P\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2022-10-13T19:06:55+00:00","dateAnswered":"2022-10-13T17:39:11+00:00","acceptedAnswers":[{"commentID":347097,"body":"