transfer a line from one sheet to another when a certain criterion is met

Irfan
Irfan
edited 12/09/19 inFormulas and Functions

I want to transfer a line from one sheet to another when a certain criterion is given.how can i do it?

Tags:

Comments

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the公式手册模板!
=DATE(2023, 07, 01),<=DATE(2023. 07, 31)) Thank you!","snippet":"Hello, I need a formula to count the number of times any date within July 2023 occurs within a set range of a column. This is what I have so far: =COUNTIFS([Date in Job]2:[Date in…","categoryID":322,"dateInserted":"2023-07-25T17:34:48+00:00","dateUpdated":null,"dateLastComment":"2023-07-25T17:58:53+00:00","insertUserID":163926,"insertUser":{"userID":163926,"name":"N.Derkiss","url":"https:\/\/community.smartsheet.com\/profile\/N.Derkiss","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!m6nQX5jhZD8!ZP1SWYSZYcU!4cnGa06kNhO","dateLastActive":"2023-07-25T18:10:15+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":161714,"lastUser":{"userID":161714,"name":"Carson Penticuff","url":"https:\/\/community.smartsheet.com\/profile\/Carson%20Penticuff","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/B0Q390EZX8XK\/nBGT0U1689CN6.jpg","dateLastActive":"2023-07-25T18:44:15+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":1,"countViews":20,"score":null,"hot":3380615021,"url":"https:\/\/community.smartsheet.com\/discussion\/108047\/help-with-a-countifs-formula-for-a-date-range","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/108047\/help-with-a-countifs-formula-for-a-date-range","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":108047,"commentID":386963,"name":"Re: Help with a COUNTIFs Formula for a Date Range","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/386963#Comment_386963","dateInserted":"2023-07-25T17:58:53+00:00","insertUserID":161714,"insertUser":{"userID":161714,"name":"Carson Penticuff","url":"https:\/\/community.smartsheet.com\/profile\/Carson%20Penticuff","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/B0Q390EZX8XK\/nBGT0U1689CN6.jpg","dateLastActive":"2023-07-25T18:44:15+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-25T18:11:05+00:00","dateAnswered":"2023-07-25T17:58:53+00:00","acceptedAnswers":[{"commentID":386963,"body":"

=COUNTIFS([Date in Job]2:[Date in Job]76, AND(@cell >= DATE(2023, 07, 01), @cell <= DATE(2023, 07, 31)))<\/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":108030,"type":"question","name":"Invalid Data Type on an IF function with Index Collect","excerpt":"Hi All, I am trying to nest and index collect into an IF but I keep on getting Invalid Data Type. =IF(INDEX(COLLECT({Tracker - Range 5}, {Tracker - Range 2}, [Project Name]@row, {Tracker - Range 5}, \"LATE\"), 1), \"LATE\", IF(INDEX(COLLECT({Tracker - Range 5}, {Tracker - Range 2}, [Project Name]@row, {Tracker - Range 5}, \"On…","snippet":"Hi All, I am trying to nest and index collect into an IF but I keep on getting Invalid Data Type. =IF(INDEX(COLLECT({Tracker - Range 5}, {Tracker - Range 2}, [Project Name]@row,…","categoryID":322,"dateInserted":"2023-07-25T14:22:16+00:00","dateUpdated":null,"dateLastComment":"2023-07-25T17:47:12+00:00","insertUserID":151347,"insertUser":{"userID":151347,"name":"MegBurns23","url":"https:\/\/community.smartsheet.com\/profile\/MegBurns23","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!3JFev2akC_o!bRNeG5LETzw!9HYHhXoqNPO","dateLastActive":"2023-07-25T17:49:52+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":null,"lastUserID":162305,"lastUser":{"userID":162305,"name":"Cory Page","title":"Revenue Cycle Analyst & Informatics","url":"https:\/\/community.smartsheet.com\/profile\/Cory%20Page","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-25T19:00:15+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":11,"countViews":96,"score":null,"hot":3380608768,"url":"https:\/\/community.smartsheet.com\/discussion\/108030\/invalid-data-type-on-an-if-function-with-index-collect","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/108030\/invalid-data-type-on-an-if-function-with-index-collect","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":108030,"commentID":386960,"name":"Re: Invalid Data Type on an IF function with Index Collect","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/386960#Comment_386960","dateInserted":"2023-07-25T17:47:12+00:00","insertUserID":162305,"insertUser":{"userID":162305,"name":"Cory Page","title":"Revenue Cycle Analyst & Informatics","url":"https:\/\/community.smartsheet.com\/profile\/Cory%20Page","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-25T19:00:15+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-25T17:42:25+00:00","dateAnswered":"2023-07-25T17:28:08+00:00","acceptedAnswers":[{"commentID":386950,"body":"

@MegBurns23<\/a> Thanks for all the information sorry it took a bit. <\/p>

Its not a collect statement but sometimes keeping something as simple as possible really makes things easy so just in case you wanted to try something a little different here is one I ended up getting to work. <\/p>

Its basically counting the number of Late instances then anything greater than 0 would mean the project is late other wise its On time. Update: Sorry i didn't drop the correct formula fixed now<\/p>

=IF(COUNTIFS([Late or on time]3:[Late or on time]44, =\"Late\", [Project Name]3:[Project Name]44, [Other sheet Primary]@row) > \"0\", \"Late\", \"On Time\")<\/p>

\n
\n \n \"image.png\"<\/img><\/a>\n <\/div>\n<\/div>\n


<\/p>

\n
\n \n \"image.png\"<\/img><\/a>\n <\/div>\n<\/div>\n


<\/p>

Hope this is useful.<\/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":108034,"type":"question","name":"Status Column Change to Record Date of Change","excerpt":"Hello, I am developing metrics for a group at my company and need some help. They do not log when they mark something as complete by date just by status. The date of the status change is in the cell history but I was wondering if there was a way to write a formula to show when a status is set to completed it records the…","snippet":"Hello, I am developing metrics for a group at my company and need some help. They do not log when they mark something as complete by date just by status. The date of the status…","categoryID":322,"dateInserted":"2023-07-25T15:22:40+00:00","dateUpdated":null,"dateLastComment":"2023-07-25T16:03:40+00:00","insertUserID":146980,"insertUser":{"userID":146980,"name":"tim.curtin","url":"https:\/\/community.smartsheet.com\/profile\/tim.curtin","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!mfFWXqW5rno!AilXB7G1ODw!13RMOscHACD","dateLastActive":"2023-07-25T18:25:35+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-07-25T18:59:54+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":31,"score":null,"hot":3380600780,"url":"https:\/\/community.smartsheet.com\/discussion\/108034\/status-column-change-to-record-date-of-change","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/108034\/status-column-change-to-record-date-of-change","format":"Rich","lastPost":{"discussionID":108034,"commentID":386919,"name":"Re: Status Column Change to Record Date of Change","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/386919#Comment_386919","dateInserted":"2023-07-25T16:03:40+00:00","insertUserID":8888,"insertUser":{"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-07-25T18:59:54+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-25T16:18:10+00:00","dateAnswered":"2023-07-25T15:39:38+00:00","acceptedAnswers":[{"commentID":386916,"body":"

Hi @tim.curtin<\/a> <\/p>

The \"Record a Date\" feature is found within the Automation tab. First add a date column to your sheet and then go \"Create Workflow from Template\", scroll to the bottom and choose \"Record the date when specificed criteria are met\". It will explain what it does. From there the options are pretty straight forward. Let me know if you have any questions.<\/p>

Thanks,<\/p>

Matt<\/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