First negative number

G

Guest

I've got a spreadsheet with a list of values in col "A" sorted in descending
(not ascending) order. Col "B" has a date. I need a formula that returns the
date the value in col "A" first turns into a negative number. In the sample
below it should return the date Jan 07

Thanks

100 Oct 06
30 Nov 06
10 Dec 06
-10 Jan 07
-75 Feb 07
 
G

Guest

Try entered with Ctrl+Shift+Enter

=INDEX($B$1:$B$5,MATCH(LARGE(IF($A$1:$A$5<0,A1:A5),1),$A$1:$A$5,-1))

HTH
 

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

Top