Find the first empty cell in the same column/row

前端 未结 3 1830
忘掉有多难
忘掉有多难 2020-12-06 17:28

I am trying to work out a formula that will give me the row number of the first empty cell in a column. Currently I am using:

=MATCH(TRUE, INDEX(ISBLANK(A:A)         


        
3条回答
  •  广开言路
    2020-12-06 18:25

    Another way to do it

    =MIN(IF(A2:A6="",ROW(A2:A6)))
    

    you have to press CTRL+SHIFT+ENTER

    The difference is that this will give you the Row number of the first empty cell The previous answer will give the position (how many rows from the starting row) of the first empty cell... Both ways are valid depending on your needs

提交回复
热议问题