Finding the highest number

kipper19

Board Regular
Joined
Apr 12, 2014
Messages
92
Office Version
  1. 365
Platform
  1. Windows
Hi all,
Looking for some help on a formula to find the highest values in a range then returning a 1 against the name.


Highest.png
 
Thank you kindly Peter and to all for your help, works well
Glad it worked for you.

I think the adjustments to Mike's formula could be
=IF(RANK(B1,B:B)<6,1-(RANK(B1,B:B)-1)*0.2, "")
or
=IF(RANK(B1,B:B)<6,1.2-RANK(B1,B:B)*0.2, "")
 
Last edited:
Upvote 0

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Small typo

=IF(RANK(B1,B:B) < 6, 1-(5-RANK(B1,B:B))*.2, "")
Mike
I think there is more to it than that. For the OP's sample data that gives 0.2 for Helen who has the highest score & so should get "1" according to post #5 . Have you considered my suggestions in post #11 ?
 
Upvote 0
Peter,

I have noticed that as I have quiet a bit of data ie numbers in Column D that the formula will calculate the ranking over the whole column, how could I use a look up function to check Columns A & B then only average the data in Column D that corresponds to Column A & B etc

LookUp.png
 
Upvote 0
We can't copy the sample data from an image like that. Can you re-post the sample data and expected results in a form that we can copy to test with? The 'Look here' link in my signature block below has some suggestions for how you can do that.
 
Upvote 0
Peter,

I installed the addins VBHTML Maker into my excel addin folder but cannot get it work to post the file so don't worry to much, appreciate you trying to help
 
Upvote 0
I installed the addins VBHTML Maker into my excel addin folder but cannot get it work to post the file so don't worry to much, appreciate you trying to help
You followed the wrong link in my signature. Follow 'Look here' not 'VBHTML Maker'
 
Upvote 0
Peter I can only post as this which I think can be copied

Monday





1st





John





12





0.2
Monday1stJulie140.4
Monday1stJim230.8
Monday1stSteve8
Monday1stHelen321
Monday1stTom9
Monday1stTomas8
Monday1stPaul120.2
Monday1stPeter150.6
Monday1stJon7
Monday1stJerry5
Tuesday2ndJohn160.4
Tuesday2ndJulie5
Tuesday2ndJim451
Tuesday2ndSteve330.8
Tuesday2ndHelen120.4
Tuesday2ndTom5
Tuesday2ndTomas7
Tuesday2ndPaul6
Tuesday2ndPeter220.6
Wednesday3rdJohn8
Wednesday3rdJulie90.2
Wednesday3rdJim231
Wednesday3rdSteve210.8
Wednesday3rdHelen110.4
Wednesday3rdTom2
Wednesday3rdTomas5
Wednesday3rdPaul90.2
Wednesday3rdPeter140.6
Wednesday3rdJon6
Wednesday3rdJerry3
Wednesday3rdSam6
Wednesday3rdStan6
<colgroup><col width="124" style="width: 93pt; mso-width-source: userset; mso-width-alt: 4534;"> <col width="64" style="width: 48pt;" span="4"> <tbody> </tbody>
 
Upvote 0
Peter I can only post as this which I think can be copied
I can copy that but did you see post #18 ? The options make much neater screen shots. ;)


Book1
ABCDE
1Monday1stJohn120.2
2Monday1stJulie140.4
3Monday1stJim230.8
4Monday1stSteve8
5Monday1stHelen321
6Monday1stTom9
7Monday1stTomas8
8Monday1stPaul120.2
9Monday1stPeter150.6
10Monday1stJon7
11Monday1stJerry5
12Tuesday2ndJohn160.4
13Tuesday2ndJulie5
14Tuesday2ndJim451
15Tuesday2ndSteve330.8
16Tuesday2ndHelen120.2
17Tuesday2ndTom5
18Tuesday2ndTomas7
19Tuesday2ndPaul6
20Tuesday2ndPeter220.6
21Wednesday3rdJohn8
22Wednesday3rdJulie90.2
23Wednesday3rdJim231
24Wednesday3rdSteve210.8
25Wednesday3rdHelen110.4
26Wednesday3rdTom2
27Wednesday3rdTomas5
28Wednesday3rdPaul90.2
29Wednesday3rdPeter140.6
30Wednesday3rdJon6
31Wednesday3rdJerry3
32Wednesday3rdSam6
33Wednesday3rdStan6
Top 5 (2)
Cell Formulas
RangeFormula
E1=LOOKUP(SUMPRODUCT(($A$1:$A$33=A1)*($B$1:$B$33=B1)*(D1<$D$1:$D$33))+1,{1,2,3,4,5,6},{1,0.8,0.6,0.4,0.2,""})
 
Upvote 0

Forum statistics

Threads
1,215,581
Messages
6,125,657
Members
449,247
Latest member
wingedshoes

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
Back
Top