Formula to find the header index of the first non blank cell of a range in Excel?

后端 未结 1 643
野性不改
野性不改 2021-01-13 18:20

I have this table, which can be seen as a basic custom gantt chart:

\"table

And I would like to fil

1条回答
  •  执念已碎
    2021-01-13 18:59

    In A2 try this formula copied down

    =IF(COUNTA(B2:Z2),INDEX(B$1:Z$1,MATCH(TRUE,INDEX(B2:Z2<>"",0),0)),"")

    you may have to format column A with the required date format

    assumes data up to column Z, adjust as required

    0 讨论(0)
提交回复
热议问题