Ignoring null cells in an array formula


New Member
Sep 9, 2002
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:

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?

Thanks in advance

Some videos you may like

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Latest member

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...