IF statement taking ties in Rank

JTL9161

Well-known Member
Joined
Aug 29, 2012
Messages
606
Office Version
  1. 365
Platform
  1. Windows
I am using this formula =IFERROR(RANK(AZ2, AZ$2:AZ$21,1),"") to rank numbers in 20 rows (1 column) from low to high 1 through 20.
From that column I use this formula =IF(BA2<9, AZ2,"") to find the lowest 8 numbers

BUT that formula takes both numbers if there is a tie. Meaning if 2 numbers or more in the rank from 1 to 20 column has 2 of the same number then it takes more than 8 of the lowest. If one of the rank numbers are duplicates, then i get the 9 of the lowest numbers not 8.

Is there a way to correct this so regardless of ties in the rank the if formula column?

Thanks in advance,
James
 
How about
Excel Formula:
=TAKE(SORT(AZ2:AZ21),8)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
How about
Excel Formula:
=TAKE(SORT(AZ2:AZ21),8)

I actually have the same problem but I can't use your formula here because I'm using an old version of Excel. Is there an alternative solution?
 
Upvote 0
I actually have the same problem but I can't use your formula here because I'm using an old version of Excel. Is there an alternative solution?
Like this?

25 03 23.xlsm
AZBA
1
291
3133
473
563
6184
776
8187
977
103
1113
129
131
144
158
169
178
183
197
208
213
Lowest 8
Cell Formulas
RangeFormula
BA2:BA9BA2=SMALL(AZ$2:AZ$21,ROWS(BA$2:BA2))
 
Upvote 0

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