List count changes and large function will not work

Edmonch1

New Member
Joined
Aug 18, 2017
Messages
6
I use the large function to rank values in descending order however when the number in the list changes (say from 40 down to 20) the large function will not work unless i modify the formula. Is there a better way?
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
DeviceCategoryTypeTime Type "=LOOKUP(2,1/(COUNTIF($O$1:O1,$C$2:$C$46)=0),$C$2:$C$46)"TIME TOTAL - "=SUM(IF(C$2:C$46=O2,D$2:D$46,0))LARGE FORMULA "=LARGE($P$2:$P$46,N2)Type Index - '=INDEX(O:O,MATCH(Q2,P:P,0))
1DurationSample 45185.51Sample 37.639106737#N/A#N/A
1DurationSample 45156.12Sample 2220.1890678#N/A#N/A
1DurationSample 45155.53Sample 443.10638802#N/A#N/A
1DurationSample 45109.74Sample 274.20846544#N/A#N/A
1DurationSample 45102.65Sample 1429.4269287#N/A#N/A
1DurationSample 4599.36Sample 451380.495717#N/A#N/A
1DurationSample 4597.77#N/A#N/A#N/A#N/A
1DurationSample 4578.68#N/A#N/A#N/A#N/A
1DurationSample 4573.79#N/A#N/A#N/A#N/A
1DurationSample 4554.010#N/A#N/A#N/A#N/A
1DurationSample 4548.611#N/A#N/A#N/A#N/A
1DurationSample 4548.012#N/A#N/A#N/A#N/A
1DurationSample 4543.713#N/A#N/A#N/A#N/A
1DurationSample 4543.714#N/A#N/A#N/A#N/A
1DurationSample 4542.615#N/A#N/A#N/A#N/A
1DurationSample 4541.516#N/A#N/A#N/A#N/A
1DurationSample 138.717#N/A#N/A#N/A#N/A
1DurationSample 137.118#N/A#N/A#N/A#N/A

<tbody>
</tbody><colgroup><col span="3"><col><col><col><col><col><col></colgroup>
 
Upvote 0
O column will give the unique list. I used the formula "=LOOKUP(2,1/(COUNTIF($O$1:O1,$C$2:$C$46)=0),$C$2:$C$46)" I need the Large formula to change because the number of entries will change. Large formula is "=LARGE($P$2:$P$46,N2)" I have to manually change the Large formula to the specific number in P column then it works. I wish I could attach the file
 
Upvote 0

Forum statistics

Threads
1,214,614
Messages
6,120,520
Members
448,968
Latest member
Ajax40

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