First scenario is...
I have mix names in:
Cell B1 Abc+Def+Xyz and a Date in A1
Cell B2 Def+Ghi and a Date in A2
Cell B3 Abc+Xyz and a Date in A3
Cell B4 Def+Ghi and a Date in A4
In C1 I want to count how many times Abc is present from B1:B4
In C2 want to count how many times Def is present from B1:B4
In C3 I want to count how many times Ghi is present from B1:B4
In C4 I want to count how many times Xyz is present from B1:B4
Second scenario is...
I have mix names in:
Cell B1 Abc+Def+Xyz and a Date in A1
Cell B2 Def+Ghi and a Date in A2
Cell B3 Abc+Xyz and a Date in A3
Cell B4 Def+Ghi and a Date in A4
In C1 I want to count how many times Abc is present from B1:B4 on next date
In C2 want to count how many times Def is present from B1:B4 on next date
In C3 I want to count how many times Ghi is present from B1:B4 on next date
In C4 I want to count how many times Xyz is present from B1:B4 on next date
(Please note that first scenario is for day shift from 4 pm to 12 am (16:00 to 24:00)
(but in second scenario the duty for the night shift start after 00:00 hrs so date 1 will be counted as date 2)
I have mix names in:
Cell B1 Abc+Def+Xyz and a Date in A1
Cell B2 Def+Ghi and a Date in A2
Cell B3 Abc+Xyz and a Date in A3
Cell B4 Def+Ghi and a Date in A4
In C1 I want to count how many times Abc is present from B1:B4
In C2 want to count how many times Def is present from B1:B4
In C3 I want to count how many times Ghi is present from B1:B4
In C4 I want to count how many times Xyz is present from B1:B4
Second scenario is...
I have mix names in:
Cell B1 Abc+Def+Xyz and a Date in A1
Cell B2 Def+Ghi and a Date in A2
Cell B3 Abc+Xyz and a Date in A3
Cell B4 Def+Ghi and a Date in A4
In C1 I want to count how many times Abc is present from B1:B4 on next date
In C2 want to count how many times Def is present from B1:B4 on next date
In C3 I want to count how many times Ghi is present from B1:B4 on next date
In C4 I want to count how many times Xyz is present from B1:B4 on next date
(Please note that first scenario is for day shift from 4 pm to 12 am (16:00 to 24:00)
(but in second scenario the duty for the night shift start after 00:00 hrs so date 1 will be counted as date 2)