Getting a cell reference when a value is less than 0

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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
 
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
 
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.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top