Want to practice working with formulas directly in Smartsheet?

Check out theFormula Handbook templateto view 100+ formulas, including a glossary of every function and examples of commonly used and advanced formulas.
❓️Product questions
Sign in andask it here!The community's got your back.

Wondering if there’s a problem?
Check out theStatus Pageand subscribe for notifications.

Check what Support you have access to based on your Plan
Overview of Smartsheet support hours and resources

Share your knowledge!
Help others byanswering questions.

Formulas and Functions

Stumped by a formula? Ask for help or find examples to see how others use a formula to solve a similar problem.

Discussion List

1,1,0) . The problem is that this doesn't work for…","categoryID":322,"dateInserted":"2021-01-07T21:46:36+00:00","dateUpdated":null,"dateLastComment":"2021-01-13T00:20:17+00:00","insertUserID":130428,"insertUser":{"userID":130428,"name":"Eric Busse","url":"https:\/\/community.smartsheet.com\/profile\/Eric%20Busse","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!wSvAsL7h0Pw!pOlBKWLyqbo!mu8v4UriiSw","dateLastActive":"2021-01-13T00:55:49+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":126171,"lastUser":{"userID":126171,"name":"Mark Cronk","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Mark%20Cronk","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/9UVGVH5TN00I\/nO060PSRF4UVU.jpg","dateLastActive":"2023-05-10T19:07:03+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":8,"countViews":173,"score":null,"hot":8,"url":"https:\/\/community.smartsheet.com\/discussion\/74630\/is-it-possible-to-flag-duplicates-when-the-data-starts-with-a-0-zero","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/74630\/is-it-possible-to-flag-duplicates-when-the-data-starts-with-a-0-zero","format":"Rich","groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2021-01-12T22:16:39+00:00","dateAnswered":"2021-01-12T00:53:41+00:00","acceptedAnswers":[]}},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"tags":[],"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}]},{"discussionID":74764,"type":"question","name":"Formula Help","excerpt":"Not the greatest at creating formulas so I am looking for some assistance on this one. =IF(CONTAINS(\"0\", [Product Categories selected]@row:[Keyword field filled]@row), \"Complete\", \"Incomplete\") Here is what I am looking to do: If the four columns are all \"O\" then mark the status of Incomplete but if all four columns are…","categoryID":322,"dateInserted":"2021-01-12T22:16:54+00:00","dateUpdated":null,"dateLastComment":"2021-01-12T22:43:51+00:00","insertUserID":119359,"insertUser":{"userID":119359,"name":"Manuel Lemus","url":"https:\/\/community.smartsheet.com\/profile\/Manuel%20Lemus","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!4RDP-MieUZQ!pqtMaRTZvro!NQoUb2fCEd8","dateLastActive":"2023-06-20T22:53:16+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"},"updateUserID":null,"lastUserID":119359,"lastUser":{"userID":119359,"name":"Manuel Lemus","url":"https:\/\/community.smartsheet.com\/profile\/Manuel%20Lemus","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!4RDP-MieUZQ!pqtMaRTZvro!NQoUb2fCEd8","dateLastActive":"2023-06-20T22:53:16+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":4,"countViews":53,"score":null,"hot":4,"url":"https:\/\/community.smartsheet.com\/discussion\/74764\/formula-help","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/74764\/formula-help","format":"Rich","groupID":null,"statusID":3,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/EUQBN3RHVNB7\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2021-01-12T22:43:07+00:00","dateAnswered":"2021-01-12T22:39:40+00:00","acceptedAnswers":[]}},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"tags":[{"tagID":254,"urlcode":"Formulas","name":"Formulas"}],"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}]},{"discussionID":74760,"type":"question","name":"Sumif\/Sumifs question","excerpt":"I have a sheet that lists the number of awards that have been issued since the inception of the program. I want to create a report that breaks it out by year, award level (there are 3 different levels), and sum the total of that level. I have it by year, but adding the level I have not been able to figure out. Can someone…","categoryID":322,"dateInserted":"2021-01-12T21:37:40+00:00","dateUpdated":null,"dateLastComment":"2021-01-12T21:47:26+00:00","insertUserID":127769,"insertUser":{"userID":127769,"name":"Dale Callaway","url":"https:\/\/community.smartsheet.com\/profile\/Dale%20Callaway","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!7A9V-1NeRnw!7yDUu-9jQ-Y!E3f92JewteF","dateLastActive":"2022-04-06T21:46:16+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭"},"updateUserID":null,"lastUserID":21226,"lastUser":{"userID":21226,"name":"Jason Tarpinian","url":"https:\/\/community.smartsheet.com\/profile\/Jason%20Tarpinian","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-14T13:11:04+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":1,"countViews":62,"score":null,"hot":1,"url":"https:\/\/community.smartsheet.com\/discussion\/74760\/sumif-sumifs-question","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/74760\/sumif-sumifs-question","format":"Rich","groupID":null,"statusID":2,"attributes":{"question":{"status":"answered","dateAccepted":null,"dateAnswered":null,"acceptedAnswers":[]}},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"tags":[{"tagID":254,"urlcode":"Formulas","name":"Formulas"}],"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}]}],"title":null,"subtitle":null,"description":null,"viewAllUrl":null,"isMainContent":true,"noCheckboxes":false}">

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the公式手册模板!
Hey @decrom<\/a> <\/p>

