需要多选下拉列公式,以在另一列中产生多个值
我一直在尝试使用几个大小公式(VLOOKUP、INDEX、MATCH和两者之间的每个组合),根据组织所服务的县将组织分配给一个或多个联系人。例如,我有一个多选择下拉列,其中可以选择一个或多个县,我希望分配的列自动填充监督这些县的个人。
我在参考表中创建了一个单独的表,希望这有助于解决问题;VLOOKUP块工作的前半部分,但我似乎不能得到名称填充分配的列。任何建议都非常感谢!
谢谢你帮我解决这个问题!
最佳答案
-
保罗新来的 ✭✭✭✭✭✭
好的。要拉拢多人,你需要的是……
=JOIN(DISTINCT(COLLECT({参考表CPL列},{参考表县级列},HAS([源表县级列]@row, @cell))),CHAR (10))
CHAR(10)是换行符。您可以将该部分更改为您想要的分隔符。如果坚持使用CHAR(10),请确保启用文本换行。
thinkspi.com
答案
-
保罗新来的 ✭✭✭✭✭✭
-
lvolpe ✭
谢谢你,保罗!如果我将联系单元格转换为文本,这样我就可以看到被分配的人的名字,这样可以吗?
-
保罗新来的 ✭✭✭✭✭✭
您可以将其保留为接触类型单元格。它只是不能将它用作诸如自动化或任何由用户筛选的事情的联系人。
具体如何设置参考表?您是否能够根据需要提供删除、阻止敏感/机密数据和/或用模拟数据替换的屏幕截图?
thinkspi.com
-
lvolpe ✭
当然可以。见下文。理想情况下,标题为CPL、Circuit和Region的列将自动填充与主表中选择的县相对应的值。
-
保罗新来的 ✭✭✭✭✭✭
好的。要拉拢多人,你需要的是……
=JOIN(DISTINCT(COLLECT({参考表CPL列},{参考表县级列},HAS([源表县级列]@row, @cell))),CHAR (10))
CHAR(10)是换行符。您可以将该部分更改为您想要的分隔符。如果坚持使用CHAR(10),请确保启用文本换行。
thinkspi.com
-
lvolpe ✭
三声欢呼——效果很好。谢谢你!
-
保罗新来的 ✭✭✭✭✭✭
-
帮助文章资源欧宝体育app官方888
类别
For logging changes on a particular sheet, I use an automation that copies the entire row to a different sheet used to log the data changes. The automation is triggered whenever a row is modified or added. One of the columns I have in my main sheet is a system column called Modified and the column type is \"Modified Date\".<\/p>
I then use reports or cross sheet links to create the view of the data that I want from the log file.<\/p>
Hope this is helpful for you and have a great day.<\/p>
Tom<\/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":101730,"type":"question","name":"COUNTIFS with CHILDREN and Status Bar","excerpt":"I am trying to count the number of child rows that have a status bar symbol of Quarter, Half, or Three Quarters. Example: if 2 child rows are half, one is full, one is empty, and one is three quarters, the count should be 3 to account for the two halfs and one three quarters, and negate the empty and full ones. Just trying…","categoryID":322,"dateInserted":"2023-02-24T17:22:04+00:00","dateUpdated":null,"dateLastComment":"2023-02-24T17:34:41+00:00","insertUserID":138915,"insertUser":{"userID":138915,"name":"Kristina S Otten","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Kristina%20S%20Otten","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!xJEmseeh63s!aSEn2qecc_s!4EeZbPMRxDk","dateLastActive":"2023-02-24T17:44:27+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-02-24T21:37:00+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":15,"score":null,"hot":3354521205,"url":"https:\/\/community.smartsheet.com\/discussion\/101730\/countifs-with-children-and-status-bar","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/101730\/countifs-with-children-and-status-bar","format":"Rich","lastPost":{"discussionID":101730,"commentID":364317,"name":"Re: COUNTIFS with CHILDREN and Status Bar","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/364317#Comment_364317","dateInserted":"2023-02-24T17:34:41+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-02-24T21:37:00+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,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-02-24T17:33:38+00:00","dateAnswered":"2023-02-24T17:27:39+00:00","acceptedAnswers":[{"commentID":364314,"body":"
Here you go, try this:<\/p>
=COUNTIFS(CHILDREN(Progress@row), OR(@cell = \"Quarter\", @cell = \"Half\", @cell = \"Three Quarter\"))<\/p>"},{"commentID":364317,"body":"