VLOOKUP /匹配/收集

twa10028
twa10028
编辑12/09/19 公式和函数

你好,

当潜在客户填写在线表单并向我们提供信息时,我希望能够从我构建的单独数据库中自动将指定的服务匹配到我们的顾问之一。

我理解VLOOKUP用于查找表中的一个搜索值,但是如何指定多个搜索值呢?

例如,如果客户通过填写表格输入了3个条件,我如何使用Smartsheet自动分配我的一个顾问?

1.类型

2.地区,

3.需要的服务

=VLOOKUP(Type1, Region1, Required Service1, {Advisor数据库范围1},3,false)

上面的公式显然给了我问题。最好的方法是什么?

是否还有一种方法可以根据优先级分配线索?

谢谢你!

标签:

评论

  • 保罗新来的
    保罗新来的 ✭✭✭✭✭✭

    您可以使用=JOIN(COLLECT(................))

    这将使您能够连接其他工作表上符合COLLECT函数中设置的特定条件的所有名称单元格。假设只有一个名称与每个不同的需求集相匹配,那么它将只显示一个名称。

    所以基本上,如果只有一个人处理类型1、区域1、所需服务1,那么只要表单中填写了特定的组合,公式就会返回那个名字。如果有多人处理特定的组合,则可以在COLLECT函数之后包含分隔符,以使其更易于阅读。之类的……

    =JOIN(COLLECT({交叉表名称范围},{交叉表类型范围},(电子邮件保护),{跨表区域范围},(电子邮件保护),{交叉表所需服务范围},[所需服务]@row),“-”)

    让我们假设John Smith处理潜在客户在表格中列出的一组特定标准。上面的公式显示

    约翰。史密斯

    如果John Smith和Jane Doe都处理它,就会显示上面的公式

    约翰·史密斯-无名氏

    这有帮助吗?

    thinkspi.com

  • 嗨,保罗,

    是的,这确实有帮助,它接近我所寻找的,但我希望只有1个名字被返回(即使超过1人处理请求)。

    例如,假设John Doe的满意率为95%,Jane Doe的满意率为85%,我如何将其纳入公式中,以使只有一个名字被指定为主要线索-在本例中是John Doe!

    希望这是有意义的!提前感谢

  • 保罗新来的
    保罗新来的 ✭✭✭✭✭✭

    有几种方法可以做到这一点。基本上,您将使用与上述JOIN(COLLECT(..........))具有相同标准的MAX(COLLECT(..........))函数。这将显示该特定集合中所有顾问的最高评级。

    =MAX(COLLECT({Cross Sheet Rating Range}, {Cross Sheet Type Range}),(电子邮件保护),{跨表区域范围},(电子邮件保护),{交叉表所需服务范围},[所需服务]@row))

    您可以将其放在同一工作表中的单独单元格中,也可以放在主工作表中,并像这样引用该单元格(本示例为同一工作表)。

    =JOIN(COLLECT({交叉表名称范围},{交叉表类型范围},(电子邮件保护),{跨表区域范围},(电子邮件保护),{交叉表所需服务范围},[所需服务]@row,{交叉表评级范围},@cell=[评级助手栏]@row),“-”)

    或者将其构建到实际的JOIN/COLLECT中

    =JOIN(COLLECT({交叉表名称范围},{交叉表类型范围},(电子邮件保护),{跨表区域范围},(电子邮件保护),{交叉表所需服务范围},[所需服务]@row,{交叉表评级范围},@cell= MAX(COLLECT({Cross Sheet Rating Range}, {Cross Sheet Type Range}),(电子邮件保护),{跨表区域范围},(电子邮件保护),{交叉表所需服务范围},[所需服务]@row))),“-”)

    不幸的是,如果其中两个符合所有标准,包括具有相同的评级,它仍然有可能拉到多个名字。从这里开始,另一个额外的步骤是使用基本的COUNTIFS函数来计算每个人帮助了多少次,然后使用该附加标准将其分配给计数较低或较高的人。如果是一样的,你可以看看日期,并确定/考虑谁得到了最后一个。

    这可以考虑到许多因素(如您所见),但最终,理论上仍然有可能有两个名称被填充。

    为了帮助实现这一点,您可以使用helper标志列,并使用如下内容

    =IF(FIND("-", [Assigned to])@row)> 0,1)

    如果找到“-”符号(多个名称之间的分隔符),它将在helper列中抛出一个标志。然后,你可以构建条件格式和提醒/动作,让那些(希望)罕见的事件引起你的注意,让日常的事情自动化。

    thinkspi.com

  • L_123
    L_123 ✭✭✭✭✭✭

    指数(收集(),1)

  • 我附上了一个截图,向你展示我想做什么。顶部的部分来自表单,底部的部分来自单独的表单(来自示例)。

    我在公式上遇到了麻烦,我认为这是因为我只能从在线表格中引用服务,而不是从地区/类型…

    提前感谢。

    Capture.JPG

  • L_123
    L_123 ✭✭✭✭✭✭
    编辑02/25/19

    我要把它分成两张。你的作业表,还有你的时间表。分配表的公式如下:

    =指数(收集(技术员:技术员【必备服务】:【必备服务】,需要的服务@row区域:区域(电子邮件保护)类型:类型(电子邮件保护)), 1)

    替换列引用(大胆的),并在另一张纸上附上各自的参考资料。

    此外,一般来说,为了编写公式,将表单提交到表格的底部比提交到顶部要容易得多。

  • 保罗新来的
    保罗新来的 ✭✭✭✭✭✭

    好的。因此,如果由表单填充的工作表是您想要填充名称的地方,那么您将在技术员列中放置以下内容…

    =JOIN(COLLECT({交叉表参考技术人员姓名列},{交叉表参考服务列},[所需服务]@row,{交叉表参考区域服务列},(电子邮件保护),交叉表格参考服务类型栏},(电子邮件保护)),“-”)

    这将拉出Jack和Joe Smith(显示为Jack Smith - Joe Smith),但这是您将使用上面列出的一些其他选项的地方,无论它是附加标准和/或条件格式。

    thinkspi.com

