T
Tony Steane
Greetings,
I am trying to write a formula that will return the team name of ALL
teams that had Kitchen duty the day before they have Garden duty (and
various other combinations) Without using a macro!!!!
For example using a small sample of the data
A B C D E
1
2 Date Cleaning Garden Kitchen Day Off
3 12/05/2005 Team A Team B Team C Team D
4 13/05/2005 Team C Team D Team B Team A
5 14/05/2005 Team C Team B Team D Team A
6 15/05/2005 Team A Team D Team B Team C
7 16/05/2005 Team C Team D Team A Team B
8 17/05/2005 Team D Team A Team B Team C
9
10
etc
etc
I want to return in say cell D10 the names of the teams that meet my
criteria (ie Had Kitchen duty day before Garden duty) so cell D10 would
return "Team B Team D Team A".
I have managed to write a CSE formula to return the number of teams
that it applies to, using the example above in cell C10 I have
{=SUM(IF($C$4:$C$8=E3:E7,1,0))} which returns 3
Is what I'm trying to do possible?
Any solutions?
Cheers
Tony
I am trying to write a formula that will return the team name of ALL
teams that had Kitchen duty the day before they have Garden duty (and
various other combinations) Without using a macro!!!!
For example using a small sample of the data
A B C D E
1
2 Date Cleaning Garden Kitchen Day Off
3 12/05/2005 Team A Team B Team C Team D
4 13/05/2005 Team C Team D Team B Team A
5 14/05/2005 Team C Team B Team D Team A
6 15/05/2005 Team A Team D Team B Team C
7 16/05/2005 Team C Team D Team A Team B
8 17/05/2005 Team D Team A Team B Team C
9
10
etc
etc
I want to return in say cell D10 the names of the teams that meet my
criteria (ie Had Kitchen duty day before Garden duty) so cell D10 would
return "Team B Team D Team A".
I have managed to write a CSE formula to return the number of teams
that it applies to, using the example above in cell C10 I have
{=SUM(IF($C$4:$C$8=E3:E7,1,0))} which returns 3
Is what I'm trying to do possible?
Any solutions?
Cheers
Tony