I cannot get this formula to work, i currently have =SUMIFS(Table1[Singles Quantity],Table1[Van leaves],">"&H40,Table1[Van leaves],"<"&H41) for the below. I need the number of singles that left on a van between 5am and 6am worked out in a formula.
Site ID | Order type | Singles Quantity | Order placed | Order released | Cluster start | Cluster end | Pick start | Pick end | Pack start | Pack end | Ready for Despatch | Start Load into Van | End Load into Van | Van leaves |
1001 | Box | 4 | 18/06 17:08 | 19/06 00:15 | 19/06 00:30 | 19/06 00:30 | 19/06 00:51 | 19/06 01:08 | 19/06 01:16 | 19/06 01:25 | 19/06 01:34 | 19/06 04:35 | 19/06 04:58 | 19/06 06:21 |
1004 | Box | 2 | 17/06 16:09 | 18/06 23:42 | 19/06 00:49 | 19/06 01:03 | 19/06 01:23 | 19/06 01:48 | 19/06 02:01 | 19/06 02:17 | 19/06 02:19 | 19/06 04:45 | 19/06 05:24 | 19/06 06:25 |
1009 | Box | 3 | 17/06 08:25 | 18/06 23:36 | 19/06 00:58 | 19/06 01:11 | 19/06 01:32 | 19/06 01:41 | 19/06 01:45 | 19/06 01:53 | 19/06 01:53 | 19/06 02:22 | 19/06 02:55 | 19/06 04:31 |
1009 | Box | 1 | 18/06 20:43 | 19/06 00:03 | 19/06 00:39 | 19/06 00:53 | 19/06 00:58 | 19/06 01:11 | 19/06 01:39 | 19/06 01:40 | 19/06 01:45 | 19/06 04:57 | 19/06 05:08 | 19/06 06:45 |
1010 | Box | 1 | 18/06 13:36 | 19/06 00:04 | 19/06 02:04 | 19/06 02:29 | 19/06 02:32 | 19/06 02:43 | 19/06 02:45 | 19/06 02:57 | 19/06 02:59 | 19/06 03:07 | 19/06 03:22 | 19/06 05:01 |
1006 | Box | 1 | 18/06 22:17 | 19/06 00:17 | 19/06 01:29 | 19/06 01:30 | 19/06 01:56 | 19/06 02:18 | 19/06 02:37 | 19/06 02:42 | 19/06 02:48 | 19/06 04:38 | 19/06 04:42 | 19/06 05:25 |
1006 | Box | 4 | 17/06 17:43 | 18/06 23:45 | 19/06 00:04 | 19/06 00:27 | 19/06 00:41 | 19/06 01:07 | 19/06 01:19 | 19/06 01:32 | 19/06 01:40 | 19/06 02:59 | 19/06 03:23 | 19/06 04:58 |
1002 | Box | 6 | 17/06 06:16 | 18/06 23:10 | 18/06 23:31 | 18/06 23:53 | 19/06 00:18 | 19/06 00:21 | 19/06 00:23 | 19/06 00:39 | 19/06 00:47 | 19/06 02:44 | 19/06 03:17 | 19/06 05:14 |
1001 | Box | 2 | 18/06 18:08 | 18/06 23:07 | 19/06 00:09 | 19/06 00:36 | 19/06 00:38 | 19/06 01:00 | 19/06 01:03 | 19/06 01:17 | 19/06 01:24 | 19/06 02:18 | 19/06 02:52 | 19/06 03:10 |
1001 | Box | 1 | 18/06 00:03 | 18/06 23:57 | 19/06 00:50 | 19/06 01:19 | 19/06 01:44 | 19/06 01:50 | 19/06 02:20 | 19/06 02:31 | 19/06 02:32 | 19/06 03:21 | 19/06 04:01 | 19/06 04:50 |
1008 | Box | 3 | 17/06 09:34 | 18/06 23:59 | 19/06 01:20 | 19/06 01:24 | 19/06 01:37 | 19/06 01:46 | 19/06 01:55 | 19/06 02:00 | 19/06 02:05 | 19/06 03:42 | 19/06 04:10 | 19/06 05:26 |
1004 | Box | 2 | 18/06 03:16 | 18/06 23:40 | 19/06 00:15 | 19/06 00:21 | 19/06 00:33 | 19/06 00:42 | 19/06 01:05 | 19/06 01:14 | 19/06 01:15 | 19/06 02:48 | 19/06 03:25 | 19/06 04:52 |
1005 | Box | 3 | 17/06 23:40 | 18/06 23:27 | 19/06 00:38 | 19/06 01:05 | 19/06 01:33 | 19/06 01:51 | 19/06 01:58 | 19/06 02:04 | 19/06 02:08 | 19/06 04:02 | 19/06 04:20 | 19/06 06:15 |
1007 | Box | 1 | 18/06 11:04 | 19/06 00:17 | 19/06 00:20 | 19/06 00:40 | 19/06 00:43 | 19/06 00:44 | 19/06 01:09 | 19/06 01:27 | 19/06 01:28 | 19/06 02:13 | 19/06 02:27 | 19/06 04:08 |
1003 | Split | 1 | 17/06 22:46 | 18/06 23:50 | 19/06 01:42 | 19/06 01:43 | 19/06 01:56 | 19/06 02:09 | 19/06 02:30 | 19/06 02:32 | 19/06 02:36 | 19/06 05:36 | 19/06 05:41 | 19/06 06:40 |
1007 | Split | 1 | 18/06 22:56 | 19/06 00:21 | 19/06 01:37 | 19/06 02:06 | 19/06 02:07 | 19/06 02:28 | 19/06 02:57 | 19/06 03:07 | 19/06 03:11 | 19/06 05:54 | 19/06 06:25 | 19/06 08:05 |
1005 | Split | 4 | 18/06 01:05 | 18/06 23:56 | 19/06 01:26 | 19/06 01:46 | 19/06 01:55 | 19/06 02:00 | 19/06 02:27 | 19/06 02:35 | 19/06 02:37 | 19/06 05:29 | 19/06 05:30 | 19/06 05:40 |
1003 | Split | 6 | 18/06 15:50 | 18/06 23:39 | 19/06 00:31 | 19/06 00:41 | 19/06 00:42 | 19/06 00:51 | 19/06 01:16 | 19/06 01:18 | 19/06 01:19 | 19/06 03:58 | 19/06 04:25 | 19/06 05:05 |
1001 | Split | 2 | 18/06 08:15 | 18/06 23:25 | 19/06 00:16 | 19/06 00:27 | 19/06 00:35 | 19/06 00:41 | 19/06 01:07 | 19/06 01:26 | 19/06 01:30 | 19/06 04:19 | 19/06 04:58 | 19/06 06:56 |
1007 | Split | 1 | 18/06 07:20 | 18/06 23:49 | 19/06 00:13 | 19/06 00:37 | 19/06 01:06 | 19/06 01:06 | 19/06 01:19 | 19/06 01:31 | 19/06 01:35 | 19/06 01:56 | 19/06 02:21 | 19/06 03:12 |