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.

Share your knowledge!
Help others byanswering questions.

公式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

= [CHECK-IN]@row, [TUESDAY 4\/20]17 <= [CHECK-OUT]@row), \"X\") Check In and…","categoryID":322,"dateInserted":"2021-03-28T18:04:53+00:00","dateUpdated":null,"dateLastComment":"2021-03-29T13:57:21+00:00","insertUserID":121079,"insertUser":{"userID":121079,"name":"Jen Evans","url":"https:\/\/community.smartsheet.com\/profile\/Jen%20Evans","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2021-03-29T13:41:58+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":91566,"lastUser":{"userID":91566,"name":"Genevieve P.","title":"Community Manager","url":"https:\/\/community.smartsheet.com\/profile\/Genevieve%20P.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/KHY4Y67W0VRX\/nF76D5N9MFB28.png","dateLastActive":"2023-08-19T18:57:54+00:00","banned":0,"punished":0,"private":false,"label":"Employee Admin"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":118,"score":null,"hot":3,"url":"https:\/\/community.smartsheet.com\/discussion\/77759\/if-and-formula-with-dates","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/77759\/if-and-formula-with-dates","format":"Rich","groupID":null,"statusID":2,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/5CH3Y7VRAKCK\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"answered","dateAccepted":null,"dateAnswered":"2021-03-29T11:33:56+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":77735,"type":"question","name":"Is there a way to simplify this formula?","excerpt":"I have 3 columns with dropdowns of 'Complete' 'In progress' and 'Not Started'. In a fourth column (Percentage of Task Complete) I have a formula that assigns a value to each of those text items and then does an average and converts it to a percentage. Here is the formula: =(SUM(IF([Step 1]@row = \"complete\", 100, IF([Step…","categoryID":322,"dateInserted":"2021-03-26T18:09:26+00:00","dateUpdated":null,"dateLastComment":"2021-03-29T11:37:27+00:00","insertUserID":134187,"insertUser":{"userID":134187,"name":"Taylor Scott","url":"https:\/\/community.smartsheet.com\/profile\/Taylor%20Scott","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!HYjS30zvkxY!xplQsfDX_bw!j9b3_pu7Fcp","dateLastActive":"2023-08-16T20:42:44+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-08-18T20:45:06+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":73,"score":null,"hot":3,"url":"https:\/\/community.smartsheet.com\/discussion\/77735\/is-there-a-way-to-simplify-this-formula","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/77735\/is-there-a-way-to-simplify-this-formula","format":"Rich","groupID":null,"statusID":3,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/TFEIXY8D8V50\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2021-03-27T21:03:16+00:00","dateAnswered":"2021-03-26T19:08:23+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":77691,"type":"question","name":"Smartsheet Copy Rows Automation is Duplicating Data","excerpt":"Hi All, I have a Smartsheet set up which includes an automation to copy the rows to a second Smartsheet which works as a Pro Forma sheet for our Accounts Department. The idea is that we will input data into Cells as normal and then once our Client has approved the proposal, they will 'Approve' in Smartsheet via a dropdown.…","categoryID":322,"dateInserted":"2021-03-25T16:57:39+00:00","dateUpdated":null,"dateLastComment":"2021-03-29T10:48:43+00:00","insertUserID":93696,"insertUser":{"userID":93696,"name":"Matt Wood","url":"https:\/\/community.smartsheet.com\/profile\/Matt%20Wood","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!oSFZ6LXdk_o!DWHYgx3iyn4!s2JrvKNOHIc","dateLastActive":"2023-01-03T14:13:03+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":null,"lastUserID":93696,"lastUser":{"userID":93696,"name":"Matt Wood","url":"https:\/\/community.smartsheet.com\/profile\/Matt%20Wood","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!oSFZ6LXdk_o!DWHYgx3iyn4!s2JrvKNOHIc","dateLastActive":"2023-01-03T14:13:03+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":140,"score":null,"hot":2,"url":"https:\/\/community.smartsheet.com\/discussion\/77691\/smartsheet-copy-rows-automation-is-duplicating-data","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/77691\/smartsheet-copy-rows-automation-is-duplicating-data","format":"Rich","groupID":null,"statusID":2,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/JAA9M90PCZMO\/screenshot-2021-03-25-165636.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"Screenshot 2021-03-25 165636.png"},"attributes":{"question":{"status":"answered","dateAccepted":null,"dateAnswered":"2021-03-26T08:21:03+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":77719,"type":"question","name":"need to find values","excerpt":"here i have the data with few country names with status as pass , fail and on hold. attaching screenshots below. i need to figure out the values with the help of country names EX; AMERICAS = Pass (no of counts), Failed (no of counts) India = Pass (no of counts),Failed (no of counts) plz suggest me how to achieve this.","categoryID":322,"dateInserted":"2021-03-26T07:12:38+00:00","dateUpdated":null,"dateLastComment":"2021-03-29T10:04:45+00:00","insertUserID":131631,"insertUser":{"userID":131631,"name":"Rakesh Lavishetty","url":"https:\/\/community.smartsheet.com\/profile\/Rakesh%20Lavishetty","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2021-03-30T03:15:23+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"},"updateUserID":null,"lastUserID":131631,"lastUser":{"userID":131631,"name":"Rakesh Lavishetty","url":"https:\/\/community.smartsheet.com\/profile\/Rakesh%20Lavishetty","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2021-03-30T03:15:23+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":5,"countViews":64,"score":null,"hot":5,"url":"https:\/\/community.smartsheet.com\/discussion\/77719\/need-to-find-values","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/77719\/need-to-find-values","format":"Rich","groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2021-03-29T10:05:12+00:00","dateAnswered":"2021-03-26T07:34:24+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":77681,"type":"question","name":"Per diem interest rounded to nearest cent doesn't translate to accumulated interest?","excerpt":"Happy Thursday!!! I've got a sheet that tracks loans to generate statements and payoffs. For the most part, it works GREAT. The \"Holding Cost\" (per diem) column is run by =[Loan amount]@row * interest rate \/ 365 Since the column is set for Text\/Number & Currency, it automatically rounds to the nearest cent which is perfect…","categoryID":322,"dateInserted":"2021-03-25T14:22:24+00:00","dateUpdated":null,"dateLastComment":"2021-03-29T08:43:30+00:00","insertUserID":131863,"insertUser":{"userID":131863,"name":"Jennifer Sizelove","url":"https:\/\/community.smartsheet.com\/profile\/Jennifer%20Sizelove","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/QQMZE6PW5I3T\/nDJ6NZ8B5W8XJ.JPG","dateLastActive":"2021-04-14T18:48:21+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":91566,"lastUser":{"userID":91566,"name":"Genevieve P.","title":"Community Manager","url":"https:\/\/community.smartsheet.com\/profile\/Genevieve%20P.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/KHY4Y67W0VRX\/nF76D5N9MFB28.png","dateLastActive":"2023-08-19T18:57:54+00:00","banned":0,"punished":0,"private":false,"label":"Employee Admin"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":64,"score":null,"hot":3,"url":"https:\/\/community.smartsheet.com\/discussion\/77681\/per-diem-interest-rounded-to-nearest-cent-doesnt-translate-to-accumulated-interest","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/77681\/per-diem-interest-rounded-to-nearest-cent-doesnt-translate-to-accumulated-interest","format":"Rich","groupID":null,"statusID":3,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/RKN46ALYI349\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2021-03-26T18:59:05+00:00","dateAnswered":"2021-03-26T12:16:23+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":77768,"type":"question","name":"Logic","excerpt":"Hi, I have created a form for leave request for my office. I would like to add a logic (or any other way) that \"if the start date and end date are same\" than a new field with the option to select a \"full day leave or half day leave\" appears. If suggest if its possible or any other alternative to do so. thanks in advance.","categoryID":322,"dateInserted":"2021-03-29T04:41:07+00:00","dateUpdated":null,"dateLastComment":"2021-03-29T07:13:34+00:00","insertUserID":131837,"insertUser":{"userID":131837,"name":"Anoop Phago","url":"https:\/\/community.smartsheet.com\/profile\/Anoop%20Phago","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!xQjQsWzh7qY!wilR_zTZu7o!-0E4OLwESuh","dateLastActive":"2023-06-23T03:51:47+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":null,"lastUserID":8888,"lastUser":{"userID":8888,"name":"Andrée Starå","title":"Smartsheet Expert Consultant & Partner | Workflow Consultant \/ CEO @ WORK BOLD","url":"https:\/\/community.smartsheet.com\/profile\/Andr%C3%A9e%20Star%C3%A5","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/0PAU3GBYQLBT\/nXWM7QXGD6464.jpg","dateLastActive":"2023-08-19T20:19:14+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":51,"score":null,"hot":2,"url":"https:\/\/community.smartsheet.com\/discussion\/77768\/logic","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/77768\/logic","format":"Rich","groupID":null,"statusID":2,"attributes":{"question":{"status":"answered","dateAccepted":null,"dateAnswered":"2021-03-29T07:02:04+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":77764,"type":"question","name":"Auto filtering to another sheet","excerpt":"I have a grid sheet with a form for a training sign off(UTV). I'd like to take the date \"Date\" and name \"Name\" of the person who filled out the form and move\/copy just these two columns to a new sheet. The new sheet has columns that are different than the previous sheet, in that the date I moved from the UTV sign off…","categoryID":322,"dateInserted":"2021-03-28T23:51:48+00:00","dateUpdated":null,"dateLastComment":"2021-03-29T06:59:53+00:00","insertUserID":134227,"insertUser":{"userID":134227,"name":"Rachel Rudd","url":"https:\/\/community.smartsheet.com\/profile\/Rachel%20Rudd","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-03-01T17:45:06+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":8888,"lastUser":{"userID":8888,"name":"Andrée Starå","title":"Smartsheet Expert Consultant & Partner | Workflow Consultant \/ CEO @ WORK BOLD","url":"https:\/\/community.smartsheet.com\/profile\/Andr%C3%A9e%20Star%C3%A5","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/0PAU3GBYQLBT\/nXWM7QXGD6464.jpg","dateLastActive":"2023-08-19T20:19:14+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":1,"countViews":655,"score":null,"hot":1,"url":"https:\/\/community.smartsheet.com\/discussion\/77764\/auto-filtering-to-another-sheet","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/77764\/auto-filtering-to-another-sheet","format":"Rich","groupID":null,"statusID":2,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/LLA67UCQCL0U\/sm1-jpg.jpg","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"SM1.JPG"},"attributes":{"question":{"status":"answered","dateAccepted":null,"dateAnswered":"2021-03-29T06:59:53+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":77769,"type":"question","name":"Minimizing Data in Email","excerpt":"Hello, I have created a leave request form for my organization. I have created a Automation in the leave request form. But when someone submit the form their respective supervisor and HR gets the notification with all the fields as per the main sheet. I would like to minimize it and only send the relevant data for the…","categoryID":322,"dateInserted":"2021-03-29T05:14:21+00:00","dateUpdated":"2021-03-29T05:16:06+00:00","dateLastComment":"2021-03-29T06:54:14+00:00","insertUserID":134232,"insertUser":{"userID":134232,"name":"Anoop Limbu","url":"https:\/\/community.smartsheet.com\/profile\/Anoop%20Limbu","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2021-03-29T05:08:37+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":134232,"lastUserID":127340,"lastUser":{"userID":127340,"name":"Bassam Khalil","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Bassam%20Khalil","photoUrl":"https:\/\/lh3.googleusercontent.com\/a\/AAcHTtf7UK_uIEyXZAONqmsQXBPSfVi5-GCzNLZawKE6bV9IIEk=s96-c","dateLastActive":"2023-07-18T09:22:17+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":53,"score":null,"hot":2,"url":"https:\/\/community.smartsheet.com\/discussion\/77769\/minimizing-data-in-email","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/77769\/minimizing-data-in-email","format":"Rich","groupID":null,"statusID":2,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/NGF3EKG7QMDT\/notification2-jpg.jpg","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"notification2.JPG"},"attributes":{"question":{"status":"answered","dateAccepted":null,"dateAnswered":"2021-03-29T06:49:27+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":76989,"type":"question","name":"IfError with Index and Match","excerpt":"Hi all, I am trying to troubleshoot a formula that has worked for me in the past and wondering if anyone can look it over. Typically this formula is used for a travel grid that denotes when someone is Work\/Travel Out (X\/T) or just Travel Out (To). Happy to share the sheet itself as well to look at further.…","categoryID":322,"dateInserted":"2021-03-05T23:30:31+00:00","dateUpdated":null,"dateLastComment":"2021-03-28T16:13:44+00:00","insertUserID":121079,"insertUser":{"userID":121079,"name":"Jen Evans","url":"https:\/\/community.smartsheet.com\/profile\/Jen%20Evans","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2021-03-29T13:41:58+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":121079,"lastUser":{"userID":121079,"name":"Jen Evans","url":"https:\/\/community.smartsheet.com\/profile\/Jen%20Evans","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2021-03-29T13:41:58+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":11,"countViews":367,"score":null,"hot":11,"url":"https:\/\/community.smartsheet.com\/discussion\/76989\/iferror-with-index-and-match","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/76989\/iferror-with-index-and-match","format":"Rich","groupID":null,"statusID":2,"attributes":{"question":{"status":"answered","dateAccepted":null,"dateAnswered":"2021-03-08T14:24:08+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":77744,"type":"question","name":"Obtaining Cycle Times","excerpt":"Is there a way to count working days for date columns that are auto-generated by the system (Modified and Created cells) since they also include time? I just want to count the days between the 2. Can I do this without creating helper columns?","categoryID":322,"dateInserted":"2021-03-26T21:22:41+00:00","dateUpdated":null,"dateLastComment":"2021-03-28T08:15:47+00:00","insertUserID":53946,"insertUser":{"userID":53946,"name":"Cinda.q","url":"https:\/\/community.smartsheet.com\/profile\/Cinda.q","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-03-14T01:14:11+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"},"updateUserID":null,"lastUserID":127340,"lastUser":{"userID":127340,"name":"Bassam Khalil","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Bassam%20Khalil","photoUrl":"https:\/\/lh3.googleusercontent.com\/a\/AAcHTtf7UK_uIEyXZAONqmsQXBPSfVi5-GCzNLZawKE6bV9IIEk=s96-c","dateLastActive":"2023-07-18T09:22:17+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":1,"countViews":272,"score":null,"hot":1,"url":"https:\/\/community.smartsheet.com\/discussion\/77744\/obtaining-cycle-times","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/77744\/obtaining-cycle-times","format":"Rich","groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2021-03-29T00:17:55+00:00","dateAnswered":"2021-03-28T08:15:47+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}]}],"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公式手册模板!
HAS() will only return true under three conditions.<\/p>
  1. The cell is a multicontact cell and contains a match for the contact<\/li>
  2. The cell is a multiselect dropdown and contains a match<\/li>
  3. The cell is not a multicontact or multiselect dropdown and contains ONLY and EXACTLY the text you are matching against. <\/li><\/ol>

    I am assuming your row in question is a standard Text\/Number cell? If so, you will need to get somewhat creative with some CONTAINS() statements.<\/p>

    This will narrow down your matches to only cells that contain a space both before and after TAC. If, however, TAC can appear as the first or last \"word\" in the cell, it would not match in that circumstance as there would only be a space on one side.<\/p>

    =IF(CONTAINS(\" TAC \", [Column Name1]@row), 1, 0)<\/p>


    <\/p>

    If TAC can appear as the first or last \"word\" in the cell, this will cover those possibilities as well.<\/p>

    =IF(OR(CONTAINS(\" TAC \", [Column Name1]@row), LEFT([Column Name1]@row, 4) = \"TAC \", RIGHT([Column Name1]@row, 4) = \" TAC\"), 1, 0)<\/p>


    <\/p>

    If it is possible that TAC will be the exact entry of the cell, you will need an additional statement to cover that, as there would not be spaces on either side. This will add that option.<\/p>

    =IF(OR(CONTAINS(\" TAC \", [Column Name1]@row), LEFT([Column Name1]@row, 4) = \"TAC \", RIGHT([Column Name1]@row, 4) = \" TAC\", [Column Name1]@row = \"TAC\"), 1, 0)<\/p>


    <\/p>

    If there are other situations you may have in your sheet, i.e., TAC inside parenthesis, or before or after punctuation, etc, you will additional statements to include those options as well.<\/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":109170,"type":"question","name":"COUNTIFS formula with 3 criteria (2 of the criteria have formulas)","excerpt":"Hi - I am trying to create a COUNTIFS formula using three criteria in the same sheet - Status (I just want to count the Open items), Impacted IT Projects (which is another dropdown of project names to select from), and Severity (this column displays a \"High\", \"Medium\", or \"Low\" value based on the calculated score in column…","snippet":"Hi - I am trying to create a COUNTIFS formula using three criteria in the same sheet - Status (I just want to count the Open items), Impacted IT Projects (which is another…","categoryID":322,"dateInserted":"2023-08-18T20:29:26+00:00","dateUpdated":null,"dateLastComment":"2023-08-18T21:13:12+00:00","insertUserID":165367,"insertUser":{"userID":165367,"name":"Shari D","url":"https:\/\/community.smartsheet.com\/profile\/Shari%20D","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-18T21:12:12+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":163506,"lastUser":{"userID":163506,"name":"JamesB","title":"IT Project Manager","url":"https:\/\/community.smartsheet.com\/profile\/JamesB","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/avatarstock\/nEQMY42MFGXWS.png","dateLastActive":"2023-08-18T21:34:29+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":10,"countViews":92,"score":null,"hot":3384789758,"url":"https:\/\/community.smartsheet.com\/discussion\/109170\/countifs-formula-with-3-criteria-2-of-the-criteria-have-formulas","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/109170\/countifs-formula-with-3-criteria-2-of-the-criteria-have-formulas","format":"Rich","lastPost":{"discussionID":109170,"commentID":391505,"name":"Re: COUNTIFS formula with 3 criteria (2 of the criteria have formulas)","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/391505#Comment_391505","dateInserted":"2023-08-18T21:13:12+00:00","insertUserID":163506,"insertUser":{"userID":163506,"name":"JamesB","title":"IT Project Manager","url":"https:\/\/community.smartsheet.com\/profile\/JamesB","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/avatarstock\/nEQMY42MFGXWS.png","dateLastActive":"2023-08-18T21:34:29+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-08-18T21:12:26+00:00","dateAnswered":"2023-08-18T21:01:48+00:00","acceptedAnswers":[{"commentID":391499,"body":"

    @Shari D<\/a> My apologies, should have been HAS<\/p>

    =COUNTIFS(Status:Status, \"Open\", Severity:Severity, \"High\", [Impacted IT Projects]:[Impacted IT Projects], HAS(@cell, \"IT Project Name 1\"))<\/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":109158,"type":"question","name":"Checkbox, Texts, RYG","excerpt":"I am trying to create a formula based on checkbox and dropdown list column. The result I am looking for is for Column 3 to have either a Red or Green symbol based on if Column 1 is checked OR Column 2 includes a specific word. Column 2 is a drop down with multiple options. Is this possible?","snippet":"I am trying to create a formula based on checkbox and dropdown list column. The result I am looking for is for Column 3 to have either a Red or Green symbol based on if Column 1…","categoryID":322,"dateInserted":"2023-08-18T16:30:48+00:00","dateUpdated":"2023-08-18T18:25:24+00:00","dateLastComment":"2023-08-18T21:05:50+00:00","insertUserID":160871,"insertUser":{"userID":160871,"name":"Nana250","url":"https:\/\/community.smartsheet.com\/profile\/Nana250","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-18T21:05:33+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":160871,"lastUserID":160871,"lastUser":{"userID":160871,"name":"Nana250","url":"https:\/\/community.smartsheet.com\/profile\/Nana250","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-18T21:05:33+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":6,"countViews":50,"score":null,"hot":3384772598,"url":"https:\/\/community.smartsheet.com\/discussion\/109158\/checkbox-texts-ryg","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/109158\/checkbox-texts-ryg","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":109158,"commentID":391501,"name":"Re: Checkbox, Texts, RYG","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/391501#Comment_391501","dateInserted":"2023-08-18T21:05:50+00:00","insertUserID":160871,"insertUser":{"userID":160871,"name":"Nana250","url":"https:\/\/community.smartsheet.com\/profile\/Nana250","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-18T21:05:33+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-08-18T21:05:36+00:00","dateAnswered":"2023-08-18T21:02:55+00:00","acceptedAnswers":[{"commentID":391500,"body":"

    @Nana250<\/a> <\/p>

    Try this format and update columns names as needed: =IF(OR(CONTAINS(\"Insert Word\", [Column 2]@row), [Column 1]@row = 1), \"Green\", \"Red\")<\/p>

    If column 1 is checked or it finds the word in Column 2 it will go green, if not Red. Adjust as needed.<\/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"}]}],"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