Look at this link
http://tinyurl.com/bu9mh
and adapt it to your data
--
Regards,
Peo Sjoblom
(No private emails please)
"newToExcel" wrote
in message ...
hello,
I was wondering if there is a worksheet function that will do this.
e.g. i have a range with some #s like so...
-8 9 7 -8 -9 6 4 8 -8 -9 -2 -3 5 -8 -9 6
what i want is to count the consecutive # of negative #'s in this list.
for the example above the answer will be 4 (-8 -9 -2 -3)
is this possible or do i have to write a macro for this?
--
newToExcel
------------------------------------------------------------------------
newToExcel's Profile:
http://www.excelforum.com/member.php...o&userid=27192
View this thread: http://www.excelforum.com/showthread...hreadid=484569