#1   Report Post  
Posted to microsoft.public.excel.misc
Dug
 
Posts: n/a
Default Greatest to smallest

I have a Excel spread sheet of emplyees sales. For this example lets say that
cells A1 to A10 have emplyoee sales for the month. I need to calculate their
commissions but the commissions are based on the emplyee sales ranking. The
top seller gets 2% 2nd place gets 1% 3rd place gets 0.5% and the rest get
..25%. How can I have Excel calculate the biggest number then the 2nd biggest
then the 3rd biggest etc... Thank you!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Cutter
 
Posts: n/a
Default Greatest to smallest


Use the LARGE() function or the RANK() function

Using your A1:A10 example then:
=LARGE(A1:A10,1) yields the same result as =MAX(A1:A10,1)
=LARGE(A1:A10,2) yields the 2nd highest
=LARGE(A1:A10,3) yields the 3rd highest
etc.

If you want to have the results in an adjacent column then in B1 type:
=RANK(A1,$A$1:$A$10)
and copy it down to B10


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=490568

  #3   Report Post  
Posted to microsoft.public.excel.misc
bpeltzer
 
Posts: n/a
Default Greatest to smallest

Check the function help for RANK and/or LARGE. Given the way your data is
organized, I think RANK will be more helpful.

"Dug" wrote:

I have a Excel spread sheet of emplyees sales. For this example lets say that
cells A1 to A10 have emplyoee sales for the month. I need to calculate their
commissions but the commissions are based on the emplyee sales ranking. The
top seller gets 2% 2nd place gets 1% 3rd place gets 0.5% and the rest get
.25%. How can I have Excel calculate the biggest number then the 2nd biggest
then the 3rd biggest etc... Thank you!!

  #4   Report Post  
Posted to microsoft.public.excel.misc
Ragdyer
 
Posts: n/a
Default Greatest to smallest

With sales in A1:A10, enter this formula in B1, and copy down to get the
commissions for each sales value:

=IF(RANK(A1,$A$1:$A$10)3,A1*0.0025,A1*CHOOSE(RANK (A1,$A$1:$A$10),0.02,0.01,
0.005))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Dug" wrote in message
...
I have a Excel spread sheet of emplyees sales. For this example lets say

that
cells A1 to A10 have emplyoee sales for the month. I need to calculate

their
commissions but the commissions are based on the emplyee sales ranking.

The
top seller gets 2% 2nd place gets 1% 3rd place gets 0.5% and the rest get
.25%. How can I have Excel calculate the biggest number then the 2nd

biggest
then the 3rd biggest etc... Thank you!!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sum of a row minus two smallest numbers Philippe Excel Worksheet Functions 2 August 29th 05 06:55 PM
Displaying Greatest to Least? Losse Excel Discussion (Misc queries) 2 July 14th 05 08:22 PM
Getting the 2nd largest or smallest valuesin a range Michael Rekas Excel Discussion (Misc queries) 5 January 31st 05 07:48 AM
In Excel, how to sum top 10 greatest values in a row of numbers? Michele P Excel Worksheet Functions 4 January 19th 05 04:08 PM
smallest jan jan Excel Worksheet Functions 1 January 14th 05 01:41 PM


All times are GMT +1. The time now is 01:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"