Non-Blank INDEX+MATCH without array

qlander

New Member
Joined
Dec 26, 2018
Messages
12
Office Version
  1. 2016
Platform
  1. Windows
Hi All,

I was unable to find a reference to this, but I'm trying to use INDEX/MATCH to return the first non-blank result like
{=INDEX(range,MATCH(FALSE,ISBLANK(range),0))}

but due to the size of data, I can't use an array...

Any ideas?
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi All,

I was unable to find a reference to this, but I'm trying to use INDEX/MATCH to return the first non-blank result like

but due to the size of data, I can't use an array...

Any ideas?

Do it like this and it will populate instantly
=MATCH(TRUE,INDEX(ISBLANK(A1:A30),0,0),0)
 
Last edited:
Upvote 0
I'm trying to use INDEX/MATCH to return the first non-blank result like

but due to the size of data, I can't use an array...

Hi,

If you Only need to return the relative Row number within the referenced range And there are No formulas within that range that results in Blank ( "" ), then reverse the logic by adding NOT in the formula suggested in Post # 2, like so:

=MATCH(TRUE,INDEX(NOT(ISBLANK(A1:A30)),0,0),0)

If you need to return the Actual Value in the First non-blank cell within the range ( with or without formulas producing "" )...

If the value you seek is Text Only, try this:

=INDEX(A1:A30,MATCH("?*",A1:A30,0))

If the value you seek can be Text and/or Numeric, whichever comes first, try this:

=INDEX(A1:A10,MATCH(TRUE,INDEX(A1:A30<>"",0,0),0))

All formulas entered normally.
 
Upvote 0
Oops, typo above, last formula should be:

=INDEX(A1:A30,MATCH(TRUE,INDEX(A1:A30<>"",0,0),0))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,582
Members
449,089
Latest member
Motoracer88

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