Return the naame of highest sales person/persons based on percentage

subtotalatom

New Member
Joined
Feb 3, 2020
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Hello

=TEXTJOIN(",",TRUE,UNIQUE(IF(D9=D9:D12,C9:C12,"")))

i am trying create a formula that returns the value of the highest sales person to one cell based on the highest percentage. however what i need it to do is return the mulitple names to the same cell if there are multiple sales persons with the same highest percentage.

i have managed to use the formula above to return the names of the multiple names to the same cell. the issue im having is this just returns duplicates so it doesnt matter if sales person A has 80%. it will return sales person b and c name to the cell because they have same value of lets say 50%

anyone have any idea?
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
56,809
Office Version
  1. 365
Platform
  1. Windows
Can you post some sample data along with expected results.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 

subtotalatom

New Member
Joined
Feb 3, 2020
Messages
14
Office Version
  1. 365
Platform
  1. Windows
KBJM Bet Club Tracker.xlsx
GHIJ
1Total Individual WinsTotal Indivdual Losses
2Kurtis2Kurtis2
3Ben2Ben2
4Jack2Jack2
5Mike2Mike2
6
7
8Most Consistent
9Kurtis50%
10Ben50%
11Jack50%
12Mike50%
13Kurtis,Ben,Jack,Mike
Sheet3
Cell Formulas
RangeFormula
H2H2=COUNTIF('Bet Tracker'!F3:F46,"W")
H3H3=COUNTIF('Bet Tracker'!K3:K46,"w")
H4H4=COUNTIF('Bet Tracker'!P3:P46,"w")
H5H5=COUNTIF('Bet Tracker'!U3:U46,"W")
J2J2=COUNTIF('Bet Tracker'!F3:F46,"L")
J3J3=COUNTIF('Bet Tracker'!K3:K46,"L")
J4J4=COUNTIF('Bet Tracker'!P3:P46,"L")
J5J5=COUNTIF('Bet Tracker'!U3:U46,"L")
H9:H12H9=H2/(H2+J2)
G13G13=TEXTJOIN(",",TRUE,UNIQUE(IF(H9=H9:H12,G9:G12,"")))
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
56,809
Office Version
  1. 365
Platform
  1. Windows
Ok, how about
+Fluff 1.xlsm
GHIJ
1Total Individual WinsTotal Indivdual Losses
2Kurtis2Kurtis2
3Ben2Ben2
4Jack2Jack4
5Mike2Mike2
6
7
8Most Consistent
9Kurtis50%
10Ben50%
11Jack33%
12Mike50%
13Kurtis,Ben,Mike
Main
Cell Formulas
RangeFormula
H9:H12H9=H2/(H2+J2)
G13G13=TEXTJOIN(",",TRUE,UNIQUE(FILTER(G9:G12,H9:H12=MAX(H9:H12))))
 
Solution

subtotalatom

New Member
Joined
Feb 3, 2020
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Ok, how about
+Fluff 1.xlsm
GHIJ
1Total Individual WinsTotal Indivdual Losses
2Kurtis2Kurtis2
3Ben2Ben2
4Jack2Jack4
5Mike2Mike2
6
7
8Most Consistent
9Kurtis50%
10Ben50%
11Jack33%
12Mike50%
13Kurtis,Ben,Mike
Main
Cell Formulas
RangeFormula
H9:H12H9=H2/(H2+J2)
G13G13=TEXTJOIN(",",TRUE,UNIQUE(FILTER(G9:G12,H9:H12=MAX(H9:H12))))
Fantastic.

XL2BB is a slick idea as well.

thankyou for your help
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
56,809
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,130,072
Messages
5,639,916
Members
417,118
Latest member
warranty123

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top