I want to calculate days rest between two dates that are in the same column
A1 = Team
E1 = Date
K1 = Days Rest (formula needed here)
A2 = Team 1
A3 = Team 2
A4 = Team 3
A5 = Team 1
A6 = Team 3
E2 = 20/11/2016
E3 = 20/11/2016
E4 = 21/11/2016
E5 = 23/11/2016
E6 = 23/11/2016
K2 = 0
K3 = 0
K4 = 0
K5 = 2
K6 = 1
How do I get a formula that will recognise the team name in column A and see the dates in the range from column E and calculate the days rest, which is only between the dates not the days including?
A1 = Team
E1 = Date
K1 = Days Rest (formula needed here)
A2 = Team 1
A3 = Team 2
A4 = Team 3
A5 = Team 1
A6 = Team 3
E2 = 20/11/2016
E3 = 20/11/2016
E4 = 21/11/2016
E5 = 23/11/2016
E6 = 23/11/2016
K2 = 0
K3 = 0
K4 = 0
K5 = 2
K6 = 1
How do I get a formula that will recognise the team name in column A and see the dates in the range from column E and calculate the days rest, which is only between the dates not the days including?