Hi ,
Will the 1s be in consecutive months , or can there be gaps in between ?
If there are no gaps , then you can do the following :
1.  I assume that the month headers are actually dates , which have been configured to display in the "mmm-yy" format.
2.  The month headers are in the range C1:N1 , for one year.
3.  The start months are in column A , starting from cell A2 , and the end months are in column B , starting from B2. These are also dates , configured to display in the "mmm-yy" format.
Given the above assumptions , put in the following formula in A2 and B2 , and copy downwards :
A2 :  =INDEX($C$1:$N$1,MATCH(1,$C2:$N2,0))
B2 :  =DATE(YEAR(A2),MONTH(A2)+COUNTIF($C2:$N2,1)-1,1)
Narayan