• 505K Members
• 2,538 Online
• 602K Conversations
SOLVED

New Contributor

# #N/A Error with RANK.EQ

I'm working on an Excel file that contains roughly 622 numbers.  I'm trying to use the RANK.EQ function to capture the rank of each number in the list.  Duplicate numbers should have the same rank (e.g., if the list goes 229, 216, 200, 198, 198, 197, the rank should be 1, 2, 3, 4, 4, 6).

I'm using the following formula:

=RANK.EQ(D2,D2:D623,1)

D2 contains the first number in the list, D2:D623 is the range.  I keep getting the #N/A error and can't figure out why no values are returned.  The data in cells D2 to D623 are formatted as numbers.

Does anyone have some experience with this formula that can help me understand what I'm overlooking?  Any assistance would be appreciated.

7 Replies

# Re: #N/A Error with RANK.EQ

Use absolute references for the range:

`=RANK.EQ(D2,D\$2:D\$623,1)`

# Re: #N/A Error with RANK.EQ

you can try following formula

=RANK.EQ(D2,\$D\$2:\$D\$623,1)

It is just that you might need to use the absolute reference for D2:D623

# Re: #N/A Error with RANK.EQ

Thanks for the suggestion. The formula still returns the #N/A value. I’m guessing it has to be something in the source data that needs to be addressed.

# Re: #N/A Error with RANK.EQ

Thank you for the suggestion. The formula still returns the #N/A value. I’m guessing it’s an issue with the source data that I’ll need to review.
Solution

# Re: #N/A Error with RANK.EQ

As variant your numbers could be formatted as text, you may check in any empty cell as =ISTEXT(D2).

# Re: #N/A Error with RANK.EQ

Thank you! That was indeed the issue. I was incorrect about the cell formatting in the source. Converting the formatting did the trick! Much appreciated!

# Re: #N/A Error with RANK.EQ

@MetsMike good, you are welcome

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
50 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
32 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
15 Replies
Dev channel update to 80.0.355.1 is live
josh_bodner in Discussions on
67 Replies