Page 1 of 1

Large Function listing top 10 salesmen

Posted: Fri Nov 30, 2018 5:40 am
by dwood505
Helo,

I am brand new to this forum and tried to search for my answer, but only found out stuff that I am already familiar with. Here's my problem. I can list the top 10 sales values without the salesperson's names, but I also need the names for the 10 best salespeople. The problem I have is that two of the sales people have sold the exact same amount, but my formula only lists the first salesperson name twice. I used Vlookup and tried using the large function, but got the same results. For some reason it will only list the name of the first salesperson Example below:

Sales Person Sales

John Smith 2,000,000
Kevin Jones 1,970,000
Shirley Watts 1,500,500
Billy Barns 979,500
Bob Friendly 525,000
Bob Friendly 525,000 The second Bob Friendly should be Harold Pierce.

What can I do to fix this issue. Thanks for whatever help you can give me. DWoodly

Re: Large Function listing top 10 values with salesmen names

Posted: Fri Nov 30, 2018 6:11 am
by FJCC
Have you considered using a filter instead of a function? To do that, select the data, including the header row and then the menu item Data -> Filter -> AutoFilter. From the drop down menu on the header of the Sales column select Top 10. You can then copy the list to a convenient place.
Alternatively, you can use Data -> Filter -> Standard Filter, set Field Name to Sales, Condition to Largest, Value to 10 and under More Options choose to Copy Results to a convenient place.

Re: Large Function listing top 10 values with salesmen names

Posted: Fri Nov 30, 2018 8:45 am
by Zizi64
Try to combine the LARGE() and the VLOOKUP() functions. The names must be located at the right side of the values for the function VLOOKUP(): Make a helper column with a copy of the names.

Or please upload your ODF type samlpe file here.

Re: Large Function listing top 10 values with salesmen names

Posted: Fri Nov 30, 2018 12:07 pm
by Lupp
Try to combine the LARGE() and the VLOOKUP() functions.
This way you get erroneous results as soon as the data LARGE() is applied to, contain any duplicates. Disambiguating them "on the fly" is possible, but a bit tricky. I would suggest to use a sorted copy (option 'Copy sort results to:').

Re: Large Function listing top 10 values with salesmen names

Posted: Fri Nov 30, 2018 8:16 pm
by Zizi64
Try to combine the LARGE() and the VLOOKUP() functions.
This way you get erroneous results as soon as the data LARGE() is applied to, contain any duplicates.
Yes, it is true.

Re: Large Function listing top 10 values with salesmen names

Posted: Sun Dec 02, 2018 8:37 pm
by MrProgrammer
Hi, and welcome to the forum.
dwood505 wrote:The problem I have is that two of the sales people have sold the exact same amount, but my formula only lists the first salesperson name twice.
[Solved] Need help with INDEX/MATCH function

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.

[Tutorial] Ten concepts that every Calc user should know

Re: Large Function listing top 10 values with salesmen names

Posted: Sun Dec 02, 2018 9:18 pm
by Villeroy
A pivot table can do the trick without clumsy formulas.
With a database instead of a spreadsheet it would be even easier.

Re: Large Function listing top 10 values with salesmen names

Posted: Mon Dec 03, 2018 12:58 am
by robleyd
Open Office Version 12.0.1 (14606.2.104.1.1)
This is apparently a message from the future ....