I have a table which, across the top, has different cell titles, say "Category" in A1, "Budget" in B1, and C1 through F1 are date values.
I need a formula which will return "C1", because it's the left-most cell in the first row which contains a date.
I know I can find a date with ISNUMBER or the TYPE functions. But I cannot get TYPE to work on an array.
Honestly, I can't even understand the behavior of TYPE. Let's say B1 contains a string, and B2:B8 contain numbers.
If I select one cell and do TYPE(B1:B8) and press enter, I get "2", because B1 contains text.
If I change B1 to a number, the TYPE cell returns "16", which means error. Wha....?
If I instead press CTRL+SHIFT+ENTER on the TYPE cell, I get "64", which is the array type. So obviously this is not doing what I want it to do (which is to run the function TYPE on each of the cells B1 through B8)
With ISNUMBER, I can get the array functionality, but I want to find the *first* numerical cell, not if each cell is a number.
Bookmarks