Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Ignore that it doesn't work!!
"Mike H" wrote: Hi, Try this array entered with CTRL+Shift+Enter =MAX(FREQUENCY(IF(A1:A30=0,COLUMN(A1:A30)),IF(A1:A 30<0,COLUMN(A1:A30)))) Note if you have blanks they will evaluate as zero Mike "Sam via OfficeKB.com" wrote: Hi All, I have a single column, dynamic named range called "Data" that contains numeric values. Is it possible without the use of a helper column (or other fill down) to provide a formula that can count the longest consecutive sequence of zeros in "Data" and return that count to a single cell. Sample Data Layout: 1 2 0 0 1 2 3 0 1 0 1 2 0 0 0 0 1 2 0 0 1 2 0 1 2 0 0 0 0 0 0 0 0 0 1 0 0 1 0 Expected Result: Longest consecutive sequence of zeros is 9. Thanks Sam -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...tions/200806/1 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Mike,
Thank you for reply. RD just pipped you to it with the ROW Function. Cheers, Sam Mike H wrote: Ignore that it doesn't work!! -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...tions/200806/1 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find longest consecutive winning streaks | Excel Worksheet Functions | |||
Finding the longest sequence of 0's in a row | Excel Worksheet Functions | |||
Counting number of consecutive zeros at the end of a list | Excel Discussion (Misc queries) | |||
Average, Excluding Zeros, Non-Consecutive Range | Excel Discussion (Misc queries) | |||
Inventory numbers - Consecutive, but out of sequence | Excel Discussion (Misc queries) |