Connect with peers, share your expertise, and inspire what’s next in Smartsheet — from proven practices to practical how-to insights from fellow users and product experts.
Sign in to join the conversation:
I have two columns... one with names and one with scores. I need a formula that will show the name of the person with the highest score. Is that possible?
It is very possible in a number of different ways. I would start with something along the lines of this.
=INDEX([Name Column]:[Name Column], MATCH(MAX([Score Column]:[Score Column]), [Score Column]:[Score Column]))
Having a last name in the last part of the alphabet, I must call attention to the fact that INDEX(MATCH()) is not a good formula for this case.
Paul's example will return the first (and only) name that has a high score.
If there are two or more, well, it must be nice to have a last name like Aardvark.
Here's one that will return the names of the highest score, separated by a comma.
=JOIN(COLLECT(Name:Name, Score:Score, MAX(Score:Score)), ",")
Name = [Name Column], and so on in Paul's formula.
Craig
Craig is correct. My formula will only return 1 name which will be the name that is closest to the top of the list regardless of sort order (although lists of names are typically sorted alphabetically which would give Mr. Aardvark an advantage).
This is because the MATCH function will return the first location number in which the high score resides. This in turn will determine which row the INDEX pulls from.
If there is something built in to avoid having duplicate scores, this will work.
Otherwise you will need to use Craig's solution (which is usually my first choice for something like this but for some reason slipped my mind this time around).
.
Thanks for the catch, Craig. I usually do go with a JOIN/COLLECT when there is the possibility of multiple returns. I don't know why I didn't this time.
I thought it was Ms Aardvark, because women are smarter than men, but YMMV
Yup. Caught me again. Ms. Aardvark. Haha.
(wink)
Hello, I have a workflow where, when a team member checks a checkbox, Smartsheet automatically sends an email to themselves containing merge fields that are used as a customer email draft. The challenge is that this activity typically happens on a deadline day, and a team member may need to generate 30 or more of these…
Hi all, reaching out to see if of you have ideas; I'm hoping this makes sense: I'm having some trouble getting my formulas to pull data in correctly. I currently have a sheet (primary data) where I have data in rows where each row is a single project, with columns identifying persons, $ values, unique project identifier,…
I have a sheet with 5000 rows and 30 columns. with 4 columns of them are formular columns. How can i reach this limit for 25000000 formular cells reference? How can i enlarge this limit? I need those formular to link some data from another sheet as there is also Max cells limit for one sheet. How can I join those data…