tarynmahon
Member
My mind is going blank on this, Im sure it must be easy!
I have a period ie.
04/01/2013 - 02/02/2013
elsewhere in the spreadsheet I have;
WK 1
01/01/13
08/01/13
WK 2
09/01/13
16/01/13
I need a formula that looks at the period and puts a "1" in every week that the period covers, what I have so far is;
=IF(AND(PERIOD FROM DATE>=WEEK1 START DATE,PERIOD FROM DATE<=WEEK1 END DATE),1,"")
This sort of works but when we get onto week 2 it doesnt include any of the periods that started in week 1, apologies if this doesnt really make sense, Im not sure how else to put it.
For the period 04/01/13-18/01/13 I would want the answer to read
WK1, WK2, WK3, WK4, WK5,
01/01/13,09/01/13,17/01/13,25/01/13,02/02/13,
08/01/13,16/01/13,24/01/13,01/02/13,09/02/13,
1,1,1, , ,
I AM UNABLE TO POST A SAMPLE FILE DUE TO COMPANY RESTRICTIONS
I have a period ie.
04/01/2013 - 02/02/2013
elsewhere in the spreadsheet I have;
WK 1
01/01/13
08/01/13
WK 2
09/01/13
16/01/13
I need a formula that looks at the period and puts a "1" in every week that the period covers, what I have so far is;
=IF(AND(PERIOD FROM DATE>=WEEK1 START DATE,PERIOD FROM DATE<=WEEK1 END DATE),1,"")
This sort of works but when we get onto week 2 it doesnt include any of the periods that started in week 1, apologies if this doesnt really make sense, Im not sure how else to put it.
For the period 04/01/13-18/01/13 I would want the answer to read
WK1, WK2, WK3, WK4, WK5,
01/01/13,09/01/13,17/01/13,25/01/13,02/02/13,
08/01/13,16/01/13,24/01/13,01/02/13,09/02/13,
1,1,1, , ,
I AM UNABLE TO POST A SAMPLE FILE DUE TO COMPANY RESTRICTIONS