Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I can do it with a helper column
With the names in A1:A7 In B1 enter: =--(A1="Larry") In B2 enter: =(B1+(A2<"Larry"))*(A2<"Larry") Copy this down the column =MAX(B1:B7) returns the value 4 So experimenting with an array formula, this seems to work =MAX((B1:B6+(A2:A7<"Larry"))*(A2:A7<"Larry")) entered with CTRL+SHIFT+ENTER best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "Vasilis Tergen" wrote in message ... How would I find the maximum amount of intervals between "Larry" re- appearing in column A? I must use a formula- not a macro or a filter. The correct answer in this example= 4. That means that in column A, the maximum absence (or intervals) of "Larry" re- appearing was 4 times, which occured between rows 2 and 7. (Ex: As opposed to rows: 7 - 9, where he was only absent once) Rows Column A 1 John 2 Larry 3 John 4 John 5 John 6 Mary 7 Larry 8 Mary 9 Larry 10 John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Countif rows | Excel Discussion (Misc queries) | |||
Alternating BG colors between groups of rows | Excel Discussion (Misc queries) | |||
(Unsuccessfully!) Unhiding Rows in Excel 2003 | Excel Worksheet Functions | |||
countif for only visible rows when combined with autofilter - possible? | Excel Discussion (Misc queries) | |||
Hiding Rows if the linked rows are blank | Excel Discussion (Misc queries) |