Try this and see if it produces the expected result. Please be sure to test one 'In Process' with ZERO 'Untrained'. Was this what you expected?<\/p>

=IF(COUNT(CHILDREN(Proficiency@row)) > 0, IF(COUNT(CHILDREN(Proficiency@row)) = COUNTIFS(CHILDREN(Proficiency@row), \"Untrained\"), \"Untrained\", IF(AND(COUNTIFS(CHILDREN(Proficiency@row), \"Untrained\") >= 1, COUNT(CHILDREN(Proficiency@row)) > COUNTIFS(CHILDREN(Proficiency@row), \"Untrained\")), \"In Progress\", IF(COUNTIFS(CHILDREN(Proficiency@row), \"In Process\") >= 1, \"In Process\", IF(COUNTIFS(CHILDREN(Proficiency@row), \"Trained\") >= 1, \"Trained\", IF(COUNTIFS(CHILDREN(Proficiency@row), \"Proficient\") >= 1, \"Proficient\", IF(COUNTIFS(CHILDREN(Proficiency@row), \"Preceptor\") >= 1, \"Preceptor\")))))))<\/p>

Please let me know what we need to tweak<\/p>

Kelly<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"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":107647,"type":"question","name":"Formula help","excerpt":"Can someone help me with this formula. Right now it works correctly only when a date is in the warranty start column. However when there is no date in the warranty start date column is says invalid data type. So I think I am missing some command with \"//www.santa-greenland.com/community/categories/formulas-and-functions/\" but now sure where or how it should be written. Thanks","snippet":"Can someone help me with this formula. Right now it works correctly only when a date is in the warranty start column. However when there is no date in the warranty start date…","categoryID":322,"dateInserted":"2023-07-15T14:38:50+00:00","dateUpdated":null,"dateLastComment":"2023-07-15T15:42:03+00:00","insertUserID":144391,"insertUser":{"userID":144391,"name":"Jon Barto","url":"https:\/\/community.smartsheet.com\/profile\/Jon%20Barto","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-15T15:37:46+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":null,"lastUserID":66106,"lastUser":{"userID":66106,"name":"Peggy Parchert","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Peggy%20Parchert","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/YYRDMWWFX83G\/nC7HLGW82ACPT.jpg","dateLastActive":"2023-07-15T15:41:25+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":7,"countViews":51,"score":null,"hot":3378871853,"url":"https:\/\/community.smartsheet.com\/discussion\/107647\/formula-help","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107647\/formula-help","format":"Rich","lastPost":{"discussionID":107647,"commentID":385476,"name":"Re: Formula help","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/385476#Comment_385476","dateInserted":"2023-07-15T15:42:03+00:00","insertUserID":66106,"insertUser":{"userID":66106,"name":"Peggy Parchert","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Peggy%20Parchert","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/YYRDMWWFX83G\/nC7HLGW82ACPT.jpg","dateLastActive":"2023-07-15T15:41:25+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"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\/8EEBFF0ESKU2\/date-formula.jpg","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"date formula.jpg"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-07-17T08:26:54+00:00","dateAnswered":"2023-07-15T15:37:30+00:00","acceptedAnswers":[{"commentID":385474,"body":"

@Jon Barto<\/a> <\/p>

Try<\/p>

=IFERROR(DATE(YEAR([warranty Start Date]@row) + 2, MONTH([warranty Start Date]@row), DAY([warranty Start Date]@row)), \"No Date\")<\/p>

Peggy<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"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":107635,"type":"question","name":"duplicate detection assitance","excerpt":"If anyone is looking for something similar here was my answer and worked 100% =IF(AND(Agent@row <> \"//www.santa-greenland.com/community/categories/formulas-and-functions/\", COUNTM(COLLECT([Product Sold]:[Product Sold], Agent:Agent, @cell = Agent@row, Date:Date, @cell = Date@row)) > 3), \"Red\", \"//www.santa-greenland.com/community/categories/formulas-and-functions/\") Once the cell worded red, conditional formatting turned the offending cells red with white text…","snippet":"If anyone is looking for something similar here was my answer and worked 100% =IF(AND(Agent@row <> \"//www.santa-greenland.com/community/categories/formulas-and-functions/\", COUNTM(COLLECT([Product Sold]:[Product Sold], Agent:Agent, @cell =…","categoryID":322,"dateInserted":"2023-07-14T18:18:52+00:00","dateUpdated":"2023-07-14T20:01:58+00:00","dateLastComment":"2023-07-14T20:39:19+00:00","insertUserID":163519,"insertUser":{"userID":163519,"name":"Frank Hammond","title":"Mr.","url":"https:\/\/community.smartsheet.com\/profile\/Frank%20Hammond","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/avatarstock\/nWVKDFTEFOKBN.png","dateLastActive":"2023-07-15T17:58:44+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":163519,"lastUserID":163519,"lastUser":{"userID":163519,"name":"Frank Hammond","title":"Mr.","url":"https:\/\/community.smartsheet.com\/profile\/Frank%20Hammond","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/avatarstock\/nWVKDFTEFOKBN.png","dateLastActive":"2023-07-15T17:58:44+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":10,"countViews":77,"score":null,"hot":3378731891,"url":"https:\/\/community.smartsheet.com\/discussion\/107635\/duplicate-detection-assitance","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107635\/duplicate-detection-assitance","format":"Rich","lastPost":{"discussionID":107635,"commentID":385431,"name":"Re: duplicate detection assitance","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/385431#Comment_385431","dateInserted":"2023-07-14T20:39:19+00:00","insertUserID":163519,"insertUser":{"userID":163519,"name":"Frank Hammond","title":"Mr.","url":"https:\/\/community.smartsheet.com\/profile\/Frank%20Hammond","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/avatarstock\/nWVKDFTEFOKBN.png","dateLastActive":"2023-07-15T17:58:44+00:00","banned":0,"punished":0,"private":false,"label":"✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"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\/AURLV19Y7741\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-07-14T20:00:15+00:00","dateAnswered":"2023-07-14T19:48:25+00:00","acceptedAnswers":[{"commentID":385406,"body":"

Right. That was to be inserted in place of the COUNTIFS in your existing formula, but I did forget to add the date piece in.<\/p>

COUNTM(COLLECT([Product Sold]:[Product Sold], Agent:Agent, @cell = Agent@row, Date:Date, @cell = Date@row))<\/p>"},{"commentID":385417,"body":"

Bro! that was it! Thank you, I would not thought to use CountM(Collect for this at all. <\/p>


<\/p>

100% thank you!😁<\/span><\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"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":[]}],"initialPaging":{"nextURL":"https:\/\/community.smartsheet.com\/api\/v2\/discussions?page=2&categoryID=322&includeChildCategories=1&type%5B0%5D=Question&excludeHiddenCategories=1&sort=-hot&limit=3&expand%5B0%5D=all&expand%5B1%5D=-body&expand%5B2%5D=insertUser&expand%5B3%5D=lastUser&status=accepted","prevURL":null,"currentPage":1,"total":10000,"limit":3},"title":"Trending in Formulas and Functions ","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

Trending in Formulas and Functions