I am looking for some help in one formula to get the desired output...I have data table something like below...which includes Name, Date, Amt, Type and Place...
I have only Type1, Type2 and South, North...these will not change.
[TABLE="width: 359"]
<colgroup><col span="2"><col><col><col></colgroup><tbody>[TR]
[TD]Name[/TD]
[TD]Date[/TD]
[TD]Amt[/TD]
[TD]Type[/TD]
[TD]Place[/TD]
[/TR]
[TR]
[TD]AA[/TD]
[TD="align: right"]20-Feb-19[/TD]
[TD] $ 2,082[/TD]
[TD]Type1[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]BB[/TD]
[TD="align: right"]20-Feb-19[/TD]
[TD] $ 2,110[/TD]
[TD]Type1[/TD]
[TD]North[/TD]
[/TR]
[TR]
[TD]CC[/TD]
[TD="align: right"]20-Feb-19[/TD]
[TD] $ 1,723[/TD]
[TD]Type1[/TD]
[TD]North[/TD]
[/TR]
[TR]
[TD]DD[/TD]
[TD="align: right"]21-Feb-19[/TD]
[TD] $ 4,528[/TD]
[TD]Type1[/TD]
[TD]North[/TD]
[/TR]
[TR]
[TD]EE[/TD]
[TD="align: right"]21-Feb-19[/TD]
[TD] $ 4,554[/TD]
[TD]Type1[/TD]
[TD]North[/TD]
[/TR]
[TR]
[TD]FF[/TD]
[TD="align: right"]21-Feb-19[/TD]
[TD] $ 2,943[/TD]
[TD]Type1[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]GG[/TD]
[TD="align: right"]21-Feb-19[/TD]
[TD] $ 4,638[/TD]
[TD]Type1[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]HH[/TD]
[TD="align: right"]22-Feb-19[/TD]
[TD] $ 4,212[/TD]
[TD]Type1[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]II[/TD]
[TD="align: right"]22-Feb-19[/TD]
[TD] $ 2,308[/TD]
[TD]Type1[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]JJ[/TD]
[TD="align: right"]22-Feb-19[/TD]
[TD] $ 2,337[/TD]
[TD]Type1[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]KK[/TD]
[TD="align: right"]22-Feb-19[/TD]
[TD] $ 4,881[/TD]
[TD]Type1[/TD]
[TD]North[/TD]
[/TR]
[TR]
[TD]LL[/TD]
[TD="align: right"]23-Feb-19[/TD]
[TD] $ 3,663[/TD]
[TD]Type2[/TD]
[TD]North[/TD]
[/TR]
[TR]
[TD]MM[/TD]
[TD="align: right"]23-Feb-19[/TD]
[TD] $ 1,004[/TD]
[TD]Type2[/TD]
[TD]North[/TD]
[/TR]
[TR]
[TD]NN[/TD]
[TD="align: right"]23-Feb-19[/TD]
[TD] $ 4,559[/TD]
[TD]Type2[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]OO[/TD]
[TD="align: right"]24-Feb-19[/TD]
[TD] $ 3,779[/TD]
[TD]Type2[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]PP[/TD]
[TD="align: right"]24-Feb-19[/TD]
[TD] $ 1,513[/TD]
[TD]Type2[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]QQ[/TD]
[TD="align: right"]24-Feb-19[/TD]
[TD] $ 3,585[/TD]
[TD]Type2[/TD]
[TD]South[/TD]
[/TR]
</tbody>[/TABLE]
I need to segregate based on "Date" field...each date should give one set of table..for example given below for 20th Feb...it should segregate whatever available for both North and south data sets separately
[TABLE="width: 397"]
<colgroup><col span="2"><col><col><col><col></colgroup><tbody>[TR]
[TD="align: right"]20-Feb-19[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Place[/TD]
[TD]Date[/TD]
[TD]Name[/TD]
[TD]Type1 -Amt[/TD]
[TD]Typ2 - Amt[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]South[/TD]
[TD="align: right"]20-Feb-19 [/TD]
[TD]AA[/TD]
[TD] $ 2,082[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2082[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Place[/TD]
[TD]Date[/TD]
[TD]Name[/TD]
[TD]Type1 -Amt[/TD]
[TD]Typ2 - Amt[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]North[/TD]
[TD="align: right"]20-Feb-19 [/TD]
[TD]BB[/TD]
[TD] $ 2,110[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2110[/TD]
[/TR]
[TR]
[TD]North[/TD]
[TD="align: right"]20-Feb-19[/TD]
[TD] CC[/TD]
[TD] $ 1,723[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1723[/TD]
[/TR]
</tbody>[/TABLE]
I have only Type1, Type2 and South, North...these will not change.
[TABLE="width: 359"]
<colgroup><col span="2"><col><col><col></colgroup><tbody>[TR]
[TD]Name[/TD]
[TD]Date[/TD]
[TD]Amt[/TD]
[TD]Type[/TD]
[TD]Place[/TD]
[/TR]
[TR]
[TD]AA[/TD]
[TD="align: right"]20-Feb-19[/TD]
[TD] $ 2,082[/TD]
[TD]Type1[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]BB[/TD]
[TD="align: right"]20-Feb-19[/TD]
[TD] $ 2,110[/TD]
[TD]Type1[/TD]
[TD]North[/TD]
[/TR]
[TR]
[TD]CC[/TD]
[TD="align: right"]20-Feb-19[/TD]
[TD] $ 1,723[/TD]
[TD]Type1[/TD]
[TD]North[/TD]
[/TR]
[TR]
[TD]DD[/TD]
[TD="align: right"]21-Feb-19[/TD]
[TD] $ 4,528[/TD]
[TD]Type1[/TD]
[TD]North[/TD]
[/TR]
[TR]
[TD]EE[/TD]
[TD="align: right"]21-Feb-19[/TD]
[TD] $ 4,554[/TD]
[TD]Type1[/TD]
[TD]North[/TD]
[/TR]
[TR]
[TD]FF[/TD]
[TD="align: right"]21-Feb-19[/TD]
[TD] $ 2,943[/TD]
[TD]Type1[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]GG[/TD]
[TD="align: right"]21-Feb-19[/TD]
[TD] $ 4,638[/TD]
[TD]Type1[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]HH[/TD]
[TD="align: right"]22-Feb-19[/TD]
[TD] $ 4,212[/TD]
[TD]Type1[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]II[/TD]
[TD="align: right"]22-Feb-19[/TD]
[TD] $ 2,308[/TD]
[TD]Type1[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]JJ[/TD]
[TD="align: right"]22-Feb-19[/TD]
[TD] $ 2,337[/TD]
[TD]Type1[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]KK[/TD]
[TD="align: right"]22-Feb-19[/TD]
[TD] $ 4,881[/TD]
[TD]Type1[/TD]
[TD]North[/TD]
[/TR]
[TR]
[TD]LL[/TD]
[TD="align: right"]23-Feb-19[/TD]
[TD] $ 3,663[/TD]
[TD]Type2[/TD]
[TD]North[/TD]
[/TR]
[TR]
[TD]MM[/TD]
[TD="align: right"]23-Feb-19[/TD]
[TD] $ 1,004[/TD]
[TD]Type2[/TD]
[TD]North[/TD]
[/TR]
[TR]
[TD]NN[/TD]
[TD="align: right"]23-Feb-19[/TD]
[TD] $ 4,559[/TD]
[TD]Type2[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]OO[/TD]
[TD="align: right"]24-Feb-19[/TD]
[TD] $ 3,779[/TD]
[TD]Type2[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]PP[/TD]
[TD="align: right"]24-Feb-19[/TD]
[TD] $ 1,513[/TD]
[TD]Type2[/TD]
[TD]South[/TD]
[/TR]
[TR]
[TD]QQ[/TD]
[TD="align: right"]24-Feb-19[/TD]
[TD] $ 3,585[/TD]
[TD]Type2[/TD]
[TD]South[/TD]
[/TR]
</tbody>[/TABLE]
I need to segregate based on "Date" field...each date should give one set of table..for example given below for 20th Feb...it should segregate whatever available for both North and south data sets separately
[TABLE="width: 397"]
<colgroup><col span="2"><col><col><col><col></colgroup><tbody>[TR]
[TD="align: right"]20-Feb-19[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Place[/TD]
[TD]Date[/TD]
[TD]Name[/TD]
[TD]Type1 -Amt[/TD]
[TD]Typ2 - Amt[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]South[/TD]
[TD="align: right"]20-Feb-19 [/TD]
[TD]AA[/TD]
[TD] $ 2,082[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2082[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Place[/TD]
[TD]Date[/TD]
[TD]Name[/TD]
[TD]Type1 -Amt[/TD]
[TD]Typ2 - Amt[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]North[/TD]
[TD="align: right"]20-Feb-19 [/TD]
[TD]BB[/TD]
[TD] $ 2,110[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2110[/TD]
[/TR]
[TR]
[TD]North[/TD]
[TD="align: right"]20-Feb-19[/TD]
[TD] CC[/TD]
[TD] $ 1,723[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1723[/TD]
[/TR]
</tbody>[/TABLE]