@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
If its Blank Formula Hi There, I need assistance on ItsBlank formula. Formula I currently have that isn't working =IF(ISBLANK([Other Concerns]@row), [Name of Company]@row + "presently had no other comments or concerns.").",If [Name of Company]@row="1" +[Name of Company]@row+ "also responded that"+[Other Concerns]@row)) My Output information:…
#REF in the formula when I move data to archive sheet 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)…
Sum Formula Help 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…