This is very complicated. I can get you there in 4 steps. 3 simple formulas
and one not so simple formula.
Assume your data is in the range A2:A18
You need 2 helper columns so I'll use B and C.
Enter this formula in B2 and copy down to B18: (leave B1 EMPTY or, at least
don't enter any numbers in B1). This will count the consecutive 1's:
=IF(A2=1,SUM(B1)+1,0)
Note: I used SUM(B1) just in case you have a TEXT header in B1. If B1 is
EMPTY then you can do without SUM(B1) and just use B1+1.
Enter this formula in C2 and copy down to C18. This will "flag" the max
consecutive 1's:
=IF(AND(A2=1,B2=SUMPRODUCT(MAX((A$2:A$18=1)*B$2:B$18))),ROW(),"")
Enter this formula in D2 as an array using the key combination of
CTRL,SHIFT,ENTER (not just ENTER) and copy down until you get blanks. This
formula will get the sum(s) that meet the criteria: (values to sum in
G2:G18)
=IF(ROWS($1:1)<=COUNT(C$2:C$18),SUM(OFFSET(G$2,MATCH(SMALL(C$2:C$18,ROWS($1:1)),C$2:C$18,0)-1,,-MAX(IF(A$2:A$18=1,B$2:B$18)))),"")
And finally, to get your result:
=MAX(D

)
Biff
"DavidS" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello, I have a column of 1000+ rows, each row containing a 1 or 0. I am
> trying to find a formula that locates the cell range of the largest
> sequence of ones and use that range to sum the same rows in another
> column. The largest sequence of 1's may occur a number of times. For
> example, column C may contain: ...011011110100111100... The largest
> sequence is four 1's but it occurs twice. I'd like to sum the
> corresponding rows (for 1111) in column G and present the largest value of
> the 2 occurances. I hope that makes sense. Thanks in advance. David
>