Hi,

Wondering if you can help me with this one...

I have the following set up:

1.

2. A

3. A

In other words, each subject (listed in column E) typically has several dozen dates in column M, loosely associated with (meaning "being in the same row as") certain text in column K - or being there without the text in respective cell (K13, K14, K15...)

Looking for the formula which would do the following:

- for a given subject (referring to column E)...

- ...what would be the maximum # of days between any of the 2

-...only considering the rows which have a specific "text" in column K and ignoring dates which don't have the associated "text" in that column...

Wondering if you can help me with this one...

I have the following set up:

1.

**Subject ID**in cells E13:E1000 (this range contains either a number or is blank)2. A

**condition**in cells K13:K1000 (this is either text or a blank field)3. A

**range**of dd-mmm-yyyy dates in M13:M1000 (this range contains either dates or is blank; some of the dates are duplicated and some are missing so this is not a contiguous range)In other words, each subject (listed in column E) typically has several dozen dates in column M, loosely associated with (meaning "being in the same row as") certain text in column K - or being there without the text in respective cell (K13, K14, K15...)

Looking for the formula which would do the following:

- for a given subject (referring to column E)...

- ...what would be the maximum # of days between any of the 2

__successive__dates (refer to column M)...-...only considering the rows which have a specific "text" in column K and ignoring dates which don't have the associated "text" in that column...

Last edited: