SageTeamZZ
New Member
- Joined
- Jul 3, 2019
- Messages
- 3
I have two tables one of them contains a particular's distinct values as a primary key. and another table consists the same particular's multiple values for different dates along with few more details. now based on some conditions i want to bring the outcome count to the first table for further calculation
I HOPE ANY HUMBLE PERSON WILL BE HELP ME ON THE FORMULA
Data Model for both of the tables has been mentioned in the below.
thanks in advance
<tbody>
[TD="class: xl63"]Table-1[/TD]
[TD="width: 259"][/TD]
[TD="class: xl66"]Distinct Line No [/TD]
[TD="class: xl66"]Capacity[/TD]
[TD="class: xl65, align: center"]L1[/TD]
[TD="class: xl64"]60 X Count of Working Days (From Table 2)[/TD]
[TD="class: xl65, align: center"]L2[/TD]
[TD="class: xl64"]60 X Count of Working Days (From Table 2)[/TD]
[TD="class: xl65, align: center"]L3[/TD]
[TD="class: xl64"]60 X Count of Working Days (From Table 2)[/TD]
[TD="class: xl65, align: center"]L4[/TD]
[TD="class: xl64"]60 X Count of Working Days (From Table 2)[/TD]
</tbody>
<tbody>
[TD="class: xl65"]Table-2[/TD]
[TD="width: 259"][/TD]
[TD="width: 64"][/TD]
[TD="class: xl67"]Line No 1[/TD]
[TD="class: xl67"]Date[/TD]
[TD="class: xl67"]Status[/TD]
[TD="class: xl66, align: center"]L1[/TD]
[TD="class: xl68, align: center"]Wednesday, July 3, 2019[/TD]
[TD="class: xl69"]Working[/TD]
[TD="class: xl66, align: center"]L1[/TD]
[TD="class: xl68, align: center"]Thursday, July 4, 2019[/TD]
[TD="class: xl69"]Working[/TD]
[TD="class: xl66, align: center"]L2[/TD]
[TD="class: xl68, align: center"]Wednesday, July 3, 2019[/TD]
[TD="class: xl69"]Working[/TD]
[TD="class: xl66, align: center"]L2[/TD]
[TD="class: xl68, align: center"]Thursday, July 4, 2019[/TD]
[TD="class: xl69"]Working[/TD]
[TD="class: xl66, align: center"]L3[/TD]
[TD="class: xl68, align: center"]Wednesday, July 3, 2019[/TD]
[TD="class: xl69"]Working[/TD]
[TD="class: xl66, align: center"]L3[/TD]
[TD="class: xl68, align: center"]Thursday, July 4, 2019[/TD]
[TD="class: xl69"]Holiday[/TD]
[TD="class: xl66, align: center"]L4[/TD]
[TD="class: xl68, align: center"]Wednesday, July 3, 2019[/TD]
[TD="class: xl69"]Working[/TD]
</tbody>
I HOPE ANY HUMBLE PERSON WILL BE HELP ME ON THE FORMULA
Data Model for both of the tables has been mentioned in the below.
thanks in advance
<tbody>
[TD="class: xl63"]Table-1[/TD]
[TD="width: 259"][/TD]
[TD="class: xl66"]Distinct Line No [/TD]
[TD="class: xl66"]Capacity[/TD]
[TD="class: xl65, align: center"]L1[/TD]
[TD="class: xl64"]60 X Count of Working Days (From Table 2)[/TD]
[TD="class: xl65, align: center"]L2[/TD]
[TD="class: xl64"]60 X Count of Working Days (From Table 2)[/TD]
[TD="class: xl65, align: center"]L3[/TD]
[TD="class: xl64"]60 X Count of Working Days (From Table 2)[/TD]
[TD="class: xl65, align: center"]L4[/TD]
[TD="class: xl64"]60 X Count of Working Days (From Table 2)[/TD]
</tbody>
<tbody>
[TD="class: xl65"]Table-2[/TD]
[TD="width: 259"][/TD]
[TD="width: 64"][/TD]
[TD="class: xl67"]Line No 1[/TD]
[TD="class: xl67"]Date[/TD]
[TD="class: xl67"]Status[/TD]
[TD="class: xl66, align: center"]L1[/TD]
[TD="class: xl68, align: center"]Wednesday, July 3, 2019[/TD]
[TD="class: xl69"]Working[/TD]
[TD="class: xl66, align: center"]L1[/TD]
[TD="class: xl68, align: center"]Thursday, July 4, 2019[/TD]
[TD="class: xl69"]Working[/TD]
[TD="class: xl66, align: center"]L2[/TD]
[TD="class: xl68, align: center"]Wednesday, July 3, 2019[/TD]
[TD="class: xl69"]Working[/TD]
[TD="class: xl66, align: center"]L2[/TD]
[TD="class: xl68, align: center"]Thursday, July 4, 2019[/TD]
[TD="class: xl69"]Working[/TD]
[TD="class: xl66, align: center"]L3[/TD]
[TD="class: xl68, align: center"]Wednesday, July 3, 2019[/TD]
[TD="class: xl69"]Working[/TD]
[TD="class: xl66, align: center"]L3[/TD]
[TD="class: xl68, align: center"]Thursday, July 4, 2019[/TD]
[TD="class: xl69"]Holiday[/TD]
[TD="class: xl66, align: center"]L4[/TD]
[TD="class: xl68, align: center"]Wednesday, July 3, 2019[/TD]
[TD="class: xl69"]Working[/TD]
</tbody>