Index match funcion ignoring blank cells

valmir

Active Member
Joined
Feb 10, 2021
Messages
267
Office Version
  1. 365
Platform
  1. Windows
Hi everyone!
I am using these formulas to rank names and the problem I am having is that they are returning blank cells:
=COUNTIF($BZ1:$BZ608;"<="&$BZ1:$BZ608)

=IFERROR(INDEX($BY$1:$CA$608;MATCH(BX1;$CJ$1:$CJ$608;0);1);"")
=IFERROR(INDEX($BZ$1:$BZ$608;MATCH(BX1;$CJ$1:$CJ$608;0);2);"")
=IFERROR(INDEX($BY$1:$BY$608;MATCH(BX1;$CJ$1:$CJ$608;0);3);"")

I have gone through all similar threads and I could not get anything to work
Please help!

Stats 2016.xlsx
CK
38
STATS2
 
Let me check that I'm following correctly, should it be the same results as in columns CG:CI but just sorted differently, or are the blank rows to exclude different?

If it is the same then this might work (if I have the syntax correct this time). You might need to change the last 2 to a 3 if it is sorting on the wrong column.

Excel Formula:
=SORT(INDEX(CG1#;SEQUENCE(ROWS(CG1#));{1\3\2});2;1)
 
Upvote 0

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
=SORT(INDEX(CG1#;SEQUENCE(ROWS(CG1#));{1\3\2});2;1)
Yes Sir that's it. Now, can I get rid of those rows on the top so that it starts with the first populated middle column?
Stats 2016.xlsx
CZDADB
1ASA0Ady ?
2BEN0Anderson
3PRO0Belito ?
44AB0Borra
54AB0Cadiata
64AB0Chara ?
7PLS0Chico Bel
8SAG0Didí
9PLS0Dji
104AB0Edi
11MAI0Fernandinho
12MAI0Isaías ?
134AB0Ivanilson
144AB0Jesse
15ASA0Kelly
164AB0Lara ?
17MAI0Mano ?
18PLS0Mayala
19POR0Miguel ?
20ACA0Nzuzi
214AB0Rui ?
22ASA0Tucho ?
23LIB0Yuri ?
24PLSAbel LukangoAbel
25DESAbelardo Gomes SocolaBelito Socola
26DESAbengea Mambani AliAli
27DESAdão Francisco Congo ZalataDadão Bile
28PRIAdão Joaquim Bango CabaçaTony Cabaça
29CAAAdelino Wima Calunhi AntónioManinho
30SAGAdérito Yandelela Chissoca 1Lelas 1
31MAIAdérito Yandelela Chissoca 2Lelas 2
32INTAdilson Cipriano da CruzNeblú
33LIBAdilson Ernesto KivãoAdilson Kivão
34CAAAdilson Joaquim ManuelAdilson Manuel
35SAGAdolfo da Silva Catemba 1Denilson 1
36PORAdolfo da Silva Catemba 2Denilson 2
37PROAdriano Belmiro Duarte NicolauYano
38DESAdriano da Costa Mateus AlbertoKumaca
39ASAAfonso Sebastião CabungulaFofó
40INTAgostinho Cristóvão PaciênciaMabululu
41BENAgostinho Domingos PauloAdy Paulo
42KABAires Emilson Gonzaga ZecaEmilson
43MAIAlbano Camuele SumanoPai da Bola
44PRIAlbert Milambo-MutambaMilambo
45PRIAlberto Álvaro PacaFissy
464ABAlberto dos Santos DomingosKizombé
47SAGAlentua Tangala RolliRolli
48PORAlexandre Domingos Cristóvão M'FutilaAlexandre
STATS2
 
Upvote 0

Forum statistics

Threads
1,223,920
Messages
6,175,376
Members
452,638
Latest member
Oluwabukunmi

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