Highlighting or otherwise identifying top salesperson

  • Thread starter Thread starter dataman
  • Start date Start date
D

dataman

On a summary worksheet the YTD statistics are copied from the
salespersons detail worksheets. From that date we can identify the top
salesperson weekly.

I have figured out how to find ther highest value in the sales column.

How can I either highlight the (Column A) salepersons name (cell) or
place the name in a cell at the bottom of the worksheet based on the
(Column B) highest value in the sales column?
 
you can use match to find the max row and then use that with an index
function.

=INDEX(a:b,MATCH(MAX(b:b),b:b),1)
 
Wow thats cool! Since I also have a total line it gives me the word
Total.
I added the limits:
=INDEX(A:B,MATCH(MAX(B5:B16),B:B),1)
and it works better.
Is that right or do I need the min and max in the second B:B also?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top