if-statementgoogle-sheetsgoogle-sheets-formulamingoogle-sheets-query

Get first non-empty cell in row


In Google Sheets, how do I get the value of the first non-empty cell in the row 17 starting at column C forwards?


Solution

  • try:

    =INDIRECT(ADDRESS(17, INDEX(MIN(IF(C17:17<>"", COLUMN(C17:17), )))))
    

    0