Address of the First Blank Cell in a Column

Written by Allen Wyatt (last updated April 18, 2026)

3

In column A Georgi has several thousand values, with a mixture of numeric and text values. The column can contain blank cells, as well. He wonders if there is a formula he can use that will return the address of the first blank cell in the column.

There are many different formulas you can use to determine the first blank cell. Here are some that will do the trick, arranged from long to short:

=ADDRESS(MATCH(TRUE,INDEX(A:A="",0),0), COLUMN(A:A))
=ADDRESS(MATCH(TRUE,INDEX(LEN(A:A)=0,0),0),1)
=ADDRESS(MATCH(TRUE,INDEX(A:A="",0),0),1)
=CELL("address",XLOOKUP(TRUE,A:A="",A:A,,2))
=ADDRESS(MATCH(TRUE, EXACT("",A:A),0),1)
="$A$"&MATCH(TRUE,ISBLANK(A:A),0)
=ADDRESS(XMATCH(1,(N(A:A=""))),1)
=ADDRESS(MATCH(TRUE,A:A="",),1)

Each of these will return the exact same information—the address of the first blank cell in column A. Not all of the functions used in these formulas are available in all versions of Excel. The FILTER and XLOOKUP functions were introduced in Excel 2019, and XMATCH in Excel 2021.

If you would like the address of the first cell that appears blank, then you need to use a different formula. (A cell that appears blank may be the result of a formula returning an empty string.)

=ADDRESS(MATCH(TRUE, EXACT("", A:A), 0), 1)
="$A$"&@FILTER(ROW(A:.A),A:.A="")
=ADDRESS(XMATCH(1,(N(A:A=""))),1)
=ADDRESS(MATCH(TRUE,A:A="",),1)

Regardless of which formula you choose, remember that if your version of Excel predates Excel 2019, you'll need to enter the formula as an array formula by pressing Ctrl+Shift+Enter.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13976) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Running Macros on Hidden Worksheets

Excel allows you to hide worksheets so that they aren't visible to those using your workbook. Hiding worksheets has a ...

Discover More

Navigating Your Document Using Outline View

When you need to get around a long document, a really helpful method is to use the Outline view built into Word. This tip ...

Discover More

Turning Off ScreenTips

All those little ScreenTips bug you when moving your mouse pointer over different parts of Word's interface? You can turn ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2019 For Dummies today!

More ExcelTips (ribbon)

Compiling a List of Students in a Course

Need to pull just a limited amount of information from a large list? Here are a few approaches you might be able to use ...

Discover More

Strange Formula Conversions

When you are getting the hang of how to put together formulas in Excel, you might run into a situation where you open a ...

Discover More

Referencing Every Third External Cell

When you enter references to cells in a worksheet, using the Fill Handle to propagate the formulas to other cells can be ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 8 + 8?

2026-04-24 07:47:10

David Watssman

=HYPERLINK("#Sheet1!A"&MATCH(TRUE,ISBLANK(A:A),0),MATCH(TRUE,ISBLANK(A:A),0))

That will give you the row number in the cell; one that is also a hyperlink to the first blank cell.


2026-04-18 12:29:16

J. Woolley

The Tip's last formula (in both sections) illustrates an interesting issue related to Excel functions with optional arguments. These two versions of the formula will not produce the same result:
    =ADDRESS(MATCH(TRUE, A:A="", ), 1)
    =ADDRESS(MATCH(TRUE, A:A=""), 1)
The 3rd argument of MATCH is optional with a default value of 1; the second formula uses this default value but the first formula does not. The first formula's 3rd argument is a trailing comma followed by null which MATCH evaluates as 0, not 1; therefore, these two versions of the formula produce the same result:
    =ADDRESS(MATCH(TRUE, A:A="", ), 1)
    =ADDRESS(MATCH(TRUE, A:A="", 0), 1)
Notice the Tip's other formulas containing MATCH explicitly set its 3rd argument to 0 specifying an exact match.
Here's another example:
    =IF(A1<>"", TRUE)
    =IF(A1<>"", TRUE, )
When A1 is blank the first formula returns FALSE but the second returns 0.
And here's another example:
    =LEFT("Hello")
    =LEFT("Hello", )
The first formula returns "H" but the second returns "".
Lesson: If a function's last argument is optional, do not include a trailing comma; either omit the comma or follow it with a specific value.


2026-04-18 12:09:59

J. Woolley

Avoid using TRIMRANGE (currently in Excel 365) with column A in the Tip's formulas because the first blank cell might be outside the trimmed range. In particular, if leading blank rows are trimmed or the range is restricted like A3:A9999, then the reported address will be offset by that many rows.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.