Hi Friend
Good day all, I need help with a formula on the week number in my data Column C and I need it to count for each month and for the following month to start all over counting from 1-5
I am having doubts about the formula I have used.
Let's say January 2023 I want it to count the total week number for January including weekends and for the following to start from 1 and count again for February etc.
Appreciate Your help with a solution.
Good day all, I need help with a formula on the week number in my data Column C and I need it to count for each month and for the following month to start all over counting from 1-5
I am having doubts about the formula I have used.
Let's say January 2023 I want it to count the total week number for January including weekends and for the following to start from 1 and count again for February etc.
Appreciate Your help with a solution.
2023-Master Data Onshore Jetty Operation Tracking.xlsx | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
C | D | E | F | G | H | I | J | K | L | M | N | |||
4 | Month | Mus Num | Supply Vessel | Vessel Arrived FWB Date&Time | Chanel Status | Manifest Date & Time | Mnfst On Time | Mnfst Delay Hours | Control Tower Permission Date & Time | Tower Perm On Time | Tower Perms Delay Hours | Vessel Arrive ADNOC Port Date & Time | ||
5 | 5 | 1153-M | ADNOC-230 | 27/04/23 14:25 | 27/04/23 14:30 | 00:05 | Met | 27/04/23 19:30 | 5:00 | Not Met | 27/04/23 23:35 | |||
6 | 1 | 1154 | CECILIE-K | 01/05/23 10:00 | 01/05/23 12:40 | 02:40 | Met | 01/05/23 12:44 | 0:04 | Met | 01/05/23 18:06 | |||
7 | 1 | 1155 | Z-OCEAN | 01/05/23 14:30 | 01/05/23 13:40 | -00:50 | Met | 01/05/23 13:51 | 0:11 | Met | 01/05/23 18:10 | |||
8 | 1 | 1156 | SWISSCO RUBY | 02/05/23 06:00 | 01/05/23 21:56 | -08:04 | Met | 01/05/23 22:40 | 0:44 | Met | 02/05/23 09:35 | |||
9 | 1 | 1157 | LCT-SHEWELEH | 01/05/23 16:00 | 01/05/23 17:37 | 01:37 | Met | 01/05/23 18:27 | 0:50 | Met | 01/05/23 23:05 | |||
10 | 1 | 1158 | A-RANGER | 01/05/23 20:00 | 01/05/23 16:57 | -03:03 | Met | 01/05/23 17:00 | 0:03 | Met | 02/05/23 00:25 | |||
11 | 1 | 1159 | ADNOC-S02 | 01/05/23 21:10 | 01/05/23 20:14 | -00:56 | Met | 02/05/23 03:00 | 6:46 | Not Met | 02/05/23 03:00 | |||
12 | 1 | 1160 | ADNOC-810 | 01/05/23 01:50 | 01/05/23 19:55 | 18:05 | Not Met | 01/05/23 20:08 | 0:13 | Met | 01/05/23 22:50 | |||
13 | 1 | 1161 | ADNOC-511 | 01/05/23 22:10 | 01/05/23 21:21 | -00:49 | Met | 01/05/23 21:38 | 0:17 | Met | 02/05/23 02:35 | |||
14 | 1 | 1162 | SK MAINSTAY | 02/05/23 06:05 | 02/05/23 01:59 | -04:06 | Met | 02/05/23 05:46 | 3:47 | Not Met | 02/05/23 09:55 | |||
15 | 1 | 1163 | MUTAWA-402 | 01/05/23 10:00 | 02/05/23 01:31 | 15:31 | Not Met | 02/05/23 01:50 | 0:19 | Met | 02/05/23 06:30 | |||
16 | 1 | 1164 | ADNOC-512 | 02/05/23 08:10 | 02/05/23 05:19 | -02:51 | Met | 02/05/23 05:50 | 0:31 | Met | 02/05/23 11:55 | |||
17 | 1 | 1165 | ADNOC-812 | 02/05/23 09:40 | 02/05/23 09:13 | -00:27 | Met | 02/05/23 09:22 | 0:09 | Met | 02/05/23 16:50 | |||
18 | 1 | 1166 | Z-POWER | 02/05/23 04:20 | 02/05/23 11:14 | 06:54 | Not Met | 02/05/23 11:49 | 0:35 | Met | 02/05/23 14:35 | |||
19 | 1 | 1167 | ADNOC-811 | 02/05/23 09:55 | 02/05/23 11:01 | 01:06 | Met | 02/05/23 11:50 | 0:49 | Met | 02/05/23 15:30 | |||
20 | 1 | 1168 | ADNOC-222 | 02/05/23 08:20 | 02/05/23 11:20 | 03:00 | Not Met | 02/05/23 11:49 | 0:29 | Met | 02/05/23 16:20 | |||
21 | 1 | 1169 | SMIT LUMUT | 02/05/23 18:00 | 02/05/23 13:26 | -04:34 | Met | 02/05/23 20:10 | 6:44 | Not Met | 02/05/23 23:59 | |||
22 | 1 | 1170 | A-RADIANT-7 | 02/05/23 09:00 | 02/05/23 13:08 | 04:08 | Not Met | 02/05/23 15:22 | 2:14 | Met | 02/05/23 20:10 | |||
Onshore Tracking Report |
Cell Formulas | ||
---|---|---|
Range | Formula | |
I5:I22 | I5 | =IFERROR(IF((H5-F5)>0,(H5-F5),TEXT(ABS(H5-F5),"-hh:mm")),"") |
J5:J22 | J5 | =IF(F5="","",IF(OR(LEFT(I5,1)="-",I5<3/24),"Met","Not Met")) |
L5:L22 | L5 | =IFERROR(IF((K5-H5)>0,(K5-H5),TEXT(ABS(K5-H5),"-h:mm")),"") |
M5:M22 | M5 | =IF(H5="","",IF(OR(LEFT(L5,1)="-",L5<3/24),"Met","Not Met")) |
C5:C22 | C5 | =IF(WEEKDAY(N5,2)>7,"",WEEKNUM(N5)-WEEKNUM(DATE(YEAR(N5),MONTH(N5),1))+1) |