清洗的url

嗨,Smartsheet社区,

我试图简化提交给我的团队的url。

=IF(ISNUMBER(FIND("https://www.",[原url]@行)),SUBSTITUTE([原url]@行,"https://www.", ""), IF(ISNUMBER(FIND("http://www.",[原url]@行)),SUBSTITUTE([原url]@行,"http://www.", "")), IF(ISNUMBER(FIND("http:// .",[原url]@行)),SUBSTITUTE([原url]@行,"http:// .", ""), IF(ISNUMBER(FIND("www.",[原url]@行)),SUBSTITUTE([原url]@行,"http:// ."), IF(ISNUMBER(FIND("www.",[原url]@行)),SUBSTITUTE([原url]@行,"http:// ."), IF(ISNUMBER(FIND("www.",[原url]@行)),SUBSTITUTE([原url]@行,"http:// ."), IF(ISNUMBER(FIND("www.",[原url]@行)),SUBSTITUTE([原url]@行,"http:// ."),""),[原始url]@row])))))

我写了这个公式,它应该派生出整个URL到域和页面路径。但是,它只适用于以"https://www。”.这是因为Smartsheets将结果识别为超链接,所以我的公式不能工作(截图如下-左边是一个表单值,右边一列是公式)?

截图2022-05-19 131503.png

有人知道怎么解决吗?

谢谢你!

最佳答案

答案

帮助文章资源欧宝体育app官方888

想直接在Smartsheet中练习使用公式吗?

请查看公式手册模板!
Hi @Vinton Douglas<\/a> <\/p>

I hope you're well and safe!<\/p>

You could add an online link (in Dropbox, Google Drive, or something similar) to the attachment that downloads it, and then they can attach it to the form.<\/p>

Would that work\/help? <\/p>

I hope that helps!<\/p>

Be safe, and have a fantastic weekend!<\/p>

Best,<\/p>

Andrée Starå<\/strong><\/a> | Workflow Consultant \/ CEO @ WORK BOLD<\/strong><\/a><\/p>

Did my post(s) help or answer your question or solve your problem? Please support the Community by <\/em>marking it Insightful\/Vote Up, Awesome, or\/and as the accepted answer<\/em><\/strong>. It will make it easier for others to find a solution or help to answer!<\/em><\/p>"},{"commentID":368823,"body":"

@Vinton Douglas<\/a> <\/p>

Happy to help!<\/p>

One way to show the file (depending on the type) could be to use a Dashboard\/Portal. On one side, you show the form; on the other, you show the attachment.<\/p>

Would that work\/help?<\/p>

Remember! <\/strong>Did my post(s) help or answer your question or solve your problem? Please support the Community by <\/em>marking it Insightful\/Vote Up\/Awesome or\/and as the accepted answer<\/em><\/strong>. It will make it easier for others to find a solution or help to answer!<\/em><\/p>"},{"commentID":368961,"body":"

@Vinton Douglas<\/a> <\/p>

Excellent!<\/p>

You're more than welcome!<\/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":103093,"type":"question","name":"SUMIFS Help - Calculate a range based on current month","excerpt":"Hello! I'm looking for a formula that I can use to calculate a range based on current month. Attached is a screenshot of what I'm working with. I want the YTD column to provide a total sum based on what month it is currently. Example - We are currently in march, so YTD would show the sum of Jan, Feb, and March so far. When…","categoryID":322,"dateInserted":"2023-03-23T19:11:20+00:00","dateUpdated":null,"dateLastComment":"2023-03-25T17:40:37+00:00","insertUserID":132130,"insertUser":{"userID":132130,"name":"Luke W.","url":"https:\/\/community.smartsheet.com\/profile\/Luke%20W.","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!wjlR__DPsrw!2jjRv6jw2KQ!la3uQev_juo","dateLastActive":"2023-03-25T22:23:16+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"},"updateUserID":null,"lastUserID":132130,"lastUser":{"userID":132130,"name":"Luke W.","url":"https:\/\/community.smartsheet.com\/profile\/Luke%20W.","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!wjlR__DPsrw!2jjRv6jw2KQ!la3uQev_juo","dateLastActive":"2023-03-25T22:23:16+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":37,"score":null,"hot":3359366517,"url":"https:\/\/community.smartsheet.com\/discussion\/103093\/sumifs-help-calculate-a-range-based-on-current-month","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/103093\/sumifs-help-calculate-a-range-based-on-current-month","format":"Rich","lastPost":{"discussionID":103093,"commentID":368966,"name":"Re: SUMIFS Help - Calculate a range based on current month","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/368966#Comment_368966","dateInserted":"2023-03-25T17:40:37+00:00","insertUserID":132130,"insertUser":{"userID":132130,"name":"Luke W.","url":"https:\/\/community.smartsheet.com\/profile\/Luke%20W.","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!wjlR__DPsrw!2jjRv6jw2KQ!la3uQev_juo","dateLastActive":"2023-03-25T22:23:16+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"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\/73KGAQM0AV4P\/image.png","urlSrcSet":{"10":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=10\/https:\/\/us.v-cdn.net\/6031209\/uploads\/73KGAQM0AV4P\/image.png","300":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=300\/https:\/\/us.v-cdn.net\/6031209\/uploads\/73KGAQM0AV4P\/image.png","800":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=800\/https:\/\/us.v-cdn.net\/6031209\/uploads\/73KGAQM0AV4P\/image.png","1200":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1200\/https:\/\/us.v-cdn.net\/6031209\/uploads\/73KGAQM0AV4P\/image.png","1600":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1600\/https:\/\/us.v-cdn.net\/6031209\/uploads\/73KGAQM0AV4P\/image.png"},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-03-25T17:40:03+00:00","dateAnswered":"2023-03-23T20:30:38+00:00","acceptedAnswers":[{"commentID":368735,"body":"

