Hi all
I have some data in the following layout:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Region[/TD]
[TD]Snow[/TD]
[/TR]
[TR]
[TD]01/02/17[/TD]
[TD]Scotland[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]02/02/17[/TD]
[TD]Scotland[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]03/02/17[/TD]
[TD]Scotland[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]08/02/17[/TD]
[TD]Scotland[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]02/02/17[/TD]
[TD]Wales[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]08/02/17[/TD]
[TD]Wales[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
I need a formula which will will give me the total number of unique regions which have atleast 1 snow day between 2 seperately defined dates.
So say i define the dates as: 01/02/17 - 07/02/17 - the result should be 1, 08/02/17 - 14/02/17 the result would be 2.
That is to say in the first date range, Scotland had atleast 1 snow day, but wales had 0.
In the second date range both wales and scotland had 1 snowday, so the result would be 2.
Its the unique region bit that i'm stuck at.
I have some data in the following layout:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Region[/TD]
[TD]Snow[/TD]
[/TR]
[TR]
[TD]01/02/17[/TD]
[TD]Scotland[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]02/02/17[/TD]
[TD]Scotland[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]03/02/17[/TD]
[TD]Scotland[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]08/02/17[/TD]
[TD]Scotland[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]02/02/17[/TD]
[TD]Wales[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]08/02/17[/TD]
[TD]Wales[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
I need a formula which will will give me the total number of unique regions which have atleast 1 snow day between 2 seperately defined dates.
So say i define the dates as: 01/02/17 - 07/02/17 - the result should be 1, 08/02/17 - 14/02/17 the result would be 2.
That is to say in the first date range, Scotland had atleast 1 snow day, but wales had 0.
In the second date range both wales and scotland had 1 snowday, so the result would be 2.
Its the unique region bit that i'm stuck at.