Getting a cell reference when a value is less than 0

B

Bob

I have a set of monthly worksheets with dates in row 4
under each date (in row 7) I have a set of values that vary in numbers.

I would like a formula that would tell me the first date in each month (or
worksheet) that the numbers in row 7 are less than 0.
 
T

T. Valko

Try this array formula**:

A4:F4 = dates
A7:F7 = numbers

=INDEX(A4:F4,MATCH(TRUE,A7:F7<0,0))

Format as DATE

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

Biff
 
B

Bob

Worked like a charm. Thank you.

T. Valko said:
Try this array formula**:

A4:F4 = dates
A7:F7 = numbers

=INDEX(A4:F4,MATCH(TRUE,A7:F7<0,0))

Format as DATE

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

Biff
 
B

Bob

Any way to get this across multiple worksheets (I have 9).

I have one worksheet with the results and would like to hide the nine
worksheets with the dates and numbers.
 
T

T. Valko

Not that I know of.

Biff

Bob said:
Any way to get this across multiple worksheets (I have 9).

I have one worksheet with the results and would like to hide the nine
worksheets with the dates and numbers.
 
Top