This assumes that your data is in row \"1\", and your Month columns are labelled the same way as they are in your example....<\/p>

=IF(MONTH(TODAY()) = 1, Jan1, IF(MONTH(TODAY()) = 2, SUM(Jan1:Feb1), IF(MONTH(TODAY()) = 3, SUM(Jan1:Mar1), IF(MONTH(TODAY()) = 4, SUM(Jan1:Apr1), IF(MONTH(TODAY()) = 5, SUM(Jan1:May1), IF(MONTH(TODAY()) = 6, SUM(Jan1:Jun1), IF(MONTH(TODAY()) = 7, SUM(Jan1:Jul1), IF(MONTH(TODAY()) = 8, SUM(Jan1:Aug1), IF(MONTH(TODAY()) = 9, SUM(Jan1:Sep1), IF(MONTH(TODAY()) = 10, SUM(Jan1:Oct1), IF(MONTH(TODAY()) = 11, SUM(Jan1:Nov1), IF(MONTH(TODAY()) = 12, SUM(Jan1:Dec1)))))))))))))<\/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":103123,"type":"question","name":"Conditional Logic Not Working Correctly In Form","excerpt":"Hello Community, I have created a form with logic where a notes field remains hidden unless the user checks a box - this is to help keep the form shorter. It is working correctly for all other examples in the form except the 'IGB Bonded to Grounding Ring Notes:' which seems very odd. The formatting is the same as the other…","categoryID":322,"dateInserted":"2023-03-24T14:12:03+00:00","dateUpdated":null,"dateLastComment":"2023-03-24T15:57:14+00:00","insertUserID":147705,"insertUser":{"userID":147705,"name":"PKane","url":"https:\/\/community.smartsheet.com\/profile\/PKane","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/SFX5FYMHELX9\/n5U477T7XDGVD.jpg","dateLastActive":"2023-03-24T16:34:47+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":86866,"lastUser":{"userID":86866,"name":"Jeff Reisman","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Jeff%20Reisman","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/3V8W2AM105QE\/nIDXI4I7VDS7W.JPG","dateLastActive":"2023-03-24T21:30:58+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":5,"countViews":30,"score":null,"hot":3359343557,"url":"https:\/\/community.smartsheet.com\/discussion\/103123\/conditional-logic-not-working-correctly-in-form","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/103123\/conditional-logic-not-working-correctly-in-form","format":"Rich","lastPost":{"discussionID":103123,"commentID":368885,"name":"Re: Conditional Logic Not Working Correctly In Form","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/368885#Comment_368885","dateInserted":"2023-03-24T15:57:14+00:00","insertUserID":86866,"insertUser":{"userID":86866,"name":"Jeff Reisman","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Jeff%20Reisman","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/3V8W2AM105QE\/nIDXI4I7VDS7W.JPG","dateLastActive":"2023-03-24T21:30:58+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"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\/5TIDYTP0AMJN\/image.png","urlSrcSet":{"10":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=10\/https:\/\/us.v-cdn.net\/6031209\/uploads\/5TIDYTP0AMJN\/image.png","300":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=300\/https:\/\/us.v-cdn.net\/6031209\/uploads\/5TIDYTP0AMJN\/image.png","800":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=800\/https:\/\/us.v-cdn.net\/6031209\/uploads\/5TIDYTP0AMJN\/image.png","1200":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1200\/https:\/\/us.v-cdn.net\/6031209\/uploads\/5TIDYTP0AMJN\/image.png","1600":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1600\/https:\/\/us.v-cdn.net\/6031209\/uploads\/5TIDYTP0AMJN\/image.png"},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-03-24T15:34:17+00:00","dateAnswered":"2023-03-24T15:06:12+00:00","acceptedAnswers":[{"commentID":368848,"body":"

@PKane<\/a> There has to be a field higher up in the form that has logic forcing that Notes field to be visible. <\/p>

From my test sheet:<\/p>