我有一列,我想找到包含数字的第一行(从顶部开始),数字可以是 -0.0001 或 10 或 0.123。
知道怎么写吗?
谢谢
Perhaps:
=MATCH(TRUE,INDEX(ISNUMBER(A1:A100),0),0)
In VBA, if there are just blanks above that first number, then:
Sub luxation()
MsgBox Range("A1").End(xlDown).Row
End Sub
In VBA, If there is text above that first number, then:
Sub NumberSearch()
For i = 1 To Rows.Count
If IsNumeric(Cells(i, "A").Value) And Cells(i, "A").Value <> "" Then
MsgBox i
Exit Sub
End If
Next i
End Sub