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)))) Continue reading “Address of the first empty cell in a row” »

Address of the first empty cell in a column

In some cases it is useful to know the address of the first empty cell in a column. 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(INDEX(firstCell:lastCell,
MATCH(TRUE,LEN(firstCell:lastCell)=0,0),1)),column number)

Continue reading “Address of the first empty cell in a column” »

Copyright © All Rights Reserved · Green Hope Theme by Sivan & schiy · Proudly powered by WordPress