How to rank using index,match, small function

Msigwa

New Member
Joined
Sep 8, 2024
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hi
Im trying to rank some sort of data, the index formula worked fine when there is no blank cell in AZ, and AY.

But when there is blank cell the formula can't work. Below is the formula i used
=INDEX(J$44:J$1772,MATCH(SMALL(INDEX(AZ$44:AZ$1772+(AY$44:AY$1772/10),0),ROWS(J$44:J44)),INDEX(AZ$44:AZ$1772+(AY$44:AY$1772/10),),0))
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
I have amended your formula so that it only ranks rows where both Column AZ and Column AY contain numbers...

=INDEX(J$44:J$1772,MATCH(SMALL(IF((ISNUMBER(AZ$44:AZ$1772)+ISNUMBER(AY$44:AY$1772))=2,INDEX(AZ$44:AZ$1772+(AY$44:AY$1772/10),0)),ROWS(J$44:J44)),INDEX(AZ$44:AZ$1772+(AY$44:AY$1772/10),0),0))

Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,221,517
Messages
6,160,264
Members
451,635
Latest member
nithchun

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top