Hi
I have a set of data that from a survey linked to names. I have the formulas to pull the rankings but when there is a tie that occurs, it takes the name twice. Is there a way to have it display both names when it is a tie?
Hi
I have a set of data that from a survey linked to names. I have the formulas to pull the rankings but when there is a tie that occurs, it takes the name twice. Is there a way to have it display both names when it is a tie?
in cell K2 use the following formula:
Formula:
Please Login or Register to view this content.
drag across and down
currently names will be spearated by a <space>. You can change this by changeing the red quotation marks to whatever you would prefer.
<----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.
Try:
PHP Code:
=WRAPROWS(TEXTSPLIT(TEXTJOIN("|",,BYROW(B2:I20,LAMBDA(bi,TEXTJOIN("|",,TAKE(SORT(VSTACK($B$1:$I$1,bi),2,-1,TRUE),1))))),"|"),8)
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
And, with column and row headings:
PHP Code:
=VSTACK({"Ideal Boss Survey","Highest",2,3,4,5,6,7,8},HSTACK(A2:A20,WRAPROWS(TEXTSPLIT(TEXTJOIN("|",,BYROW(B2:I20,LAMBDA(bi,TEXTJOIN("|",,TAKE(SORT(VSTACK($B$1:$I$1,bi),2,-1,TRUE),1))))),"|"),8)))
Please see Master (TMS) in updated sample workbook.
None of the suggestions made so far will work in Excel 2019 - they all use functions that exist only in 2024 and 365.
https://bettersolutions.com/excel/fu...-functions.htm
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
Oops. I didn't check the profile, I just saw the solution from dosydos and went from there![]()
Here is solution for older version:
Never use Merged Cells in Excel
Thanks zbor.
To keep it simple, just add +COLUMN()*EXP(-20) to the first row: =Jeff!B2+COLUMN()*EXP(-20), =Ana!B2+COLUMN()*EXP(-20), =Nick!B2+COLUMN()*EXP(-20), etc. Then fill down. Nothing else has to change. The existing LARGE formulae will be comparing the adjusted values.
That said, the table could be populated with one formula copied across and down.
K1:Formula:
Please Login or Register to view this content.
Last edited by TMS; 03-27-2025 at 05:52 AM.
Updated sample file attached.
@zbor: thanks for the +COLUMN()*EXP(-20). In the past, I would have used +COLUMN()/1000000, but I think +COLUMN()*EXP(-20) is more aesthetically pleasing. And thanks for the +rep
![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks