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
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
=(B1>=LARGE($B$1:$B$10,5))+0 or

=IF((B1>=LARGE($B$1:$B$10,5)),1,"")

copy down

N.B. My post does not adjust down if there are ties; therefore edit or use Mike's.
 
Last edited:
Upvote 0
Mike / Dave. appreciate your help, this forum never ceases to amaze me on the help you get
 
Upvote 0
If you are just interested in identifying/looking at those 'top 5' rows, another option (assuming your data actually has headings) is to apply AutoFilter to your data (or at least column B) and then in the column B AutoFilter drop-down, choose
Number Filters -> Top 10 ... -> Change the boxes to Top 5 Items -> OK
That would then filter your data to only display the top 5 items (plus ties).
 
Upvote 0
Mike / Dave, both formulas work great, one question if I wanted to give these top 5 numbers a different points rating, how could I do that.

Like

Highest = 1
2nd Highest = 0.8
3rd Highest = 0.6
4th Highest = 0.4
5th Highest = 0.2
 
Upvote 0
Hi Mike, appreciate your time in replying although I get an error "You've entered too few arguments for this function"
 
Upvote 0
Mike / Dave, both formulas work great, one question if I wanted to give these top 5 numbers a different points rating, how could I do that.

Like

Highest = 1
2nd Highest = 0.8
3rd Highest = 0.6
4th Highest = 0.4
5th Highest = 0.2
Try this, copied down. You haven't identified what to do when ties occur so this is a guess in that regard.


Book1
ABC
1John12 
2Julie14
3Jim230.8
4Syeve Ryan8
5Helen321
6Tom9
7Tomas8
8Paul12
9Peter150.2
10Julie180.4
11June230.8
Top 5
Cell Formulas
RangeFormula
C1=LOOKUP(RANK(B1,B$1:B$11),{1,2,3,4,5,6},{1,0.8,0.6,0.4,0.2,""})
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,705
Messages
6,173,989
Members
452,541
Latest member
haasro02

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