Return First Blank Cell in Range

Green Ninja X

New Member
Joined
Jul 28, 2006
Messages
6
Hi Folks,

First off always appreciate the help from everyone.

Today I have cells A1 to A500 filled with conditional values that will return blank values in every cell except one.

If I want cell B1 to return the first not blank cell in Range A1 to A500 is there a way to do this?

Thank You Very Much

GNX
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hi Folks,

First off always appreciate the help from everyone.

Today I have cells A1 to A500 filled with conditional values that will return blank values in every cell except one.

If I want cell B1 to return the first not blank cell in Range A1 to A500 is there a way to do this?

Thank You Very Much

GNX
Here's a generic method.

Array entered**:

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

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
 
Upvote 0
Or, this non-array formula

=INDEX(A1:A500,INDEX(MATCH(,-(A1:A500=""),),))

Regards
 
Upvote 0

Forum statistics

Threads
1,224,565
Messages
6,179,549
Members
452,927
Latest member
rows and columns

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