# Ignoring null cells in an array formula

#### coyotem78

##### New Member
Hi all

Its been awhile since I had to post on these boards, so please bear with me.

I have the following set of data in Sheet1 - Starting in A1:

Region|Client|Score|
Metro North|Client1||
Metro North|Client2||
Metro North|Client3|1| <--- First numeric value
Metro North|Client4|1|
Metro North|Client5||
Metro North|Client6||
Metro North|Client7|2|
Metro North|Client8||
Metro North|Client9||
Metro North|Client10|3|
Metro North|Client11|4|
Metro North|Client12||
Metro North|Cleint13||
...same as above record from Client14-Client269...
Metro North|Client270|5| <--- 6th numeric value

In cell E1, I'm trying to select the xth valid Score (non-null), for this example lets say its the 6th score, by using a formula.

I type in the following :-

INDEX(if(isnumeric(\$C\$2:\$C\$270),\$C\$1:\$C\$270),6) (then pressed Ctrl+Shift+Enter)

which yielded the result FALSE.

This obvious indicates that the array is including the null cells and returning the value for Client6 (6th value in the array) instead of Client270 (6th numeric value).

So this leads me to my question, is there a way I can ignore the null cells in the array formula?

### Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

#### coyotem78

##### New Member
Thanks mvptomlinson. That worked.

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,445
Messages
5,837,281
Members
430,493
Latest member
CPG2970

### 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.

### Which adblocker are you using?

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

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