A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Excel IF/LARGE Function problem



 
 
Thread Tools Display Modes
  #1  
Old July 12th, 2004, 06:47 PM
andyp161
external usenet poster
 
Posts: n/a
Default Excel IF/LARGE Function problem

An incentive scheme at work allocates points to employees and the three
highest earners per week receive bonus points. Therefore, I want excel
to locate the three higest points in the rows of one column and insert
the corresponding bonus points in the same row of the adjacent cell.
I've tried combining the IF and Large functions to no avail.
Many thanks


---
Message posted from http://www.ExcelForum.com/

  #2  
Old July 12th, 2004, 07:08 PM
Ken Wright
external usenet poster
 
Posts: n/a
Default Excel IF/LARGE Function problem

One way:-

With labels in A1:B1, names in A2:A30, and scores in B2:B30, and the three
bonuses in the range G1:G3, highest in G1, in cell B2 put the following formula
and then copy down to B30

=IF(ISERROR(MATCH(B2,LARGE($B$2:$B$30,{1,2,3}),0)) ,"",CHOOSE(MATCH(B2,LARGE($B$2
:$B$30,{1,2,3}),0),$G$1,$G$2,$G$3))

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------



"andyp161 " wrote in message
...
An incentive scheme at work allocates points to employees and the three
highest earners per week receive bonus points. Therefore, I want excel
to locate the three higest points in the rows of one column and insert
the corresponding bonus points in the same row of the adjacent cell.
I've tried combining the IF and Large functions to no avail.
Many thanks


---
Message posted from http://www.ExcelForum.com/



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.718 / Virus Database: 474 - Release Date: 09/07/2004


  #3  
Old July 12th, 2004, 08:37 PM
Aladin Akyurek
external usenet poster
 
Posts: n/a
Default Excel IF/LARGE Function problem

See:

http://216.92.17.166/board2/viewtopic.php?t=69970

"andyp161 " wrote in message
...
An incentive scheme at work allocates points to employees and the three
highest earners per week receive bonus points. Therefore, I want excel
to locate the three higest points in the rows of one column and insert
the corresponding bonus points in the same row of the adjacent cell.
I've tried combining the IF and Large functions to no avail.
Many thanks


---
Message posted from http://www.ExcelForum.com/



  #4  
Old July 12th, 2004, 10:27 PM
andyp161
external usenet poster
 
Posts: n/a
Default Excel IF/LARGE Function problem

Ken, this works brilliantly except for one thing - if, for example, two
people have earned the highest number of points, they should both
receive the highest bonus points, and similarly for 2nd, 3rd and
fourth; with the formula you kindly put forward, only for bonus points
are matched in total?

Kind regards


---
Message posted from http://www.ExcelForum.com/

  #5  
Old July 12th, 2004, 11:43 PM
Ken Wright
external usenet poster
 
Posts: n/a
Default Excel IF/LARGE Function problem

That gets somewhat harder, because where do you stop? Is the bonus money
unlimited? If 4 people match the highest score, 2 people match the second
highest, and 3 people match the third highest score, do you give away 4 x Top
prize, 2 x 2nd prize and 3 x 3rd prize?

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------



"andyp161 " wrote in message
...
Ken, this works brilliantly except for one thing - if, for example, two
people have earned the highest number of points, they should both
receive the highest bonus points, and similarly for 2nd, 3rd and
fourth; with the formula you kindly put forward, only for bonus points
are matched in total?

Kind regards


---
Message posted from http://www.ExcelForum.com/



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.718 / Virus Database: 474 - Release Date: 09/07/2004


  #6  
Old July 13th, 2004, 09:35 AM
andyp161
external usenet poster
 
Posts: n/a
Default Excel IF/LARGE Function problem

Thanks for your response Ken. The answer, unfortunately, is yes - the
top bonus is awarded to however many people receive the highest points;
the second highest bonus is awarded to however many people receive the
second highest points, and so forth. Can this be done? Although this
might seem strange, the way the scheme is set up, it is very unlikely
that out of more than 200 hundred employees, more than 2 will receive
equal points...

Many thanks


---
Message posted from http://www.ExcelForum.com/

  #7  
Old July 13th, 2004, 10:20 AM
Aladin Akyurek
external usenet poster
 
Posts: n/a
Default Excel IF/LARGE Function problem

The formula system I quoted adjusts Top N dynamically..

"andyp161 " wrote in message
...
Thanks for your response Ken. The answer, unfortunately, is yes - the
top bonus is awarded to however many people receive the highest points;
the second highest bonus is awarded to however many people receive the
second highest points, and so forth. Can this be done? Although this
might seem strange, the way the scheme is set up, it is very unlikely
that out of more than 200 hundred employees, more than 2 will receive
equal points...

Many thanks


---
Message posted from http://www.ExcelForum.com/



  #8  
Old July 13th, 2004, 01:52 PM
andyp161
external usenet poster
 
Posts: n/a
Default Excel IF/LARGE Function problem

Aladin, thanks for your help. Unfortunately, I cannot see how this
formula will work?? I want excel to find the cells with the highest 4
numbers, where equal numbers count as one bonus level, and then insert
the bonus points as follows 1st=500, 2nd=250, 3rd=125 and 4th=75. From
my understanding of the formula you quoted, the nth largest numbers are
extracted, entered in specified cells, and, similarly, labels are
extracted and entered in specified cells.

Regards


---
Message posted from http://www.ExcelForum.com/

  #9  
Old July 13th, 2004, 02:06 PM
andyp161
external usenet poster
 
Posts: n/a
Default Excel IF/LARGE Function problem

To clarify, the original numbers are to remain where they are; bonus
points are to be inserted in the cells to the right of the four highest
numbers.

Regards


---
Message posted from http://www.ExcelForum.com/

  #10  
Old July 13th, 2004, 08:13 PM
andyp161
external usenet poster
 
Posts: n/a
Default Excel IF/LARGE Function problem

Is the above possible??

Regards


---
Message posted from http://www.ExcelForum.com/

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Office Excel aphmhidc Worksheet Functions 1 June 3rd, 2004 03:41 PM
Mouse Wheel Function Lost in Excel VBA 2003 Sid Setting up and Configuration 2 April 10th, 2004 02:53 AM
Excel XP Nested If Function Problem DaffyD® Worksheet Functions 2 March 6th, 2004 07:46 PM
GETPIVOTDATA function in Excel 2000 LS Worksheet Functions 1 February 26th, 2004 12:54 PM


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


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