Is it possible to rank a cell value that's not in the list. Please see attached example
rank.xlsx
Is it possible to rank a cell value that's not in the list. Please see attached example
rank.xlsx
What should the answer be for the example?
Entia non sunt multiplicanda sine necessitate
Try this user defined function
Open the VBA editor by hitting Alt F11.Please Login or Register to view this content.
Insert a new module with Insert - Module
Paste in the above function
Go back to the sheet by hitting Alt F11.
In a G2, enter =RankSpecial(F2,B1:B27)
Remember to save the workbook as a macro enabled workbook .xlsm
Martin
If you sort on column B, smallest to largest, and add a zero (0), in A1 and B1, you can try:
Formula:Please Login or Register to view this content.
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
Try this...
=RANK(F2,(F2,B1:B27))
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks