- What's the difference between RANK, RANK.AVG, and RANK.EQ?
- RANK and RANK.EQ are identical: they give tied values the same rank, then skip ranks after the group (e.g., ranks 1, 2, 2, 4). RANK.AVG handles ties by averaging their rank positions, so ties at positions 2–3 both get rank 2.5. Use RANK.AVG when tie-breaking matters; use RANK for standard competition ranking.
- Why does RANK.AVG return a decimal?
- Decimals appear when the number you're ranking is tied with other values. RANK.AVG averages the positions those tied values occupy. If two values tie at ranks 4 and 5, RANK.AVG returns 4.5 for both. If there are no ties, you get an integer.
- How do I rank multiple columns at once?
- Use RANK.AVG in a helper column for each column you want to rank, or wrap it in BYROW/BYCOL for array formulas in newer Excel and Google Sheets versions. For example, =BYROW(data, LAMBDA(row, RANK.AVG(row, data, 0))) ranks each row against all rows.
- Can I rank text values with RANK.AVG?
- No—RANK.AVG only works with numbers and dates. Text values cause #VALUE! error. If you need to rank text alphabetically, use MATCH to find position, or convert text to numeric codes and rank those instead.