Address of the first empty cell in a row

In some cases it is useful to know the address of the first empty cell in a row. This is a way to do this without macros. Write the following formula and press CTRL+SHIFT+ENTER. Excel adds braces { } and saves it as array formula.

=ADDRESS(row number,COLUMN(INDEX(firstCell:lastCell,1,MATCH(TRUE,LEN(firstCell:lastCell)=0,0))))

Example 1


Example 2

When (in which month) the department interrupted filling data? We are searching for the first blank cell in the row of department 1, 2, 3 and 4. Formula for the first department:


Note: Value #N/A means that there is no missing data.

And which cell is it?


Add a comment »3 comments to this article

  1. Can I use some VBA macro instead of this complicated formula?


  2. What if you wanted to know the first non-empty cell in the row, only parsing from the right, not the left. How would you do that?


  3. This worked perfect… thanks!


Leave a Reply to John Cancel reply
