Rank function

vmjan02

Well-known Member
Joined
Aug 15, 2012
Messages
1,132
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
I am not sure as why the rank function is not working, any wany out

Excel Formula:
 =RANK(M4, $M$4:$M$500000, 0) + COUNTIF($M$4:M4, M4) - 3

FDT_Daily_Analysis_Report_V1.xlsm
MNO
3Fault Rate>=50Top 5 FDT
41%Yes#N/A
51%Yes#N/A
61%Yes#N/A
72%Yes#N/A
81%Yes#N/A
93%Yes#N/A
101%Yes#N/A
112%Yes#N/A
121%Yes#N/A
131%Yes#N/A
141%Yes#N/A
152%Yes#N/A
161%Yes#N/A
172%Yes#N/A
181%Yes#N/A
191%Yes#N/A
202%Yes#N/A
216%No#N/A
222%Yes#N/A
231%Yes#N/A
241%Yes#N/A
250%Yes#N/A
262%Yes#N/A
271%Yes#N/A
283%Yes#N/A
292%Yes#N/A
301%Yes#N/A
312%Yes#N/A
321%Yes#N/A
333%No#N/A
341%Yes#N/A
351%Yes#N/A
361%Yes#N/A
373%Yes#N/A
381%Yes#N/A
394%Yes#N/A
401%Yes#N/A
411%Yes#N/A
423%No#N/A
434%Yes#N/A
447%Yes#N/A
452%Yes#N/A
461%Yes#N/A
476%Yes#N/A
484%Yes#N/A
494%Yes#N/A
502%Yes#N/A
513%Yes#N/A
521%Yes#N/A
537%Yes#N/A
549%Yes#N/A
558%Yes#N/A
564%Yes#N/A
575%Yes#N/A
585%Yes#N/A
599%Yes#N/A
601%Yes#N/A
614%No#N/A
622%Yes#N/A
638%No#N/A
642%Yes#N/A
653%No#N/A
662%No#N/A
674%No#N/A
683%Yes#N/A
Top-FDT-Fault-Rate
Cell Formulas
RangeFormula
N4:N68N4=IF(L4>=50,"Yes","No")
O4:O68O4=RANK(M4, $M$4:$M$500000, 0) + COUNTIF($M$4:M4, M4) - 3
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi,

not sure what your +COUNTIF is looking to do, but if you delete it does the RANK work on its own ?

Rob
 
Upvote 0
Check that your numbers are real numbers & not text.
Also check that you don't have any #N/A values in col M
 
Upvote 0
Check that your numbers are real numbers & not text.
Also check that you don't have any #N/A values in col M
yes they are numbers and not text there are no #N/A values in column M.
 
Upvote 0
The only way that I can get the formula to return #N/A on all rows, is if all the numbers are text, or there is at least one #N/A error in col M.
Try changing the range the formula is looking at to your actual data range, rather than all the way down to row 500,000 & see if that works.
 
Upvote 0
What happens if you limit the range as I suggested?
 
Upvote 0
Can you share the actual workbook?
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,184
Members
452,615
Latest member
bogeys2birdies

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