1. ### Welcome to Chandoo.org Forums. Short message for you

Hi Guest,

Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

Yours,
Chandoo
2. Hi All

Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

Post Spam and you Will Be Deleted as a User

Hui...

3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

# Formula to rank absolute values, exclude 0, blank & text

Discussion in 'Ask an Excel Question' started by JeffreyAJ, Apr 20, 2017.

1. ### JeffreyAJNew Member

Messages:
3
Hi,

I just joint and this is my first post, hope people here go easy with me.

I have a mix of data (numbers, texts, blanks) in a range and I need a formula to rank the numbers according to their absolute value ignoring blanks, 0 & texts. The formula should work without a helper column and not array entered. Hope that I have explain myself clearly.

Sample data and desired results are in the attached file.

Thank you very much for the help.

File size:
8.2 KB
Views:
10
2. ### bosco_yipWell-Known Member

Messages:
1,225
Try,

In C2, non-array formula copy down :

=IF(N(A2)*(A2<>0),SUMPRODUCT(--(ABS(N(+A\$2:A\$10))>ABS(A2)))+1,"")

Regards
Bosco

File size:
9.1 KB
Views:
7
3. ### JeffreyAJNew Member

Messages:
3
Thanks bosco_yip, works like a charm.

Regards
Jeffrey