How to rank if greater than 0 in Excel?
If you want to rank the values only when they are greater than 0 as below screenshot shown, how can you deal with this problem in Excel?
To rank data if greater than zero, you can apply a formula to handle it.
Select a blank cell which you will place the ranking result, and type this formula =IF(A2>0,(RANK(A2,$A$2:$A$10)), press Enter key, and drag fill handle over cells you use to rank. See screenshot:
In the formula, A2 is the first cell in the list you use, A2:A10 is the list you want to rank.
Select Range Randomly
|In some cases, you have a range needed to select a specific number of values randomly, for instance, select 10 values randomly in below ranges, how can you handle it? Kutools for Excel has a powerful utility--Sort Range Randomly which can quickly select cells/rows/column randomly, and also can sort data by column/row/range randomly.|
- How to rank data with multiple references in Excel?
- How to quickly rank a list by a specific value in Excel?