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.

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Discussion List

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the公式手册模板!
Give this a try:<\/p>

=IF(ISBLANK([Other Concerns]@row), [Name of Company]@row + \" presently had no other comments or concerns.\", [Name of Company]@row + \" also responded that \" + [Other Concerns]@row)<\/p>"},{"commentID":402554,"body":"

@Carson Penticuff<\/a> This worked!<\/p>

Thank you so much.<\/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":["discussion","question"]},"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":112371,"type":"question","name":"#REF in the formula when I move data to archive sheet","excerpt":"When I transfer completed orders from the working sheet to the archive sheet, I encounter a formula error in calculating the final stock. Before moving the data: =[Initial Stock]@row - SUMIFS([Total Quantity Requested]$1:[Total Quantity Requested]@row, Collected$1:Collected@row, 1, [Item_ID]$1:[Item_ID]@row, [Item_ID]@row)…","snippet":"When I transfer completed orders from the working sheet to the archive sheet, I encounter a formula error in calculating the final stock. Before moving the data: =[Initial…","categoryID":322,"dateInserted":"2023-10-31T14:16:28+00:00","dateUpdated":null,"dateLastComment":"2023-11-01T13:35:36+00:00","insertUserID":153826,"insertUser":{"userID":153826,"name":"Joseph Aloysias","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Joseph%20Aloysias","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/WZDEOXSJITB8\/nDP4L5HRUUJSS.jpg","dateLastActive":"2023-11-01T16:36:44+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"updateUserID":null,"lastUserID":153826,"lastUser":{"userID":153826,"name":"Joseph Aloysias","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Joseph%20Aloysias","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/WZDEOXSJITB8\/nDP4L5HRUUJSS.jpg","dateLastActive":"2023-11-01T16:36:44+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":4,"countViews":33,"score":null,"hot":3397609924,"url":"https:\/\/community.smartsheet.com\/discussion\/112371\/ref-in-the-formula-when-i-move-data-to-archive-sheet","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/112371\/ref-in-the-formula-when-i-move-data-to-archive-sheet","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":112371,"commentID":402529,"name":"Re: #REF in the formula when I move data to archive sheet","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/402529#Comment_402529","dateInserted":"2023-11-01T13:35:36+00:00","insertUserID":153826,"insertUser":{"userID":153826,"name":"Joseph Aloysias","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Joseph%20Aloysias","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/WZDEOXSJITB8\/nDP4L5HRUUJSS.jpg","dateLastActive":"2023-11-01T16:36: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\/7X0DSVO0KAWD\/image.png","urlSrcSet":{"10":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=10\/https:\/\/us.v-cdn.net\/6031209\/uploads\/7X0DSVO0KAWD\/image.png","300":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=300\/https:\/\/us.v-cdn.net\/6031209\/uploads\/7X0DSVO0KAWD\/image.png","800":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=800\/https:\/\/us.v-cdn.net\/6031209\/uploads\/7X0DSVO0KAWD\/image.png","1200":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1200\/https:\/\/us.v-cdn.net\/6031209\/uploads\/7X0DSVO0KAWD\/image.png","1600":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1600\/https:\/\/us.v-cdn.net\/6031209\/uploads\/7X0DSVO0KAWD\/image.png"},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-11-01T13:38:09+00:00","dateAnswered":"2023-11-01T13:32:36+00:00","acceptedAnswers":[{"commentID":402526,"body":"

Hi @Joseph Aloysias<\/a> <\/p>

Thank you for clarifying!<\/p>

It sounds like you may be moving the original Row 1 <\/strong>from your current sheet into the archive sheet. When this happens, the reference is deleted since you're referencing that specific row:<\/p>

=[Initial Stock]@row - SUMIFS([Total Quantity Requested]$1<\/strong>:[Total Quantity Requested]@row, Collected$1<\/strong>:Collected@row, 1, [Item_ID]$1<\/strong>:[Item_ID]@row, [Item_ID]@row)<\/p>

This is why you see the error #REF<\/p>

You'll want to make sure Row 1 in your current sheet is a row that will never be moved, so you can keep the reference. Does that make sense?<\/p>

Cheers,<\/p>

Genevieve<\/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":["discussion","question"]},"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":112393,"type":"question","name":"Sum Formula Help","excerpt":"Hi There, I recently got some help on a countifs function but now i need to create a new formula on the same sheet. I need add up the value of money in the 'predicted cost of incident' column between a certain date range, and also only when fabrication is selected under the 'Department Involved' column. My current formula…","snippet":"Hi There, I recently got some help on a countifs function but now i need to create a new formula on the same sheet. I need add up the value of money in the 'predicted cost of…","categoryID":322,"dateInserted":"2023-10-31T18:17:00+00:00","dateUpdated":null,"dateLastComment":"2023-11-01T07:46:40+00:00","insertUserID":168266,"insertUser":{"userID":168266,"name":"James Brett","url":"https:\/\/community.smartsheet.com\/profile\/James%20Brett","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-11-01T07:43:45+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":168266,"lastUser":{"userID":168266,"name":"James Brett","url":"https:\/\/community.smartsheet.com\/profile\/James%20Brett","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-11-01T07:43:45+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":20,"score":null,"hot":3397602220,"url":"https:\/\/community.smartsheet.com\/discussion\/112393\/sum-formula-help","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/112393\/sum-formula-help","format":"Rich","lastPost":{"discussionID":112393,"commentID":402500,"name":"Re: Sum Formula Help","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/402500#Comment_402500","dateInserted":"2023-11-01T07:46:40+00:00","insertUserID":168266,"insertUser":{"userID":168266,"name":"James Brett","url":"https:\/\/community.smartsheet.com\/profile\/James%20Brett","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-11-01T07:43:45+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\/LM7XFG5V2UWB\/image.png","urlSrcSet":{"10":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=10\/https:\/\/us.v-cdn.net\/6031209\/uploads\/LM7XFG5V2UWB\/image.png","300":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=300\/https:\/\/us.v-cdn.net\/6031209\/uploads\/LM7XFG5V2UWB\/image.png","800":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=800\/https:\/\/us.v-cdn.net\/6031209\/uploads\/LM7XFG5V2UWB\/image.png","1200":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1200\/https:\/\/us.v-cdn.net\/6031209\/uploads\/LM7XFG5V2UWB\/image.png","1600":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1600\/https:\/\/us.v-cdn.net\/6031209\/uploads\/LM7XFG5V2UWB\/image.png"},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-11-01T11:18:44+00:00","dateAnswered":"2023-11-01T02:45:19+00:00","acceptedAnswers":[{"commentID":402499,"body":"

Can this be modified at all?<\/p><\/div><\/div>

Try this:<\/p>

=SUMIFS([Predicted Cost of Incident]:[Predicted Cost of Incident], [Date of Incident]:[Date of Incident], AND(@cell >= DATE(2023, 4, 1), @cell <= DATE(2023, 4, 30)), [Department Involved]:[Department Involved], \"Fabrication\")<\/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":["discussion","question"]},"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