查找最大值并返回匹配的列标头
大家好!
我必须在一个过程中使用智能表单检查几个空腔。然后,在这个数据库中,我想知道最高和最低的空腔权重以及空腔#。我想知道我该怎么做。
下面是一个例子:
如果空腔2的值最高,空腔1的值最低。我想发送一封具有最低空腔#和值,以及最高空腔#和值的电子邮件。知道怎么做吗?
我认为,通过在文件末尾创建4个额外的列——(1)体重不足的空腔,(2)体重不足的值,(3)超重的空腔,(4)超重的值——可以获得这些信息,然后使用这些列来设置我的电子邮件结构。
邮件结构:空腔X的值为XXX,空腔Y的值为YYY。
谢谢你的帮助!
最好的答案
-
保罗新来的 ✭✭✭✭✭✭
我将开始使用最小和最大函数拉低和高的数字。
=MIN([空腔1]@row:[空腔3]@row)
=MAX([空腔1]@row:[空腔3]@row)
然后可以使用MATCH函数拉出相应的空腔数。
="空腔" + MATCH([欠重值]@row,[空腔1]@row:[空腔3]@row, 0)
="空腔" + MATCH([超重值]@row,[空腔1]@row:[空腔3]@row, 0)
thinkspi.com
-
艾萨克·盖拉多 ✭✭
伙计们,
非常感谢你的回答。但是,我仍然面临着一些问题,我正在工作的表。
每个腔有三种不同的检查。如果我有3个蛀牙,表格会显示:
龋齿-肩部
空腔-面板
空腔-底座
我只对获得基座上的重量变化感兴趣。我有这样的东西
现在,当我试着用你给我的公式。一直只显示空腔1。我认为这是因为公式应用于行中的特定单元格,而不是所有行。想办法解决这个问题。
即使我体重过轻被关在2号洞。公式显示腔1。我能解决这个问题吗?
答案
-
保罗新来的 ✭✭✭✭✭✭
我将开始使用最小和最大函数拉低和高的数字。
=MIN([空腔1]@row:[空腔3]@row)
=MAX([空腔1]@row:[空腔3]@row)
然后可以使用MATCH函数拉出相应的空腔数。
="空腔" + MATCH([欠重值]@row,[空腔1]@row:[空腔3]@row, 0)
="空腔" + MATCH([超重值]@row,[空腔1]@row:[空腔3]@row, 0)
thinkspi.com
-
马克要崩溃的 ✭✭✭✭✭✭
这就是你要找的吗?
如果你的蛀牙按照从左到右的升序排列,这个方法就有效了。您需要调整空腔范围,使其包括所有的空腔列:
Value [Underweight Cavity]: =MIN([Cavity 1]:[Cavity 3])
Value[超重腔]:=MAX([腔1]:[腔3])
空腔#[欠重空腔]:=MATCH([欠重空腔]@row,[空腔1]@row:[空腔3]@row))
空腔#[超重空腔]:=MATCH([超重空腔]@row,[空腔1]@row:[空腔3]@row))
工作吗?
马克
我很感谢你的"投票支持"或"有见地"感谢您对社区的贡献。
-
艾萨克·盖拉多 ✭✭
伙计们,
非常感谢你的回答。但是,我仍然面临着一些问题,我正在工作的表。
每个腔有三种不同的检查。如果我有3个蛀牙,表格会显示:
龋齿-肩部
空腔-面板
空腔-底座
我只对获得基座上的重量变化感兴趣。我有这样的东西
现在,当我试着用你给我的公式。一直只显示空腔1。我认为这是因为公式应用于行中的特定单元格,而不是所有行。想办法解决这个问题。
即使我体重过轻被关在2号洞。公式显示腔1。我能解决这个问题吗?
类别
Hi @mgreenwalt<\/a> <\/p> I hope you're well and safe!<\/p> Here's a possible workaround or workarounds <\/strong><\/p> Would any of those options work\/help? <\/p> I hope that helps!<\/p> Be safe, and have a fantastic week!<\/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>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":321,"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B","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":446,"urlcode":"update-requests","name":"Update Requests"}]},{"discussionID":106397,"type":"question","name":"Line Item Signature Requests","excerpt":"I have a database of assets, and want to send each asset owner an automated form, which I can do, with their asset listing. What I need to receive is a \"signature\" that the assets are acknowledged. by the owner, and include verbiage that the asset owner agrees to abide by. I can create the form, automate it, but I have not…","categoryID":321,"dateInserted":"2023-06-13T20:39:57+00:00","dateUpdated":null,"dateLastComment":"2023-06-14T14:00:24+00:00","insertUserID":162344,"insertUser":{"userID":162344,"name":"Pauline J","title":"Director of Operations\/IT","url":"https:\/\/community.smartsheet.com\/profile\/Pauline%20J","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-14T16:53:43+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-06-15T00:27:46+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":5,"countViews":29,"score":null,"hot":3373443021,"url":"https:\/\/community.smartsheet.com\/discussion\/106397\/line-item-signature-requests","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/106397\/line-item-signature-requests","format":"Rich","lastPost":{"discussionID":106397,"commentID":380488,"name":"Re: Line Item Signature Requests","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/380488#Comment_380488","dateInserted":"2023-06-14T14:00:24+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-06-15T00:27:46+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Using Smartsheet","url":"https:\/\/community.smartsheet.com\/categories\/using-smartsheet"},{"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-06-14T13:05:40+00:00","dateAnswered":"2023-06-13T22:18:29+00:00","acceptedAnswers":[{"commentID":380401,"body":" Hi @Pauline J<\/a> <\/p> I hope you're well and safe!<\/p> Here's a possible workaround or workarounds <\/strong><\/p> Would any of those options work\/help? <\/p> I hope that helps!<\/p> Be safe, and have a fantastic week!<\/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":380454,"body":" @Pauline J<\/a> <\/p> Excellent!<\/p> Happy to help!<\/p> Here's an example of how it could look.<\/p>