帮助文章参考资料欧宝体育app官方888

想要直接在智能表中练习使用公式吗?

请查看公式手册模板!
TODAY(),…","categoryID":322,"dateInserted":"2023-06-22T01:59:46+00:00","dateUpdated":null,"dateLastComment":"2023-06-22T03:13:30+00:00","insertUserID":162138,"insertUser":{"userID":162138,"name":"Louis.Smith","url":"https:\/\/community.smartsheet.com\/profile\/Louis.Smith","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-22T03:41:23+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-06-22T05:23:48+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":35,"score":null,"hot":3374804596,"url":"https:\/\/community.smartsheet.com\/discussion\/106749\/how-to-count-how-many-interviews-in-the-current-week","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/106749\/how-to-count-how-many-interviews-in-the-current-week","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":106749,"commentID":381670,"name":"Re: How to count how many interviews in the current week?","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/381670#Comment_381670","dateInserted":"2023-06-22T03:13:30+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-06-22T05:23:48+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\/TNZRUD6K3A2N\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-06-22T03:41:21+00:00","dateAnswered":"2023-06-22T03:13:30+00:00","acceptedAnswers":[{"commentID":381670,"body":"

My apologies, I was counting interviews remaining in the current week. This will give you total interviews for the current week.<\/p>

=COUNTIFS([Interview Date]:[Interview Date], @cell <= TODAY(7 - WEEKDAY(TODAY())), [Interview Date]:[Interview Date], @cell > TODAY() - WEEKDAY(TODAY()), Fleet:Fleet, \"A220\")<\/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":106748,"type":"question","name":"I want to add a column that lists dates 6 months from other date column","excerpt":"Have tried a few different formulas and not working","categoryID":322,"dateInserted":"2023-06-22T00:40:47+00:00","dateUpdated":null,"dateLastComment":"2023-06-22T03:01:34+00:00","insertUserID":162620,"insertUser":{"userID":162620,"name":"AnneMarie_1990_","title":"HR","url":"https:\/\/community.smartsheet.com\/profile\/AnneMarie_1990_","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-22T03:02:00+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-06-22T05:23:48+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":5,"countViews":24,"score":null,"hot":3374800341,"url":"https:\/\/community.smartsheet.com\/discussion\/106748\/i-want-to-add-a-column-that-lists-dates-6-months-from-other-date-column","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/106748\/i-want-to-add-a-column-that-lists-dates-6-months-from-other-date-column","format":"Rich","lastPost":{"discussionID":106748,"commentID":381664,"name":"Re: I want to add a column that lists dates 6 months from other date column","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/381664#Comment_381664","dateInserted":"2023-06-22T03:01:34+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-06-22T05:23:48+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-06-22T10:06:39+00:00","dateAnswered":"2023-06-22T02:54:41+00:00","acceptedAnswers":[{"commentID":381661,"body":"

You can try putting this in. It is just the same formula with the IFERROR() removed. If that results in errors in those same cells, the date in that specific row may not be formatted correctly.<\/p>


<\/p>

=DATE(YEAR([First Date]@row), MONTH([First Date]@row) + 1, DAY([First Date]@row))<\/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":106687,"type":"question","name":"Adding one working day (no blanks)","excerpt":"Hi, I am trying to add a day onto a date generated from a previous date - However, it needs to be a working day and the cells with no previous date need to stay blank until the previous date is entered... i am currently using - =[Expected Final or QA Approval]@row + 1 - however the cells with no date in the previous cells…","categoryID":322,"dateInserted":"2023-06-21T13:22:59+00:00","dateUpdated":null,"dateLastComment":"2023-06-22T07:39:15+00:00","insertUserID":161866,"insertUser":{"userID":161866,"name":"Kirsteen Leckie","title":"Project Manager","url":"https:\/\/community.smartsheet.com\/profile\/Kirsteen%20Leckie","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-22T07:37:06+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":161866,"lastUser":{"userID":161866,"name":"Kirsteen Leckie","title":"Project Manager","url":"https:\/\/community.smartsheet.com\/profile\/Kirsteen%20Leckie","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-22T07:37:06+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":17,"score":null,"hot":3374774534,"url":"https:\/\/community.smartsheet.com\/discussion\/106687\/adding-one-working-day-no-blanks","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/106687\/adding-one-working-day-no-blanks","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":106687,"commentID":381679,"name":"Re: Adding one working day (no blanks)","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/381679#Comment_381679","dateInserted":"2023-06-22T07:39:15+00:00","insertUserID":161866,"insertUser":{"userID":161866,"name":"Kirsteen Leckie","title":"Project Manager","url":"https:\/\/community.smartsheet.com\/profile\/Kirsteen%20Leckie","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-22T07:37:06+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-06-22T10:01:01+00:00","dateAnswered":"2023-06-21T14:06:52+00:00","acceptedAnswers":[{"commentID":381487,"body":"

Try this:<\/p>

=IFERROR(WORKDAY([Expected Final or QA Approval]@row, 1), \"\")<\/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"}]}],"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":[]}">

公式和函数趋势