How to get the max value in a column based from distinct values in another column
Hi mates. Can you please help me to get the max value in a column based from distinct values in another column?
For example is like this
如何找到“汽车”的最大价值基于勒ft table?
Please kindly help me, this is urgent.
Best Answer
-
Paul Newcome ✭✭✭✭✭✭
Try a MAX/COLLECT
=MAX(COLLECT(Number:Number, Vehicles:Vehicles, "Car"))
thinkspi.com
Answers
-
Paul Newcome ✭✭✭✭✭✭
Try a MAX/COLLECT
=MAX(COLLECT(Number:Number, Vehicles:Vehicles, "Car"))
thinkspi.com
-
Can you please help me again to get the distinct list name of the vehicle? I really appreciate your help Paul!!!
-
Paul Newcome ✭✭✭✭✭✭
Help Article Resources
Categories
Check out theFormula Handbook template!
=COUNTIFS([Employee Email]:[Employee Email], [Employee Email]@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":107559,"type":"question","name":"How do I check if two rows have the same contact name and if the start\/end dates overlap?","excerpt":"Assuming the check is for the row above.","snippet":"Assuming the check is for the row above.","categoryID":322,"dateInserted":"2023-07-13T14:55:20+00:00","dateUpdated":"2023-07-13T14:56:16+00:00","dateLastComment":"2023-07-13T15:53:29+00:00","insertUserID":163451,"insertUser":{"userID":163451,"name":"CuriousUser","url":"https:\/\/community.smartsheet.com\/profile\/CuriousUser","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-13T16:33:17+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":163451,"lastUserID":163451,"lastUser":{"userID":163451,"name":"CuriousUser","url":"https:\/\/community.smartsheet.com\/profile\/CuriousUser","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-13T16:33:17+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":4,"countViews":28,"score":null,"hot":3378526129,"url":"https:\/\/community.smartsheet.com\/discussion\/107559\/how-do-i-check-if-two-rows-have-the-same-contact-name-and-if-the-start-end-dates-overlap","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107559\/how-do-i-check-if-two-rows-have-the-same-contact-name-and-if-the-start-end-dates-overlap","format":"Rich","lastPost":{"discussionID":107559,"commentID":385043,"name":"Re: How do I check if two rows have the same contact name and if the start\/end dates overlap?","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/385043#Comment_385043","dateInserted":"2023-07-13T15:53:29+00:00","insertUserID":163451,"insertUser":{"userID":163451,"name":"CuriousUser","url":"https:\/\/community.smartsheet.com\/profile\/CuriousUser","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-13T16:33:17+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,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-07-13T15:52:43+00:00","dateAnswered":"2023-07-13T15:49:44+00:00","acceptedAnswers":[{"commentID":385040,"body":"
Hello!<\/p>
Would something like this work for you? The same formula for both contact and start date, except you change the reference to the column you want to check.<\/p>