Hello,
Have a column representing dates in order of months a security is in a portfolio. Some months the security is not in the portfolio. Would like a formula to capture the first month the security comes back in the portfolio after a break. Eg listed below the security is absent between Jan 2017- April 2017. Would like to capture in a cell the April 2017 formulaically.
[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl63, width: 64"]Month [/TD]
[TD="class: xl64, width: 64"]Security [/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Jan-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Apr-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]May-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Jun-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Jul-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Aug-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Sep-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Oct-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Nov-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Dec-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Jan-18[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Feb-18[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Mar-18[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Apr-18[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]May-18[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl67, align: right"]Jun-18[/TD]
[TD="class: xl68"]YYYYY[/TD]
[/TR]
</tbody>[/TABLE]
Appreciate any assistance.
Thank you
Have a column representing dates in order of months a security is in a portfolio. Some months the security is not in the portfolio. Would like a formula to capture the first month the security comes back in the portfolio after a break. Eg listed below the security is absent between Jan 2017- April 2017. Would like to capture in a cell the April 2017 formulaically.
[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl63, width: 64"]Month [/TD]
[TD="class: xl64, width: 64"]Security [/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Jan-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Apr-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]May-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Jun-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Jul-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Aug-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Sep-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Oct-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Nov-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Dec-17[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Jan-18[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Feb-18[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Mar-18[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]Apr-18[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]May-18[/TD]
[TD="class: xl66"]YYYYY[/TD]
[/TR]
[TR]
[TD="class: xl67, align: right"]Jun-18[/TD]
[TD="class: xl68"]YYYYY[/TD]
[/TR]
</tbody>[/TABLE]
Appreciate any assistance.
Thank you