\n <\/img><\/a>\n <\/div>\n<\/div>\n <\/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":112449,"type":"question","name":"I need help! I need to calculate a date based on hire type and start date","excerpt":"If Hire Type is New Hire, and OD Start Date is a valid date, Then NEW HIRE Request for Contract Date needs to be 2 weeks (14 days ahead of start date) Can anyone please help me? The formula i have typed, I screenshotted. and I am getting a 'circular' error.","snippet":"If Hire Type is New Hire, and OD Start Date is a valid date, Then NEW HIRE Request for Contract Date needs to be 2 weeks (14 days ahead of start date) Can anyone please help me?…","categoryID":322,"dateInserted":"2023-11-01T17:32:37+00:00","dateUpdated":null,"dateLastComment":"2023-11-01T19:25:20+00:00","insertUserID":169395,"insertUser":{"userID":169395,"name":"Danielle Baker","title":"Provider Enrollment Coordinator","url":"https:\/\/community.smartsheet.com\/profile\/Danielle%20Baker","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!bDDWmy99SOY!!lNP-l834szZ","dateLastActive":"2023-11-01T18:54:59+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":169395,"lastUser":{"userID":169395,"name":"Danielle Baker","title":"Provider Enrollment Coordinator","url":"https:\/\/community.smartsheet.com\/profile\/Danielle%20Baker","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!bDDWmy99SOY!!lNP-l834szZ","dateLastActive":"2023-11-01T18:54:59+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":27,"score":null,"hot":3397728477,"url":"https:\/\/community.smartsheet.com\/discussion\/112449\/i-need-help-i-need-to-calculate-a-date-based-on-hire-type-and-start-date","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/112449\/i-need-help-i-need-to-calculate-a-date-based-on-hire-type-and-start-date","format":"Rich","lastPost":{"discussionID":112449,"commentID":402639,"name":"Re: I need help! I need to calculate a date based on hire type and start date","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/402639#Comment_402639","dateInserted":"2023-11-01T19:25:20+00:00","insertUserID":169395,"insertUser":{"userID":169395,"name":"Danielle Baker","title":"Provider Enrollment Coordinator","url":"https:\/\/community.smartsheet.com\/profile\/Danielle%20Baker","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!bDDWmy99SOY!!lNP-l834szZ","dateLastActive":"2023-11-01T18:54:59+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\/0AAN864AYQ9M\/image.png","urlSrcSet":{"10":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=10\/https:\/\/us.v-cdn.net\/6031209\/uploads\/0AAN864AYQ9M\/image.png","300":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=300\/https:\/\/us.v-cdn.net\/6031209\/uploads\/0AAN864AYQ9M\/image.png","800":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=800\/https:\/\/us.v-cdn.net\/6031209\/uploads\/0AAN864AYQ9M\/image.png","1200":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1200\/https:\/\/us.v-cdn.net\/6031209\/uploads\/0AAN864AYQ9M\/image.png","1600":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1600\/https:\/\/us.v-cdn.net\/6031209\/uploads\/0AAN864AYQ9M\/image.png"},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-11-01T22:04:59+00:00","dateAnswered":"2023-11-01T18:35:23+00:00","acceptedAnswers":[{"commentID":402620,"body":"
You're getting a circular error because you're trying to use the value from your \"Hire Type\" column to calculate a value for your \"Hire Type\" column. That formula will always be chasing it's tail.<\/p>
Your second IF criteria states that IF [OD Start Date]@row = \"True\". The problem with this is that [OD Start Date] column is not a True\/False column such as a checkbox or flag. It's a date column, so it will never be True or False.<\/p>
Your final IF criteria states \"[NEW Hire Request for Contract Date]@row = Date\" would also cause an error. First it's surrounded by \"//www.santa-greenland.com/community/discussion/33546/\" which means everything in-between should be treated as a string of text. It's not a criteria statement that will be evaluated. Second there's no \"= Date\" functionality that will tell you the value is a valid date. If you have that column set as a Date column that is restricted to dates only, then any entry will be a valid Date otherwise the data wouldn't have been accepted into the cell.<\/p>
Try this in your [NEW Hire Request for Contract Date] column: =IF(AND(NOT(ISBLANK([OD Start Date]@row)), [Hire Type]@row = \"New Hire\"), [OD Start Date]@row - 14, \"//www.santa-greenland.com/community/discussion/33546/\")<\/p>
The [NEW Hire Request for Contract Date] column must be a Date type column for this to 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":["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 Formula for Value of Child@row and Descendants Hello, I need a column formula to display the value(s) of the children up through all the parents. The JOIN part of the formula below does this. However, if the child doesn't have a descendant value in it, I want it to display the value from that row. The first part of the formula below is what I was hoping would take care…
If/Or Formula Hi there, I need assistance on this formula: =IF(OR([ Company’s intellectual property Co-owned]@row = "No", [ Company’s intellectual property Co-owned]@row = "Unsure"), [First Name]@row + [Last Name]@row + " knows or believes that none of " + [Name of Company]@row + " is co-owned by another person or entity.", IF([…
I need help! I need to calculate a date based on hire type and start date If Hire Type is New Hire, and OD Start Date is a valid date, Then NEW HIRE Request for Contract Date needs to be 2 weeks (14 days ahead of start date) Can anyone please help me? The formula i have typed, I screenshotted. and I am getting a 'circular' error.