LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Count maximum consecutive positive numbers

In Excel, my challenge is to count the maximum number of consecutive
positive numbers in a column consisting of blank cells and formulas that
evaluate to numbers and "".

For example, starting in A1, the cells evaluate to:

1
-2
3

5
-6

The result would be 2 (counting the two consecutive positive numbers, 3 and
5, above and below the blank or "" cell).

This needs to be done using a single formula or array formula, without using
a separate running total column using =MAX, and without using a UDF. They
say it can't be done and I need to confirm that.

Thank you all,
JP


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
finding maximum, minimum in a range consists both Positive and Negative numbers Praveen Excel Worksheet Functions 3 May 4th 23 07:45 PM
count current run of positive numbers Morgan New Users to Excel 6 November 18th 09 02:09 AM
Count cells with positive numbers Jamie Excel Discussion (Misc queries) 5 October 24th 06 09:40 PM
how to add consecutive positive numbers shreen_farhad Excel Discussion (Misc queries) 1 October 2nd 05 07:51 PM
Count Consecutive Numbers in a Row Sam via OfficeKB.com Excel Worksheet Functions 5 February 19th 05 02:49 AM


All times are GMT +1. The time now is 08:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"