Hi Team,
I'm thinking of using IFS for sorting out the Code on the table below where in it would show PLTO: PLANNED TIME OFF instead of CTR: SHIFT but it would depend on the date. other entries doesn't play any part. the main thing is to convert SHIFT to PLTO if they are on the same date. also, once done, how can i show it into a summary tab where in if it would be shift, it would show the start time and if its PLTO, it would show PLTO based on the given below.
we can add like something to define it after column M.
Dump File Tab:
Summary Tab:
Thank you in advance
I'm thinking of using IFS for sorting out the Code on the table below where in it would show PLTO: PLANNED TIME OFF instead of CTR: SHIFT but it would depend on the date. other entries doesn't play any part. the main thing is to convert SHIFT to PLTO if they are on the same date. also, once done, how can i show it into a summary tab where in if it would be shift, it would show the start time and if its PLTO, it would show PLTO based on the given below.
we can add like something to define it after column M.
Dump File Tab:
Book1 | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | |||
1 | First Name | Last Name | ID | Code | Description | Rank | Nominal Date | Day of Week | Start | Start Time of Day | Stop | Stop Time of Day | Duration | ||
2 | Employee 1 | Last Name | 9999 | CTR: SHIFT | SHIFT | 2038 | 5/22/2023 | Monday | 08:00 AM | 08:00 AM | 05:00 PM | 05:00 PM | 09:00 | ||
3 | Employee 2 | Last Name | 8888 | BRK: BREAK 2 | BREAK 2 | 36 | 5/22/2023 | Monday | 01:00 PM | 01:00 PM | 01:15 PM | 01:15 PM | 00:15 | ||
4 | Employee 2 | Last Name | 8888 | PLTO: PLANNED TIME OFF | PLANNED TIME OFF | 14 | 5/22/2023 | Monday | 08:00 AM | 08:00 AM | 05:00 PM | 05:00 PM | 09:00 | ||
5 | Employee 2 | Last Name | 8888 | MEAL: UNPAID MEAL REGULAR | UNPAID MEAL REGULAR | 2 | 5/22/2023 | Monday | 03:00 PM | 03:00 PM | 04:00 PM | 04:00 PM | 01:00 | ||
6 | Employee 1 | Last Name | 9999 | MEAL: UNPAID MEAL REGULAR | UNPAID MEAL REGULAR | 2 | 5/22/2023 | Monday | 11:45 AM | 11:45 AM | 12:45 PM | 12:45 PM | 01:00 | ||
7 | Employee 1 | Last Name | 9999 | WRK: PROGRAM H PROV SVC WI | PROGRAM H PROV SVC WI | 1904 | 5/22/2023 | Monday | 08:00 AM | 08:00 AM | 05:00 PM | 05:00 PM | 09:00 | ||
8 | Employee 2 | Last Name | 8888 | WRK: PROGRAM H PROV SVC WI | PROGRAM H PROV SVC WI | 1904 | 5/22/2023 | Monday | 08:00 AM | 08:00 AM | 05:00 PM | 05:00 PM | 09:00 | ||
9 | Employee 2 | Last Name | 8888 | BRK: BREAK 1 | BREAK 1 | 35 | 5/22/2023 | Monday | 10:30 AM | 10:30 AM | 10:45 AM | 10:45 AM | 00:15 | ||
10 | Employee 2 | Last Name | 8888 | CTR: SHIFT | SHIFT | 2038 | 5/22/2023 | Monday | 08:00 AM | 08:00 AM | 05:00 PM | 05:00 PM | 09:00 | ||
11 | Employee 1 | Last Name | 9999 | BRK: BREAK 1 | BREAK 1 | 35 | 5/22/2023 | Monday | 10:00 AM | 10:00 AM | 10:15 AM | 10:15 AM | 00:15 | ||
12 | Employee 1 | Last Name | 9999 | BRK: BREAK 2 | BREAK 2 | 36 | 5/22/2023 | Monday | 02:15 PM | 02:15 PM | 02:30 PM | 02:30 PM | 00:15 | ||
13 | Employee 1 | Last Name | 9999 | OP: COACHING | COACHING | 57 | 5/23/2023 | Tuesday | 01:00 PM | 01:00 PM | 01:30 PM | 01:30 PM | 00:30 | ||
14 | Employee 2 | Last Name | 8888 | CTR: SHIFT | SHIFT | 2038 | 5/23/2023 | Tuesday | 08:00 AM | 08:00 AM | 05:00 PM | 05:00 PM | 09:00 | ||
15 | Employee 1 | Last Name | 9999 | BRK: BREAK 2 | BREAK 2 | 36 | 5/23/2023 | Tuesday | 02:15 PM | 02:15 PM | 02:30 PM | 02:30 PM | 00:15 | ||
16 | Employee 2 | Last Name | 8888 | BRK: BREAK 2 | BREAK 2 | 36 | 5/23/2023 | Tuesday | 01:00 PM | 01:00 PM | 01:15 PM | 01:15 PM | 00:15 | ||
17 | Employee 1 | Last Name | 9999 | WRK: PROGRAM H PROV SVC WI | PROGRAM H PROV SVC WI | 1904 | 5/23/2023 | Tuesday | 08:00 AM | 08:00 AM | 05:00 PM | 05:00 PM | 09:00 | ||
18 | Employee 1 | Last Name | 9999 | BRK: BREAK 1 | BREAK 1 | 35 | 5/23/2023 | Tuesday | 10:00 AM | 10:00 AM | 10:15 AM | 10:15 AM | 00:15 | ||
19 | Employee 2 | Last Name | 8888 | WRK: PROGRAM H PROV SVC WI | PROGRAM H PROV SVC WI | 1904 | 5/23/2023 | Tuesday | 08:00 AM | 08:00 AM | 05:00 PM | 05:00 PM | 09:00 | ||
20 | Employee 1 | Last Name | 9999 | CTR: SHIFT | SHIFT | 2038 | 5/23/2023 | Tuesday | 08:00 AM | 08:00 AM | 05:00 PM | 05:00 PM | 09:00 | ||
21 | Employee 2 | Last Name | 8888 | MEAL: UNPAID MEAL REGULAR | UNPAID MEAL REGULAR | 2 | 5/23/2023 | Tuesday | 03:00 PM | 03:00 PM | 04:00 PM | 04:00 PM | 01:00 | ||
22 | Employee 1 | Last Name | 9999 | MEAL: UNPAID MEAL REGULAR | UNPAID MEAL REGULAR | 2 | 5/23/2023 | Tuesday | 11:45 AM | 11:45 AM | 12:45 PM | 12:45 PM | 01:00 | ||
23 | Employee 2 | Last Name | 8888 | PLTO: PLANNED TIME OFF | PLANNED TIME OFF | 14 | 5/23/2023 | Tuesday | 08:00 AM | 08:00 AM | 05:00 PM | 05:00 PM | 09:00 | ||
24 | Employee 2 | Last Name | 8888 | BRK: BREAK 1 | BREAK 1 | 35 | 5/23/2023 | Tuesday | 10:30 AM | 10:30 AM | 10:45 AM | 10:45 AM | 00:15 | ||
Dump |
Summary Tab:
Book1 | |||||
---|---|---|---|---|---|
C | D | E | |||
4 | Employee ID | 5/22/2023 | 5/23/2023 | ||
5 | 9999 | PLTO: PLANNED TIME OFF | PLTO: PLANNED TIME OFF | ||
6 | 8888 | 8:00 | 8:00 | ||
Summary |
Thank you in advance