Have tried the following, although this would be some way off:-
The formula is for F7 sheet 2 ("Stats Table"), with your help here I should hopefully be able to alter the formula for the rest of the cells.
The formula only needs to work for the lines that fall into the criteria of "Arriving" between the dates to/From in F3:F4 sheet2.
For those 'dates', it then needs to count (AB14:AB2000)
At the moment f6 does half of what I want, in the match function but as I need the Sum function to work in another column "AB" not "B"
Very Similar to my last question but this formula is allot harder.