B
Ben_Zurich
I have a problem how to count how many dates are corresponding with a
particular date (within +/- n days) over a WHOLE Table:
Here's the setup:
Table A
Column 1: has sequential Dates from e.g. 1/1/1900 to 1/1/2010
Columne 2: I want to count in this column 2 how many dates are in Table
B that are wihtin the brackets of the date of column 1 +/- n days.
Table B
about 1000 lines and 60 columns, each cell contains a particular date.
dates in no particular order.
Example Table A:
Col1 Col2
....
12/10/2006 Count how many dates there are in Table B
that are greater than 12/8/2006 and smaller than
12/12/2006
....
Has anybody an idea how this could be done ???
Also, it would be great if the "brackets" (i.e. +/- n days of the date
in Col1) could be defined as a parameter.
Any help would be highly appreciated.
particular date (within +/- n days) over a WHOLE Table:
Here's the setup:
Table A
Column 1: has sequential Dates from e.g. 1/1/1900 to 1/1/2010
Columne 2: I want to count in this column 2 how many dates are in Table
B that are wihtin the brackets of the date of column 1 +/- n days.
Table B
about 1000 lines and 60 columns, each cell contains a particular date.
dates in no particular order.
Example Table A:
Col1 Col2
....
12/10/2006 Count how many dates there are in Table B
that are greater than 12/8/2006 and smaller than
12/12/2006
....
Has anybody an idea how this could be done ???
Also, it would be great if the "brackets" (i.e. +/- n days of the date
in Col1) could be defined as a parameter.
Any help would be highly appreciated.