RichardMGreen
Well-known Member
- Joined
- Feb 20, 2006
- Messages
- 2,177
Hi all
I'm fairly certain that this has been asked before, but searching didn't give me anything.
I've got two columns (B & C) which contain the start and end dates for various weeks in the format dd/mm/yyyy. Column E has the week "name" in the format "d - d mmm".
I'm trying the get a cell to return the week name from column E if I input a specific date.
This is what I've got so far:-
=IF(AND(Dates_Data!$B$2:$B$100>=D3,Dates_Data!$C$2:$C$100<=D3),Dates_Data!$E$2:$E$100)
which has been done as an array formula, but it just gives me a False.
Anyone any ideas where I've gone wrong?
Here's a sample of data (I hope)
The dates run all the way down to row 100.
I'm fairly certain that this has been asked before, but searching didn't give me anything.
I've got two columns (B & C) which contain the start and end dates for various weeks in the format dd/mm/yyyy. Column E has the week "name" in the format "d - d mmm".
I'm trying the get a cell to return the week name from column E if I input a specific date.
This is what I've got so far:-
=IF(AND(Dates_Data!$B$2:$B$100>=D3,Dates_Data!$C$2:$C$100<=D3),Dates_Data!$E$2:$E$100)
which has been done as an array formula, but it just gives me a False.
Anyone any ideas where I've gone wrong?
Here's a sample of data (I hope)
Code:
Week Start Date End Date This week? Column Name
1 01/04/2010 07/04/2010 FALSE 1 - 7 Apr
2 08/04/2010 14/04/2010 FALSE 8 - 14 Apr
3 15/04/2010 21/04/2010 FALSE 15 - 21 Apr
4 22/04/2010 28/04/2010 FALSE 22 - 28 Apr
5 29/04/2010 05/05/2010 FALSE 29 - 5 May
6 06/05/2010 12/05/2010 FALSE 6 - 12 May
7 13/05/2010 19/05/2010 FALSE 13 - 19 May
8 20/05/2010 26/05/2010 FALSE 20 - 26 May
The dates run all the way down to row 100.
Last edited: