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

\"Approved\", @cell <> \"Rejected\", @cell <> \"Withdrawn\")) However everything…","categoryID":322,"dateInserted":"2019-03-15T11:52:02+00:00","dateUpdated":"2019-12-09T08:04:32+00:00","dateLastComment":"2019-03-15T14:32:06+00:00","insertUserID":75766,"insertUser":{"userID":75766,"name":"Karrie Davis","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Karrie%20Davis","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/QK72Y4JY5UIX\/n294YLQHLLQO2.jpg","dateLastActive":"2023-07-05T23:33:32+00:00","banned":0,"punished":0,"private":false,"label":"Overachievers"},"updateUserID":null,"lastUserID":45516,"lastUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-07-07T16:20:23+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":93,"score":null,"hot":3,"url":"https:\/\/community.smartsheet.com\/discussion\/43706\/countifs-same-column-different-criteria","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/43706\/countifs-same-column-different-criteria","format":"Html","groupID":null,"statusID":0,"attributes":{},"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"},{"tagID":274,"urlcode":"Legal","name":"Legal"},{"tagID":440,"urlcode":"project-management","name":"Project Management"}],"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":43736,"type":"discussion","name":"Changing cell to \"0\" if checkbox is checked","excerpt":"Wondering if it is possible to change a cell to \"0\" if the checkbox is checked. I'm assuming a formula will need to be used since I was unable to find it in the conditional formatting. Thank you for your help in advance. ","categoryID":322,"dateInserted":"2019-03-15T13:24:02+00:00","dateUpdated":"2019-12-09T08:04:32+00:00","dateLastComment":"2019-03-15T13:37:19+00:00","insertUserID":82041,"insertUser":{"userID":82041,"name":"Sarah.Humpal82041","url":"https:\/\/community.smartsheet.com\/profile\/Sarah.Humpal82041","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2019-03-15T13:20:53+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":16866,"lastUser":{"userID":16866,"name":"L_123","title":"","url":"https:\/\/community.smartsheet.com\/profile\/L_123","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-07T14:38:21+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":1,"countViews":329,"score":null,"hot":1,"url":"https:\/\/community.smartsheet.com\/discussion\/43736\/changing-cell-to-0-if-checkbox-is-checked","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/43736\/changing-cell-to-0-if-checkbox-is-checked","format":"Html","groupID":null,"statusID":0,"attributes":{},"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"},{"tagID":281,"urlcode":"Support","name":"Support"},{"tagID":437,"urlcode":"conditional-formatting","name":"Conditional Formatting"}],"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":43646,"type":"discussion","name":"Formula Count Help","excerpt":"May I please get assistance with a formula? I am trying to do a formula that references another sheet (Loaner Sign Out Sheet), which calculates a total from that onto my Request Metrics sheet. Please see attached. I would like a total count for Request Type \"HDMI\" only if the Status states \"In Progress.\" If it's not in…","categoryID":322,"dateInserted":"2019-03-14T18:00:31+00:00","dateUpdated":"2019-12-09T08:04:32+00:00","dateLastComment":"2019-03-15T09:43:01+00:00","insertUserID":81926,"insertUser":{"userID":81926,"name":"Tori Peregoy","url":"https:\/\/community.smartsheet.com\/profile\/Tori%20Peregoy","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/drupal_profile\/files\/2019-06\/20\/6d\/n206d2edc6cfadf37620be540eb41c2fc.jpg","dateLastActive":"2019-07-29T15:58:11+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":45516,"lastUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-07-07T16:20:23+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":52,"score":null,"hot":2,"url":"https:\/\/community.smartsheet.com\/discussion\/43646\/formula-count-help","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/43646\/formula-count-help","format":"Html","groupID":null,"statusID":0,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/drupal_attachment\/files\/2019-03\/cc\/85\/cc85804763aeaeb58056cebb5dc44511.jpg","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"Formula Help Example.jpg"},"attributes":{},"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":43606,"type":"discussion","name":"Is there a way to use SumIF to add values in a column that match a specific text string in adjacent","excerpt":"We are building estimate sheets using a hierarchy based on Construction Specifications Institute's organizational coding system. I have rows nested using multiple parent \/ children. The top level is the CSI Division, which has children rows with specific categories within that Division, and each Category line has nested…","categoryID":322,"dateInserted":"2019-03-14T13:30:48+00:00","dateUpdated":"2019-12-09T08:04:32+00:00","dateLastComment":"2019-03-15T08:52:49+00:00","insertUserID":81876,"insertUser":{"userID":81876,"name":"Burt L","url":"https:\/\/community.smartsheet.com\/profile\/Burt%20L","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2020-11-23T16:17:04+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":45516,"lastUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-07-07T16:20:23+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":633,"score":null,"hot":2,"url":"https:\/\/community.smartsheet.com\/discussion\/43606\/is-there-a-way-to-use-sumif-to-add-values-in-a-column-that-match-a-specific-text-string-in-adjacent","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/43606\/is-there-a-way-to-use-sumif-to-add-values-in-a-column-that-match-a-specific-text-string-in-adjacent","format":"Html","groupID":null,"statusID":0,"attributes":{},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"tags":[{"tagID":218,"urlcode":"Construction","name":"Construction"},{"tagID":254,"urlcode":"Formulas","name":"Formulas"},{"tagID":440,"urlcode":"project-management","name":"Project Management"}],"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 theFormula Handbook template!
Hi @Carol-Anne Cerbone<\/a>,<\/p>

If you're just wanting the month to compare to last (e.g. July today vs. June last), then this will do what you're after:<\/p>

=IF(AND(YEAR(Created@row) = YEAR(TODAY()), MONTH(Created@row) = (MONTH(TODAY())) - 1), 1)<\/p>

Hope this helps! 😊<\/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":[{"tagID":254,"urlcode":"Formulas","name":"Formulas"}]},{"discussionID":107331,"type":"question","name":"COUNTIF For multiple Drop down values in Same Column","excerpt":"Hi. Hoping someone can guide me. I have a formula in Calc sheet pulling from an Action Log template used in Control Centre, that originally only picked up one value and had an IFERROR Statement included and a minus figure to ignore what was in a placeholder row at the top. That formula was =(IFERROR(COUNTIF({Action Log…","snippet":"Hi. Hoping someone can guide me. I have a formula in Calc sheet pulling from an Action Log template used in Control Centre, that originally only picked up one value and had an…","categoryID":322,"dateInserted":"2023-07-07T11:17:45+00:00","dateUpdated":"2023-07-07T11:46:21+00:00","dateLastComment":"2023-07-07T14:06:22+00:00","insertUserID":128162,"insertUser":{"userID":128162,"name":"Tim Wing","url":"https:\/\/community.smartsheet.com\/profile\/Tim%20Wing","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-07T14:06:04+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":91566,"lastUserID":128162,"lastUser":{"userID":128162,"name":"Tim Wing","url":"https:\/\/community.smartsheet.com\/profile\/Tim%20Wing","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-07T14:06:04+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":27,"score":null,"hot":3377468647,"url":"https:\/\/community.smartsheet.com\/discussion\/107331\/countif-for-multiple-drop-down-values-in-same-column","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107331\/countif-for-multiple-drop-down-values-in-same-column","format":"Rich","lastPost":{"discussionID":107331,"commentID":384170,"name":"Re: COUNTIF For multiple Drop down values in Same Column","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/384170#Comment_384170","dateInserted":"2023-07-07T14:06:22+00:00","insertUserID":128162,"insertUser":{"userID":128162,"name":"Tim Wing","url":"https:\/\/community.smartsheet.com\/profile\/Tim%20Wing","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-07T14:06:04+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,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-07-07T14:06:00+00:00","dateAnswered":"2023-07-07T11:50:30+00:00","acceptedAnswers":[{"commentID":384130,"body":"

=(IFERROR(COUNTIF({5) Action Log Range 1}, or(@cell = \"In Progress\",@cell = \"Not Started\"), 0)) - 1<\/p>


<\/p>

Your range name is a little wonky, I don't know if you made a typo or not, but if it's correct then this should work.<\/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":107325,"type":"question","name":"Incorrect Argument Set","excerpt":"Hi All, I have a formula that worked in one row, but then when I make it a column formula, it shows \"incorrect argument set\" in all the other rows but the 1st one. Please see below: That's the formula: =IF(AND([CLIENT TYPE]@row = \"Platinum\", [TOTAL AGING]@row > 1), \"Red\", IF(AND([CLIENT TYPE]@row = \"Gold\", [REQUIRED…","snippet":"Hi All, I have a formula that worked in one row, but then when I make it a column formula, it shows \"incorrect argument set\" in all the other rows but the 1st one. Please see…","categoryID":322,"dateInserted":"2023-07-07T08:10:18+00:00","dateUpdated":null,"dateLastComment":"2023-07-07T10:46:00+00:00","insertUserID":158375,"insertUser":{"userID":158375,"name":"angelapaj","url":"https:\/\/community.smartsheet.com\/profile\/angelapaj","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!w4smdwuoBbo!BYfnwW-eMzI!G-HqZABFep4","dateLastActive":"2023-07-07T14:03:13+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"},"updateUserID":null,"lastUserID":158375,"lastUser":{"userID":158375,"name":"angelapaj","url":"https:\/\/community.smartsheet.com\/profile\/angelapaj","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!w4smdwuoBbo!BYfnwW-eMzI!G-HqZABFep4","dateLastActive":"2023-07-07T14:03:13+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":38,"score":null,"hot":3377445378,"url":"https:\/\/community.smartsheet.com\/discussion\/107325\/incorrect-argument-set","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107325\/incorrect-argument-set","format":"Rich","lastPost":{"discussionID":107325,"commentID":384125,"name":"Re: Incorrect Argument Set","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/384125#Comment_384125","dateInserted":"2023-07-07T10:46:00+00:00","insertUserID":158375,"insertUser":{"userID":158375,"name":"angelapaj","url":"https:\/\/community.smartsheet.com\/profile\/angelapaj","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!w4smdwuoBbo!BYfnwW-eMzI!G-HqZABFep4","dateLastActive":"2023-07-07T14:03:13+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\/VE1CT9T9NVPK\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-07-07T10:44:50+00:00","dateAnswered":"2023-07-07T10:02:51+00:00","acceptedAnswers":[{"commentID":384119,"body":"

Hi @angelapaj<\/a> <\/p>

Can you try the formula below?<\/p>

=IF(AND([CLIENT TYPE]@row = \"Platinum\", [TOTAL AGING]@row > 1), \"Red\", IF(AND([CLIENT TYPE]@row = \"Gold\", [REQUIRED DATE]@row < TODAY(), [DRAWING STATUS]@row = \"Not Started\"), \"Red\", IF(AND([CLIENT TYPE]@row = \"Gold\", [REQUIRED DATE]@row < TODAY(), [DRAWING STATUS]@row = \"Review\"), \"Yellow\", IF(AND([CLIENT TYPE]@row = \"Silver\", [REQUIRED DATE]@row < TODAY(), [DRAWING STATUS]@row = \"Not Started\"), \"Yellow\", IF(AND([CLIENT TYPE]@row = \"Silver\", [REQUIRED DATE]@row < TODAY(), [DRAWING STATUS]@row = \"Review\"), \"Yellow\", \"Green\")))))\n<\/pre>"}]}},"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":[]}">