All
First time on the site so appologies if I can find the answer elsewhere.
I have a many to many situation, that I am looking to resolve to give me one dataset. Any advice on formula/ add ins that can be used (cant code in VBA) would be appreicated.
Eg Two data sets of
[TABLE="width: 192"]
<colgroup><col width="64" style="width:48pt" span="3"> </colgroup><tbody>[TR]
[TD="width: 64, bgcolor: transparent"]Contract[/TD]
[TD="width: 64, bgcolor: transparent"]Reinsurer[/TD]
[TD="width: 64, bgcolor: transparent"]Share[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]Munich[/TD]
[TD="bgcolor: transparent, align: right"]0.3[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]Swiss[/TD]
[TD="bgcolor: transparent, align: right"]0.6[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]Lloyds[/TD]
[TD="bgcolor: transparent, align: right"]0.1[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]LLoyds[/TD]
[TD="bgcolor: transparent, align: right"]0.2[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]Muncih[/TD]
[TD="bgcolor: transparent, align: right"]0.3[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]RSA[/TD]
[TD="bgcolor: transparent, align: right"]0.1[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]Everest[/TD]
[TD="bgcolor: transparent, align: right"]0.1[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]AIG[/TD]
[TD="bgcolor: transparent, align: right"]0.2[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]AXA[/TD]
[TD="bgcolor: transparent, align: right"]0.1[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]RSA[/TD]
[TD="bgcolor: transparent, align: right"]0.5[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]AIG[/TD]
[TD="bgcolor: transparent, align: right"]0.4[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]lloyds[/TD]
[TD="bgcolor: transparent, align: right"]0.1
[/TD]
[/TR]
</tbody>[/TABLE]
and
[TABLE="width: 192"]
<colgroup><col width="64" style="width:48pt" span="3"> </colgroup><tbody>[TR]
[TD="width: 64, bgcolor: transparent"]Contract[/TD]
[TD="width: 64, bgcolor: transparent"]Risk Code[/TD]
[TD="width: 64, bgcolor: transparent"]Amount[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]A[/TD]
[TD="bgcolor: transparent, align: right"]1000[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]B[/TD]
[TD="bgcolor: transparent, align: right"]2000[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]C[/TD]
[TD="bgcolor: transparent, align: right"]2500[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]D[/TD]
[TD="bgcolor: transparent, align: right"]3000[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]E[/TD]
[TD="bgcolor: transparent, align: right"]4000[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]F[/TD]
[TD="bgcolor: transparent, align: right"]1500[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]G[/TD]
[TD="bgcolor: transparent, align: right"]10[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]B[/TD]
[TD="bgcolor: transparent, align: right"]1500[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]F[/TD]
[TD="bgcolor: transparent, align: right"]9000[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]R[/TD]
[TD="bgcolor: transparent, align: right"]10000[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]T[/TD]
[TD="bgcolor: transparent, align: right"]150000[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]A[/TD]
[TD="bgcolor: transparent, align: right"]150[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]B[/TD]
[TD="bgcolor: transparent, align: right"]1500[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]C[/TD]
[TD="bgcolor: transparent, align: right"]150000[/TD]
[/TR]
</tbody>[/TABLE]
Would want to expand the second data set to include every reinsurer for every contract and their share (which I would multiply by the amount).
Thanks,
First time on the site so appologies if I can find the answer elsewhere.
I have a many to many situation, that I am looking to resolve to give me one dataset. Any advice on formula/ add ins that can be used (cant code in VBA) would be appreicated.
Eg Two data sets of
[TABLE="width: 192"]
<colgroup><col width="64" style="width:48pt" span="3"> </colgroup><tbody>[TR]
[TD="width: 64, bgcolor: transparent"]Contract[/TD]
[TD="width: 64, bgcolor: transparent"]Reinsurer[/TD]
[TD="width: 64, bgcolor: transparent"]Share[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]Munich[/TD]
[TD="bgcolor: transparent, align: right"]0.3[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]Swiss[/TD]
[TD="bgcolor: transparent, align: right"]0.6[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]Lloyds[/TD]
[TD="bgcolor: transparent, align: right"]0.1[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]LLoyds[/TD]
[TD="bgcolor: transparent, align: right"]0.2[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]Muncih[/TD]
[TD="bgcolor: transparent, align: right"]0.3[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]RSA[/TD]
[TD="bgcolor: transparent, align: right"]0.1[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]Everest[/TD]
[TD="bgcolor: transparent, align: right"]0.1[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]AIG[/TD]
[TD="bgcolor: transparent, align: right"]0.2[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]AXA[/TD]
[TD="bgcolor: transparent, align: right"]0.1[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]RSA[/TD]
[TD="bgcolor: transparent, align: right"]0.5[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]AIG[/TD]
[TD="bgcolor: transparent, align: right"]0.4[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]lloyds[/TD]
[TD="bgcolor: transparent, align: right"]0.1
[/TD]
[/TR]
</tbody>[/TABLE]
and
[TABLE="width: 192"]
<colgroup><col width="64" style="width:48pt" span="3"> </colgroup><tbody>[TR]
[TD="width: 64, bgcolor: transparent"]Contract[/TD]
[TD="width: 64, bgcolor: transparent"]Risk Code[/TD]
[TD="width: 64, bgcolor: transparent"]Amount[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]A[/TD]
[TD="bgcolor: transparent, align: right"]1000[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]B[/TD]
[TD="bgcolor: transparent, align: right"]2000[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]C[/TD]
[TD="bgcolor: transparent, align: right"]2500[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]D[/TD]
[TD="bgcolor: transparent, align: right"]3000[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]E[/TD]
[TD="bgcolor: transparent, align: right"]4000[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]001X[/TD]
[TD="bgcolor: transparent"]F[/TD]
[TD="bgcolor: transparent, align: right"]1500[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]G[/TD]
[TD="bgcolor: transparent, align: right"]10[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]B[/TD]
[TD="bgcolor: transparent, align: right"]1500[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]F[/TD]
[TD="bgcolor: transparent, align: right"]9000[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]R[/TD]
[TD="bgcolor: transparent, align: right"]10000[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]003X[/TD]
[TD="bgcolor: transparent"]T[/TD]
[TD="bgcolor: transparent, align: right"]150000[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]A[/TD]
[TD="bgcolor: transparent, align: right"]150[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]B[/TD]
[TD="bgcolor: transparent, align: right"]1500[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]002X[/TD]
[TD="bgcolor: transparent"]C[/TD]
[TD="bgcolor: transparent, align: right"]150000[/TD]
[/TR]
</tbody>[/TABLE]
Would want to expand the second data set to include every reinsurer for every contract and their share (which I would multiply by the amount).
Thanks,