Hello all - I hope someone might be able to lend a hand with this, please:
col A has dates.
col B uses a formula to sum numbers from a col located elsewhere
The summed numbers in col B may have been summed by one date, or over many days, the formula result being a column B of summed numbers, often with blank cells above (and below the sum) until another summed number.
What I need please, is a formula that will tel me the date (colA) associated with the MAX number found in col B, and search backwards (UP the column), till it finds the first non-empty cell and get the date from that row.
(This search should find the previous summed number from before MAX and will be one row before the start of the run that ended in MAX)
The short of it: I’m trying to find the number of days between MAX in col B and the start of the run that led to MAX in col B.
All help appreciated, thanks!
Excel 2016 (Mac) 32 bit
<colgroup><col style="width: 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: center"]Date[/TD]
[TD="align: center"]Max DD[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #FFFF00"]Days Between[/TD]
[TD="align: right"][/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]1/7/16[/TD]
[TD="align: center"]1.08[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #FFFF00, align: center"]?[/TD]
[TD="bgcolor: #FFFF00"]so: formula for number of days between found 1/12/16 and1/16/16?[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]1/8/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]1/8/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]1/9/16[/TD]
[TD="align: center"]0.33[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]1/10/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]7[/TD]
[TD="align: center"]1/11/16[/TD]
[TD="align: center"]0.50[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]1/12/16[/TD]
[TD="align: center"][/TD]
[TD="bgcolor: #CCFFCC"]<- start of run that ended in MAX[/TD]
[TD="align: right"][/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]1/12/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]1/13/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]11[/TD]
[TD="align: center"]1/14/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]1/15/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]13[/TD]
[TD="align: center"]1/16/16[/TD]
[TD="align: center"]4.04[/TD]
[TD="bgcolor: #CCFFCC"]<-This is MAX[/TD]
[TD="align: right"][/TD]
[TD="align: center"]14[/TD]
[TD="align: center"]1/17/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]15[/TD]
[TD="align: center"]1/18/16[/TD]
[TD="align: center"]0.58[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
</tbody>
col A has dates.
col B uses a formula to sum numbers from a col located elsewhere
The summed numbers in col B may have been summed by one date, or over many days, the formula result being a column B of summed numbers, often with blank cells above (and below the sum) until another summed number.
What I need please, is a formula that will tel me the date (colA) associated with the MAX number found in col B, and search backwards (UP the column), till it finds the first non-empty cell and get the date from that row.
(This search should find the previous summed number from before MAX and will be one row before the start of the run that ended in MAX)
The short of it: I’m trying to find the number of days between MAX in col B and the start of the run that led to MAX in col B.
All help appreciated, thanks!
Excel 2016 (Mac) 32 bit
A | B | C | D | E | |
---|---|---|---|---|---|
(start Date) | |||||
(end Date) | |||||
<colgroup><col style="width: 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: center"]Date[/TD]
[TD="align: center"]Max DD[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #FFFF00"]Days Between[/TD]
[TD="align: right"][/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]1/7/16[/TD]
[TD="align: center"]1.08[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #FFFF00, align: center"]?[/TD]
[TD="bgcolor: #FFFF00"]so: formula for number of days between found 1/12/16 and1/16/16?[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]1/8/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]1/8/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]1/9/16[/TD]
[TD="align: center"]0.33[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]1/10/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]7[/TD]
[TD="align: center"]1/11/16[/TD]
[TD="align: center"]0.50[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]1/12/16[/TD]
[TD="align: center"][/TD]
[TD="bgcolor: #CCFFCC"]<- start of run that ended in MAX[/TD]
[TD="align: right"][/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]1/12/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]1/13/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]11[/TD]
[TD="align: center"]1/14/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]1/15/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]13[/TD]
[TD="align: center"]1/16/16[/TD]
[TD="align: center"]4.04[/TD]
[TD="bgcolor: #CCFFCC"]<-This is MAX[/TD]
[TD="align: right"][/TD]
[TD="align: center"]14[/TD]
[TD="align: center"]1/17/16[/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]15[/TD]
[TD="align: center"]1/18/16[/TD]
[TD="align: center"]0.58[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
</tbody>
Sheet1